/* 购物车 file */

/* 购物车 */
.shop {
  margin-top: 10px;
  height: 44px;
  line-height: 44px;
  min-width: 185px;
  color: var(--main-color);
  font-size: 14px;
  border: 1px solid #eee;
  border-radius: 30px;
  text-align: center;
  position: relative;
}

/* 
.shop::before {
    content: ""; 
    position: absolute;
    height: 1px;
    width: 426px;
    bottom: 6px;
    left: -425px;
    box-shadow: 0px 3px 3px 0 rgb(0 0 0 / 20%);
    z-index: 99999;
}
*/

.shop_line::before {
  content: "";
  position: absolute;
  background-color: #fff;
  height: 8px;
  width: 185px;
  bottom: 10px;
  left: 0px;
  z-index: 99999;
  box-shadow: none;
}

.cart-icon-a {
  position: relative;
}

/* 购物车图标 */
.cart-icon1 {
  font-size: 20px;
  /* vertical-align: middle; */
}

/* 购物车角标 */
.cart-icon-a .cart-icon2 {
  position: absolute;
  top: -11px;
  background: var(--warning-color);
  color: #fff;
  height: 18px;
  width: 20px;
  text-align: center;
  line-height: 18px;
  border-radius: 6px 6px 6px 0;
  font-size: 12px;
}

/* 购物车鼠标移入 */
.actives {
  background: #fff;
  border-bottom: none;
  border-radius: 8px 8px 0 0px;
  /* jd */
  box-shadow: 0 0 3px rgb(0 0 0 / 20%);
  /* szlc */
  box-shadow: 0 0 16px 0 rgb(1 66 104 / 20%);
}

/* 购物车展开 */
.collect-tip {
  position: absolute;
  top: 42px;
  right: -1px;
  z-index: 1112;
  margin: 0;
  padding: 10px 0;
  width: 338px;
  border: 1px solid #e5e5e5;
  border-top: none;
  background: #fff;
  text-align: center;
  /* line-height: 20px; */
  cursor: default;
  /* box-shadow: -2px 8px 8px 0 rgb(0 0 0 / 20%); */
  /* jd */
  /* box-shadow: 0px 3px 3px 0 rgb(0 0 0 / 20%); */
  box-shadow: 0 0 5px rgb(0 0 0 / 20%);
  box-sizing: border-box;
  border-radius: 8px 0 8px 8px;
}

/* 20220906浮动状态下购物车 */
.logo-wrap.fixed-content .shop .collect-tip {
  top: 47px;
}

.logo-wrap.fixed-content .shop_line::before {
  bottom: 7px;
}

/* 有数据时 */
.hasGoods {
  width: 610px;
  /* height: 330px !important; */
  padding: 8px 0 0;
  text-align: left;
  box-sizing: content-box;
}

#empay-cart {
  line-height: 354px;
  height: 354px;
  text-align: center;
}

/* 数据内容 */
.hasGoods .goods-content {
  width: 610px;
  /* margin-top: 16px; */
  min-height: 286px;
}

/* 数据标题 */
.hasGoods .goods-content .goods-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  height: 29px;
  background-color: #f5f5f5;
  line-height: 29px;
  margin-left: 5px;
  box-sizing: border-box;
  font-size: 12px;
}

/* 全选框 */
.hasGoods .goods-content .goods-header [type="checkbox"] {
  display: inline-block;
  margin: 0 13px;
}

.hasGoods .goods-content .goods-header span {
  display: inline-block;
  color: #666;
}

/* 产品编码 */
.hasGoods .goods-content .goods-header span.goods_code {
  width: 116px;
}

/* 型号 */
.hasGoods .goods-content .goods-header span.provider {
  width: 120px;
}

/* 单价 */
.hasGoods .goods-content .goods-header span.price {
  width: 106px;
}

/* 数量 */
.hasGoods .goods-content .goods-header span.count {
  width: 82px;
}

/* 小计 */
.hasGoods .goods-content .goods-header span.price_total {
  width: 77px;
}

/* 操作 */
.hasGoods .goods-content .goods-header span.complain {
  margin-right: 0;
}

/* 数据列表 */
.hasGoods .goods-content .goods-list {
  margin-left: 5px;
  display: none;
  box-sizing: border-box;
  overflow-x: hidden;
  height: 256px;
}

.goods-content .goods-list.active {
  display: block;
}

/* 每行数据 */
.hasGoods .goods-content .goods-list .goods-list-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  height: 40px;
  line-height: 40px;
  width: 100%;
  border-bottom: 1px solid #e4e4e6;
  position: relative;
  font-size: 12px;
}

/* 每行中的选框 */
.hasGoods .goods-content .goods-list .goods-list-item [type="checkbox"] {
  display: inline-block;
  margin: 0 13px;
}

/* 数据行内的span */
.hasGoods .goods-content .goods-list .goods-list-item span {
  display: inline-block;
  color: #666;
  overflow: hidden;
}

/* 产品编码 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_goods_code {
  width: 96px;
  max-width: 96px;
  margin-right: 20px;
  font-weight: 700;
}

/* 型号 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_provider {
  width: 100px;
  max-width: 100px;
  margin-right: 20px;
  position: relative;
  font-weight: normal;
  font-size: 12px;
}

/* 单价 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_price {
  width: 86px;
  max-width: 86px;
  margin-right: 20px;
  font-weight: 700;
}

/* 数量 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_count {
  width: 62px;
  max-width: 62px;
  margin-right: 20px;
  font-weight: 700;
}

/* 小计 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_price_total {
  width: 57px;
  max-width: 57px;
  margin-right: 20px;
  font-weight: 700;
  color: var(--warning-color);
}

/* 删除操作 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_delete {
  margin-right: 0;
  cursor: pointer;
}

/* 统计区域 */

.hasGoods .footer {
  width: 610px;
  height: 44px;
  background: #f5f5f5;
  line-height: 44px;
  padding: 0 18px 0 31px;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  border-radius: 0 0 8px 8px;
  font-size: 12px;
}

/* 批量删除 */
.hasGoods .footer > span.del-all {
  color: #666;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  line-height: 40px;
}

.hasGoods .footer .count {
  color: var(--warning-color);
  margin-right: 21px;
}

/* 结算按钮 */
.hasGoods .footer .settlement {
  display: inline-block;
  width: 77px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  background: var(--warning-color);
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
}

/* layui表格样式重置 */

/* 复选框 */
/* .layui-table-cell .layui-unselect.layui-form-checkbox{
    left: -8px;
}

.layui-form-checkbox[lay-skin=primary]:hover i {
    border-color: var(--main-color) !important;
    background-color:var(--main-color) !important;
    color: #fff;
} */
