/**
* 2023.07.20
* by buln
* 列表分类
* UI优化（2023.08.21）
*/
body{
  background: #f0f0f0;
}
.goods-list{
  position: relative;
  padding-bottom: 5rem;
  margin: 1rem 0.83rem 0;
  background: transparent;
  z-index: 1;
}
.goods-list li{
  padding: 0.5rem 0.33rem;
  margin-bottom: 1rem;
  background-color: #fff;
  border-radius: 5px;
}
.goods-list li:last-child{
  margin-bottom: 0;
}
.goods-item-selected {
  background-color: linen;
}
.goods-list .checkbox-con{
  margin-right: 0.8rem;
}
.goods-list .checkbox-con,
.footer-fixed .input-checkbox{
  appearance: none; 
  -webkit-appearance: none;
  outline: none;
  width: 1.5rem;
}
.goods-list .checkbox-con{
  display: block;
  min-height: 7.5rem;
}
.goods-list .checkbox-con:before,
.footer-fixed .input-checkbox:before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  transform: translate(0,-50%);
  visibility: visible;
  background: url('../images/goods/icon-shoppingcart-check.png') no-repeat;
  background-size: cover;
  z-index: 99;
}
.goods-list .goods-item-selected .checkbox-con:before,
.footer-fixed .input-checkbox:checked:before{
  background: url('../images/goods/icon-shoppingcart-checked.png') no-repeat;
  background-size: cover;
}
.goods-list .goods-left{
  width: 7.5rem;
}
.goods-left img{
  max-height: 7.5rem;
  max-width: auto;
}
.goods-right {
  min-height: 7.5rem;
  border: 0;
}

.goods-right h4 {
  width: 80%;
}

.goods-right p span{
  color: #FF3131;
  font-size: 1.4rem;
  font-weight: 600;
}

.goods-quantity {
  position: absolute;
  /* left: 11.5rem; */
  right: 1rem;
  bottom: 1rem;
  display: flex;
  overflow: hidden;
}

.goods-quantity .cart-input {
  color: #333;
  font-size: 1.33rem;
  width: 4rem;  
  height: 1.5rem;
  text-align: center;  
  border-width: 1px 0;
  box-sizing: border-box;
}

.goods-quantity .btn{
  display: inline-block;  
  width: 1.5rem;
  height: 1.5rem; 
  padding: 0;  
  line-height: 1rem;
  border-radius: 4px;
}

.goods-quantity .btn i{
  display: inline-block;
  font-size: 1rem;
  vertical-align: 3px;
}

.goods-quantity .btn-decrease {
  color: #333;
  background: #F2F2F2;
}

.goods-quantity .btn-increase{ 
  color: #fff;
  background: #BD0F0F;  
}

.goods-quantity .btn[disabled] {
  color: #ccc;
  cursor: not-allowed;
}


.goods-cart{
  width: 2rem;
  height: 2rem;
  background: url(../images/goods/shoph.png) no-repeat;
  background-size: contain;
  border: 0;
}

.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -1px 8px rgba(0, 1, 1, .08);
  z-index: 99;
}

.footer-fixed .footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  padding: 0 1rem;
}

.footer-fixed .input-checkbox {
  margin-right: 0.5em;
  vertical-align: bottom;
}

.footer-fixed .footer-left,
.footer-fixed .footer-right {
  display: flex;
  align-items: center;
}

.footer-fixed .goods-quantity {
  position: static;
  margin-left: 1rem;
}

.footer-fixed .btn-default {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  height: 3.83rem;
  line-height: 3.8rem;
  padding: 0 0.5rem;
  margin-left: 0.5rem;
  line-height: 1;
  text-align: center;
  border-radius: 5px;
}
.footer-fixed .btn-add-cart{
  background: #E96B17;
}
.footer-fixed .btn-add-buy{
  background: #BD0F0F;
}
.footer-fixed .icon-cart-global{
  margin-right: 1rem;
}