.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: 25px 0 141px;
}

.cart-drawer .cart__empty-product-recommend {
  margin-top: 200px;
}

.cart__empty-text {
  color: rgb(var(--color-text));
  font-size: 28px;
  font-family: var(--body-font);
  text-transform: capitalize;
}
.cart__empty-info {
  font-size: 14px;
  margin-bottom: 46px;
}

.cart__warnings .button {
  font-size: 16px;
  --color-button-background: #fff;
  --color-button-text: #000;
  border: 1px solid var(--color-button-text);
}
.cart__warnings .button:hover {
  background: var(--color-button-text);
  color: var(--color-button-background);
}

@media (min-width: 959px) {
  .cart__warnings .button {
    width: 308px;
    --btn-border-radius-outset: 6px;
  }
}

@media (max-width: 960px) {
  .cart__empty-text {
    font-size: 20px;
  }
  .cart__empty-info {
    font-size: 12px;
    margin-bottom: 22px;
  }
  .cart__warnings .button {
    width: 100%;
    max-width: 260px;
    font-size: 12px;
    --btn-border-radius-outset: 4px;
    --btn-border-thickness: 2px;
  }

  .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: 37px 0 60px;
  }
  .cart-drawer .cart__empty-product-recommend {
    margin-top: 80px;
  }
}

/* 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 */
