.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));
}

.cart__level-wrapper {
  justify-content: space-between;
  align-items: flex-start;
}

.cart__level-wrapper svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cart__level-wrapper .cart__level-label {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.6;
}

.cart__level-wrapper .cart__level-value {
  color: rgba(var(--color-discount));
  white-space: nowrap;
}

@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;
  }
}

/* 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 */

/* ── PK Cart Item Overrides ── */
.cart-drawer .cart-item {
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}

.cart-drawer .cart-item__media {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.cart-drawer .cart-item__media img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.cart-drawer .cart-item__name {
  font-family: 'Inter', sans-serif;
  color: #111;
}

.cart-drawer .cart-item__totals {
  text-align: right;
  font-weight: 500;
  font-size: 14px;
  color: #111;
}

.cart-drawer .final__price {
  font-size: 13px;
  color: #888;
}

/* ── PK Empty State Overrides ── */
.cart-drawer .cart__warnings {
  background: #F5F3EE;
  font-family: 'Inter', sans-serif;
}

.cart-drawer .cart__empty-text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #111;
}

.cart-drawer .cart__warnings .button {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cart-drawer .cart__warnings .button:hover {
  background: #333;
}

/* ── PK Empty Recommendations Overrides ── */
.cart-drawer .cart__empty-product-recommend {
  background: #F5F3EE;
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
}

.cart-drawer .cart__empty-product-recommend-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-bottom: 16px;
}

.cart-drawer .cart__empty-product-recommend .grid__item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.cart-drawer .cart__empty-product-recommend .card__media {
  height: 180px;
  overflow: hidden;
}

.cart-drawer .cart__empty-product-recommend .card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer .cart__empty-product-recommend .card__content {
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
}

.cart-drawer .cart__empty-product-recommend .product__title {
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

.cart-drawer .cart__empty-product-recommend .price {
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

/* ── PK Cart Empty Recommend Card Overrides ── */
.cart__empty-product-recommend .card__media {
  height: 160px;
  overflow: hidden;
  background: #f7f5f2;
  border-radius: 4px;
}

.cart__empty-product-recommend .card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart__empty-product-recommend .product__title {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  margin-top: 8px;
}

.cart__empty-product-recommend .price {
  font-size: 12px;
  color: #6b6258;
  font-family: 'Inter', sans-serif;
}

.cart__empty-product-recommend .card__information {
  padding: 8px 4px;
}

.cart__empty-product-recommend .card__badge,
.cart__empty-product-recommend .card__quick-add {
  display: none;
}

.cart__empty-product-recommend-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
}
