@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: 20px;
  color: #333;
  font-weight: bold;
  cursor: pointer;
}
.goodsHotBox {
  // position: relative;
  min-height: 330px;
  width: 100%;
}
.goodsHotList {
  list-style-type: none;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.goodsHotItem {
  flex: 0 0 230px;
  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;
}
.imgBox {
  height: 230px;
}
.img {
  width: 100%;
  height: 230px;
}
.goodsHotInfobox {
  height: 110px;
  background: #f9f9f9;
  width: 100%;
  padding: 5px 10px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
}
.goodsHotTitlebox{
  height: 40px;
}
.goodsTitle {
  font-size: 14px;
  color: #151515;
  line-height: 20px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.goodsHotPrice {
  font-size: 20px;
  color: #d81719;
  margin: 0;
}
.codeBox {
  clear: both;
  color: #666;
  font-size: 12px;
  .code {
    display: inline-block;
    // width: 153px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cell {
    display: inline-block;
    // width: 55px;
    padding-left: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.goodsNumBox {
  float: left;
}

// 促销
.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;
}

.goodsHot:hover {
  .goodsHotHoverBox {
    bottom: 100px;
  }
}
// 鼠标移入
.goodsHotHoverBox {
  position: absolute;
  bottom: 55px;
  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: 6px;
}
.collectIcon {
  color: #333;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
}
.iptBox {
  float: left;
  width: 80px;
  margin-left: 39px;
  margin-top: 5px;
  // 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;
}

.goodsColorMask {
  background-color: #f85300;
	color: #fff;
	margin-left: 2px
}