.cart-empty .cart__warnings {
  display: block;
}

.cart__footer-container.cart-empty,
.cart-empty .cart__contents,
.cart-empty .main-cart-items-container {
  display: none;
}

.cart-drawer__inner-wrapper.cart-empty cart-drawer-items,
.cart-drawer .cart-empty .cart-drawer__checkout-container {
  display: none;
}

.cart__warnings {
  display: none;
  width: 100%;
  text-align: center;
}

.cart__warnings .cart__empty-text-wrapper {
  margin: 80px 0;
}

.cart__empty-product-recommend {
  margin-top: 80px;
}

.cart-drawer .cart__warnings .cart__empty-text-wrapper {
  margin: 200px 0;
}

.cart-drawer .cart__empty-product-recommend {
  margin-top: 200px;
}

.cart__empty-text {
  margin-bottom: 20px;
  color: rgb(var(--color-text));
}

.progress-bar-wrap{
  padding: 32px 28px 26px 28px;
}

.progress-bar-container {
  width: 100%;
  border-radius: 10px;
  /* overflow: hidden; */
  background-color: #ddd;
  margin-top: 30px;
}

.progress-bar-fill {
  height: 20px;
  background-image: linear-gradient(to right, #C9A7FF, #9E67F6);
  transition: width 0.5s ease-in-out;
  border-radius: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.progress-bar-fill span {
  color: #fff;
  font-weight: 500;
  margin-right: 8px;
}
.progress-bar-fill .cart_progress_style1 {
  background-color: #fff;
  border: 4px solid #8163FA;
  width: 4px;
  height: 4px;
  box-sizing: content-box;
  border-radius: 50%;
  position: relative;
}
.progress-bar-fill .cart_progress_style1 .cart_progress_style1_tips {
  color: #fff;
  background-color: #8163FA;
  padding: 0 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-100% + -10px));
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.cart_progress_style1_tips_index {
  color: #fff;
  background-color: #8163FA;
  padding: 0 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-100% + -10px));
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  display: none;
}

.cart_progress_style1_tips_icon {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 8px solid #8163FA;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
}
.cart_progress_style1_tips_icon_index {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 8px solid #8163FA;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

.cart_discount_title{
  color: #534688;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

#cart_discount_text_style,
#cart_postage_text_style{
  color: #534688;
  font-size: 10px;
  padding: 4px;
  border-radius: 4px;
  position: absolute;
  bottom: 0px;
  width: max-content;
}
.cart_discount_text_style2,
.cart_postage_text_style2{
  color: #534688;
  font-size: 10px;
  padding: 4px;
  border-radius: 4px;
  max-width: 65px;
  position: absolute;
  bottom: 0px;
}
#cart_style4_icon_discount,
#cart_style4_icon_postage{
  position: absolute;
  top: 4px;
  border-radius: 50%;
  border: 1px solid #534688;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F2EFFF;
}
.cart-progress-style2{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cart-progress-style2 .cart-progress-style2-item{
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-progress-style2-item-left-start,.cart-progress-style2-item-right-start{
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.cart-progress-style2-item-right-start{
  position: relative;
}
.cart-progress-style2-item-right-start svg {
  position: absolute;
  right: 0px;
}
.cart-progress-style2-item-left,.cart-progress-style2-item-right{
  width: 50%;
  height: 100%;
}
.cart-progress-style2-item-left{
  background-color: #8E00FA;
}
.cart-progress-style2-item-right{
  background-color: #F8F3FA;
}
.cart-progress-style2-item-background{
  background-color: transparent !important;
  width: 16px !important;
  height: 16px !important;
}

@media (max-width: 959px) {
  .cart__warnings .cart__empty-text-wrapper {
    margin: 130px 0;
  }
  .cart__empty-product-recommend {
    margin-top: 130px;
  }
  .cart-drawer .cart__warnings .cart__empty-text-wrapper {
    margin: 80px 0;
  }
  .cart-drawer .cart__empty-product-recommend {
    margin-top: 80px;
  }
  .cart-progress-wrapper {
    margin-bottom: 16px;
  }
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */
