 .cart-btn {
    
    }


     .stock-label{
      font-weight: bold;
      color: red;
      font-size: 10px;
     }

    .cart-overlay {
      position: fixed;
      top: 0; right: 0; bottom: 0; left: 0;
      background: rgba(0,0,0,0.6);
      display: none;
      z-index: 10000;
    }

    .cart-drawer {
      position: fixed;
      top: 0; right: -400px;
      width: 380px;
      height: 100%;
      background: #fff;
      box-shadow: -2px 0 8px rgba(0,0,0,0.2);
      transition: right 0.3s ease;
      z-index: 10000;
      display: flex;
      flex-direction: column;
    }

    /* @media(max-width:600px)
    {
        .cart-drawer {
          width: 100%;
        }
    } */

    .cart-drawer.active {
      right: 0;
    }

    .cart-header {
      padding: 15px;
      font-weight: bold;
      background: #fff;
      border-bottom: 1px solid #ddd;
      font-size: 16px;

      color: var(--cartList_header_text);

      display: flex;
      align-items: center;
      justify-content: space-between;

    }

    .cart-header .close-cart {
      cursor: pointer;
      color: var(--cartList_header_text);
    }

    .cart-items {
      flex: 1;
      overflow-y: auto;
      padding: 15px;
    }

    .cart-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 15px;
    }

    .cart-item img {
      width: 70px;
      height: 70px;
      object-fit: contain;
      margin-right: 10px;
    }


    .cart-item img.disabled {

      opacity: 0.5;

    }

    .cart-item-details {
      flex: 1;
      margin-right: 10px;
    }

    .cart-item-title {
      font-size: 12px;
      margin-bottom: 5px;
      color: var(--cartList_product_name);
      font-weight: 600;
    }

    .cart-item-title.disabled {
      opacity: 0.5;
    }

    .cart-item-price {
      font-size: 13px;
      font-weight: bold;
      color: var(--cartList_product_price);

      word-break: break-word;
    }

     .cart-item-price.disabled {
      opacity: 0.5;
    }

    .cart-item-price-old {
      font-size: 9px;
      text-decoration: line-through;
      font-weight: normal;
      color: var(--cartList_product_price_old);

       word-break: break-word;
    }

    .cart-item-actions {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }

    .qty-box {
      display: flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 4px;
      overflow: hidden;
     
    }

    .qty-box.disabled {
  opacity: 0.5;
  pointer-events: none; /* 禁止点击 */
}

    .qty-box button {
      width: 28px;
      height: 28px;
      border: none;
      background: #f5f5f5;
      cursor: pointer;
    }

    .qty-box span {
      display: inline-block;
      width: 30px;
      text-align: center;
      font-size: 14px;
    }

    .remove-item {
      cursor: pointer;
      font-size: 18px;
      color: #d00;
    }

    .cart-footer {
      padding: 15px;
      border-top: 1px solid #ddd;
    }

    .checkout-btn {
      width: 100%;
      padding: 5px;
      background: var(--carList_checkoutBtn);
      color: var(--carList_checkoutBtn_text);
      border: none;
      border-radius: 4px;
      font-size: 16px;
      cursor: pointer;
    }


    .emptyCartList
    {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      height: 100%;
    }

    .emptyCartList img
    {
      max-width: 80px;
      width: 100%;
    }