@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;
  height: 380px;
  width: 100%;
}
.goodsHotList {
  position: absolute;
  top: 0;
  left: 0;
  list-style-type: none;
  width: 100%;
  display: flex;
  justify-content:  flex-start;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.goodsHotItem {
  flex: 0 0 290px;
  height: 380px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.goodsHot {
  width: 290px;
  height: 380px;
  padding: 0;
  margin: 0;
  border: 1px solid #f0f0f0;
  // cursor: pointer;
  position: relative;
}
.imgBox {
  height: 290px;
  cursor: pointer;
}
.img {
  width: 100%;
  height: 290px;
}
.goodsHotInfobox {
  height: 100px;
  background: #f9f9f9;
  width: 100%;
  padding: 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
}
.goodsHotTitlebox {
  clear: both;
  margin-bottom: 5px;
}
.goodsTitle {
  font-size: 14px;
  color: #333;
}
.goodsColorMask {
  background-color: #f85300;
  color: #fff;
  margin-left: 2px;
}
.goodsHotPrice {
  font-size: 16px;
  color: #d81719;
}
.goodsHotCodeBox {
  clear: both;
}
.goodsHotCode {
  float: left;
  font-size: 12px;
  color: #666;
}
// .goodsCode {
// }
// .codeInfo {
// }
.goodsNumBox {
  float: left;
  font-size: 12px;
  color: #666;
}
// .goodsNum {
// }
.oldPrice {
  float: right;
  font-size: 12px;
  padding-right: 9px;
  color: #999;
  text-decoration: line-through;
}
.goodsHot:hover {
  .goodsHotHoverBox {
    bottom: 90px;
  }
}
// 鼠标移入
.goodsHotHoverBox {
  position: absolute;
  bottom: 50px;
  left: 0;
  height: 40px;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  padding: 0 10px;
  clear: both;
  transition: all 0.2s;
}
.codeBox {
  font-size:12px;
}
.cell{
  float: right; 
  padding-right: 9px;
}
.goodsCollect {
  height: 40px;
  line-height: 45px;
  float: left;
  cursor: pointer;
  margin-top: -10px;
}
.collectIcon {
  color: #333;
  font-size: 16px;
}
.collectTxt {
  color: #333;
  font-size: 14px;
  padding-left: 10px;
}
.iptBox {
  float: left;
  width: 80px;
  height: 40px;
  margin-top: -10px;
  margin-left: 62px;
  /* & 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;
  margin-top: -10px;
  cursor: pointer;
}
.cartIcon {
  color: #333;
  padding-right: 10px;
  font-size: 16px;
}
.cartTxt {
  color: #333;
  font-size: 14px;
}
.noGoodsHot{
  width: 100%;
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-size: 16px;
  color: #666;
  border: 1px solid #eee;
}
