.cart-title {
  padding: 0 0 35px;
  color: var(--theme-font-color);
  font-size: 24px;
  text-align: center;
  font-weight: 400;
}

.cart-main {
  display: flex;
  justify-content: space-between;
}
.cart-main-header{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 10px 0;
  text-transform: uppercase;
  border-bottom: 1px solid #e6e6e6;
}
.cart-main-header>.cart-main-prod{
  flex: 1;
}
.cart-main-header>.cart-main-price{
  width: 120px;
  text-align: center;
}
.cart-main-header>.cart-main-qyt {
  width: 140px;
  text-align: center;
}
.cart-main-header>.cart-main-total {
  width: 100px;
  text-align: center;
}
/* select all  item */
[data-cart-checkbox]{
  --theme-checkbox-right:10px;
}
.cart-select-all {
  font-size: 0;
}
.cart-select-bs{
  position: absolute;
  left: 0;
  top: 26px;
}
.cart-select-item{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.select-all-bottom{
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.cart-delete-seleted{
  margin-left: 10px;
  color: #999;
  cursor: pointer;
}
.select-all-label{
  cursor: pointer;
}
/* remove pop */
.remove-selected-wrapper{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background-color: rgba(0,0,0,.3);
}
.remove-selected-box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 60px 50px 40px;
  max-width: 90%;
  width: 450px;;
  background-color: #fff;
  color: #333;
  border-radius: 4px;
  text-align: center;
}
.remove-selected-close{
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 14px;
  cursor: pointer;
}
.remove-selected-btn{
  display: flex;
  align-items: flex-end;
  justify-content:center;
  margin-top: 50px;
  --btn-padding: 0 20px;
}
.remove-selected-btn .button{
  margin: 0 10px;
}
@media screen and (max-width: 900px){
  .remove-selected-box{
    padding: 30px 20px 20px;
  }
  .remove-selected-btn{
    margin-top: 30px;
  }
  .remove-selected-close{
    top: 12px;
    right: 12px;
  }
  
}
@media screen and (max-width: 767px){
  .cart-select-all {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
  }
}
/* select end */
.cart-main .main-left {
  width: 100%;
  max-width: 1100px;
}

.cart-product {
  position: relative;
  display: flex;
  padding: 20px 20px 20px 26px;
  border-bottom: 1px solid #e6e6e6;
}

.cart-product .product-image {
  position: relative;
  height:calc(130px * var(--product-img-pd-math, 1));
  width:130px;
  font-size: 0;
  background: var(--img-background);
  background-size: var(--img-background-size);
}

.cart-product .product-image img {
  position: absolute;
  height: 100%;
  object-fit: contain;
}
.product-details{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding:10px 0 10px 20px;
}
.product-title {
  width: 90%;
  color: var(--theme-font-color);
}

.product-title:hover {
  text-decoration: underline;
}

.product-attr {
  color: #9C9C9C;
}

.details-bottom {
  display: flex;
  flex-direction: column;
}

.cart-product .original-price {
  min-width: 120px;
  padding-top: 10px;
  text-align: center;
  color: var(--theme-font-color);
}

.price {
  width: 100px;
  padding-top: 10px;
  text-align: center;
  font-weight: 700;
  color: var(--invalid-red);
}

.product-control {
  width: 140px;
  height: auto;
}

.delete {
  position: absolute;
  bottom: 10px;
  right: 24px;
  padding-top: 8px;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.delete .iconfont{
  margin-right:4px;
  color: #999;
}
[data-cart-item] .delete{
  right: 43px;
}

.cart-main .main-right {
  position: sticky;
  top:var(--cart-summary-top, 165px);
  height: fit-content;
  margin-left: 30px;
  width: 100%;
  max-width: 320px;
}

.cart-summary {
  padding: 20px 0;
  margin-top: 35px;
  border-top: 1px solid #e6e6e6;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  line-height: 1;
}
.summary-row .column-label{
  white-space: nowrap;
}
.summary-row-total{
  padding-top: 10px;
  border-top:1px solid #e6e6e6;
}
.column-price.price {
  padding-top: 0;
  text-align: right;
  font-size: 18px;
  font-weight: 700;
}

.summary-checkout {
  display: block;
  padding: 0;
  height: 44px;
  font-size: 14px;
  font-weight: bold;
  line-height: 44px;
  text-align: center;
  border-radius: var(--theme-border-radius);
}
/* 组合销售 */
.bind-sale-section{
  position: relative;
  padding: 0 25px;
  border-bottom: 1px solid #e6e6e6;
}
.bind-sale-list{
  position: relative;
}
.bind-sale-list .cart-product{
  padding: 20px 0;
  margin-bottom: 0;
  border: unset;
}


.bind-sale-section .section-header {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 8px 0;
  font-size: 14px;
}

.section-header>div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}


.discount-rate {
  display: inline-block;
  padding: 6px 0;
  color: var(--theme-color-orange);
}

.discount-point {
  display: inline-block;
  margin-left: 20px;
  color: var(--invalid-red);
}

.total-price {
  display: inline-block;
  width: 100px;
  text-align: center;
  font-size: 16px;
}

.header-right .delete {
  margin-left: 20px;
}

.product-quantity {
  width: 140px;
  padding-top: 10px;
  color: var(--theme-font-color);
  font-size: 14px;
  text-align: center;
}
.rich-text ol li{
  min-height: 23px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 25px auto;
  width: 500px;
}
.cart-empty .img-box{
  background: initial;
}
.cart-empty img {
  margin-bottom: 24px;
}

.cart-empty p {
  margin-bottom: 24px;
  font-size: 20px;
}

.cart-empty .continue-shopping {
  width: 100%;
  font-size: 18px;
  text-align: center;
}

.cart-empty .img-box {
  padding-bottom: 70%;
  max-width: 500px;
}

.cart-empty .img-box img {
  object-fit: contain;
}

.product-control .input-field,.section-header .input-field  {
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 40px;
  width: 110px;
  margin: auto;
  font-size: 16px;
  color: var(--theme-font-color);
  border: var(--cart-input-field-border, 1px solid #9c9c9c);
  border-radius: var(--theme-border-radius);
}
.section-header .input-field{
  margin-right: 12px;
}
.product-control .input-field input, .section-header .input-field input {
  padding: 0 12px;
  width: 100%;
  height: 100%;
  font-size: 16px;
  text-align: center;
  border: none;
  background-color: transparent;
}

.product-control .input-field .quantity-button, .section-header .input-field .quantity-button {
  color: var(--theme-font-color);
  font-size: 12px;
}
.product-control  .quantity-button.disabled,
.section-header  .quantity-button.disabled{
  opacity: .5;
  cursor: not-allowed;
}
#paypal-button-container{
  margin-top: 10px;
  overflow: hidden;
  font-size: 0;
  border-radius: var(--theme--border-paypal,var(--theme-border-radius));
}
/* sold out out of stock */
.cart-product-out {
  --theme-font-color:#999;
  --invalid-red:#999;
}
.cart-item-soldout{
  width: fit-content;
  padding: 2px 10px;
  border-radius: 2px;
  color: #181818;
  background-color: #E6E6E6;
}

@media screen and (max-width: 1200px){
  .product-title{
    -webkit-line-clamp:2;
    word-break:normal;
    font-size: 13px;
  }
  .cart-product .product-image{
    height: calc(80px * var(--product-img-pd-math, 1));
    width: 80px;
  }
  .product-details{
    padding: 0 0 0 15px ;
  }
 .cart-product .original-price {
    padding: 0;
    min-width: 50px;
    font-size: 14px;
    text-align: right;
  }
  .cart-main-header>*:nth-child(2){
    width: 80px;
  }
  .price {
    padding: 0 0 10px 0;
    font-size: 14px;
  }
  .column-price.price {
    font-size: 14px;
  }
   .summary-row {
    margin-bottom: 16px;
    font-size: 14px;
  }
  
}
@media screen and (max-width: 950px) and (min-width: 768px){
  .cart-main{
    flex-direction: column;
    align-items: flex-end;
  }
  
}
@media screen and (max-width: 767px) {
  .cart-main-header{
    padding: 0 0 10px;
  }
  .product-attr{
    width: 80%;
    font-size: 13px;
  }
  .section-header>div{
    align-items: flex-start;
    justify-content: space-between;
  }
  .cart-title {
    padding-bottom: 16px;
  }
  .cart-main {
    flex-direction: column;
  }
  .cart-main .main-right {
    position: static;
    margin-left: 0;
    max-width: unset;
  }
  .cart-summary {
    margin-top:0;
    border-top:0;
    padding: 20px 0;
  }
  .cart-activities{
    margin-bottom: 20px;
  }
 

  .summary-checkout {
    height: 40px;
    line-height: 40px;
  }
 
  .cart-product {
    padding: 20px 0 20px 26px;
  }
  .cart-list .product-image {
    flex-shrink: 0;
  }
  .cart-two-price{
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
  }
  
  .product-control {
    width: fit-content;
  }
  .cart-empty {
    width: 80%;
  }
  .bind-sale-section{
    padding: 0 0 0 25px;
  }
 
  .section-header .header-right{
      flex: 1;
  }
  .product-control .input-field,.section-header .input-field {
    width: 100px;
    height: 30px;
    justify-content: space-between;
  }
  .section-header .input-field {
    margin: 0;
  }
  .product-control .input-field input,.section-header .input-field input {
    padding: 0 6px;
    font-size: 14px;
  }
  .product-control  .quantity-button,
  .section-header  .quantity-button{
    font-size: 12px;
  }
  
  .section-header .total-price{
    width: fit-content;
   text-align: right;
  }
  .bind-sale-list .product-attr{
    width: 85%;
  }
  .original-price,
  .price {
    width: 100%;
    text-align: right;
  }
  .bind-sale-list .product-quantity{
    flex: unset;
    width: fit-content;
    padding: 0;
  }
  .bind-sale-list .product-title{
    width: 95%;
  }
 
  .section-header .header-left{
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }
  .section-header .discount-point,.section-header .total-price{
    margin-left:0;
  }
  .discount-rate{
    padding: 2px;
  }
    .delete{
      right: 0;
    }
  [data-cart-item] .delete{
    right: 0;
  }
}

/* 商品定制信息Start */
.cartitem-customer-photo .custom-box {
	display: flex;
	flex-wrap: wrap;
	margin-top: 4px;
}
.cartitem-customer-photo img {
	margin:var(--cart-custom-photo-margin, 0 8px 8px 0) ;
	width: var(--cart-custom-photo-width, 64px);
	height:var(--cart-custom-photo-height, 64px);
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .cartitem-customer-photo{
    --cart-custom-photo-margin: 0 5px 5px 0;
    --cart-custom-photo-width: 30px;
    --cart-custom-photo-height: 30px;
  }
}
/* 商品定制信息End */