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

.goodsPurchaseBox {
  width: 1200px;
  margin: 0 auto;
}
.classHead {
  width: 100%;
  height: 36px;
  background: #f5f5f5;
  padding: 8px 0 10px 20px;
}
.nameIndex {
  color: #666;
  font-size: 12px;
}
.nameChild {
  font-size: 12px;
  color: #151515;
  padding-left: 14px;
  & .nameIcon {
    padding-right: 5px;
  }
}
// 全部分类
.allGoodsClass {
  clear: both;
  width: 100%;
  padding: 0 0 0 20px;
  border-bottom: 1px solid #f5f5f5;
  min-height: 45px;
  position: relative;
}
.allGoodsName {
  float: left;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  width: 120px;
  line-height: 30px;
  position: relative;
  min-height: 40px;
  & .goodsLevelBox {
    position: absolute;
    top: 35px;
    left: -20px;
    width: 1020px;
    min-height: 460px;
    z-index: 9999;
    display: none;
  }
  & .goodsLevelBox {
    position: absolute;
    top: 0;
    left: 100px;
    width: 1020px;
    min-height: 460px;
    z-index: 9999;
    display: none;
  }
  &:hover .goodsLevelBox {
    display: block;
  }
  .goodsLevelBox {
    display: block;
  }
}
.allGoodsCon {
  margin: 0 50px 0 120px;
}

.allGoodsConOverflow {
  margin: 0 50px 0 120px;
  height: 30px;
  overflow: hidden;
}

.moreBtn {
  float: right;
  width: 50px;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  line-height: 30px;
}
.goodsBtn {
  display: inline-block;
  width: 100px;
  height: 30px;
  line-height: 30px;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  &:hover {
    color: #e14c46;
  }
}
// 筛选商品
.goodsFilter {
  width: 100%;
  padding: 10px 0 0 20px;
  height: 50px;
}
.priceSort {
  display: inline-block;
  color: #333;
  font-size: 12px;
  cursor: pointer;
}
.priceIcon {
  font-size: 14px;
  color: #e14c46;
  padding-left: 8px;
}
.checkboxSort {
  display: inline-block;
  margin-left: 0px;
  & .checkbox {
    font-size: 12px;
    color: #333;
  }
  :global {
    & .ant-checkbox {
      width: 14px;
      height: 14px;
    }
    & .ant-checkbox + span{
      padding-right: 20px;
    }
    & .ant-checkbox-inner {
      width: 14px;
      height: 14px;
    }
    & .ant-checkbox-inner:after {
      left: 4px;
    }
  }
}
.selectFilter {
  display: inline-block;
  margin-left: 0px;
  :global {
    & .ant-select-arrow:before {
      color: #333;
    }
  }
}
.searchBox {
  display: inline-block;
  margin-left: 10px;
  button[type="button"]{
    font-size: 12px;
    color: #333333;
    background: #f2f2f2;
    border-radius: 2px;
    border-color: #d9d9d9;
  }
}
.tabBox {
  float: right;
  color: #999;
  font-size: 20px;
  padding-right: 15px;
  & .tableIcon {
    padding-right: 10px;
    font-size: 18px;
    cursor: pointer;
  }
  & .barsIcon {
    cursor: pointer;
  }
}
.active {
  color: #e14c46;
}
.pageBox {
  margin-top: 15px;
  text-align: right;
  padding-bottom: 140px;
}
