/* 手机端购物车样式 */

.m-cart-page {
    padding: 10px;
}

.m-cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
}

.m-cart-empty p {
    color: #999;
    margin-bottom: 15px;
}

.m-cart-list {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
}

.m-cart-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
    gap: 12px;
}

.m-cart-item:last-child {
    border-bottom: none;
}

.m-cart-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 25px;
}

.m-cart-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    background: #FFFBF5;
}

.m-cart-info {
    flex: 1;
    min-width: 0;
}

.m-cart-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-cart-price {
    font-size: 15px;
    color: #C9A86C;
    font-weight: 600;
    margin-bottom: 8px;
}

.m-cart-qty {
    display: flex;
    align-items: center;
}

.m-cart-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 16px;
}

.m-cart-qty input {
    width: 40px;
    height: 28px;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 13px;
}

.m-cart-delete {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* 结算�?*/
.m-cart-footer {
    position: fixed;
    bottom: 55px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
}

.m-cart-select-all {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.m-cart-total {
    flex: 1;
    text-align: right;
    margin-right: 15px;
}

.m-cart-total-price {
    color: #C9A86C;
    font-size: 18px;
    font-weight: 600;
}

.m-cart-checkout {
    padding: 10px 25px;
    background: #C9A86C;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
}

.m-cart-checkout:disabled {
    background: #ccc;
}
