/* 购物车样式 */
.cart-content {
    margin-top: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 购物车头部 */
.cart-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #f5f5f5;
}

.col {
    text-align: center;
    color: #666;
}

.product-info {
    flex: 2;
    text-align: left;
}

.price, .quantity, .subtotal, .action {
    flex: 1;
}

/* 复选框样式 */
.checkbox {
    display: flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.checkbox input {
    margin-right: 5px;
}

/* 购物车商品 */
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item .product-info {
    display: flex;
    align-items: center;
}

.cart-item .product-info img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    object-fit: cover;
}

.cart-item .info h3 {
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.cart-item .spec {
    color: #999;
}

.cart-item .price {
    color: #f40;
    font-weight: bold;
}

.cart-item .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item .quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.cart-item .quantity input {
    width: 50px;
    height: 30px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-align: center;
}

.cart-item .subtotal {
    color: #f40;
    font-weight: bold;
}

.btn-delete {
    color: #999;
    text-decoration: none;
}

.btn-delete:hover {
    color: #f40;
}

/* 空购物车 */
.empty-cart {
    padding: 50px 0;
    text-align: center;
}

.empty-cart img {
    width: 200px;
    margin-bottom: 20px;
}

.empty-cart p {
    margin-bottom: 20px;
    color: #999;
}

.btn-shopping {
    display: inline-block;
    padding: 10px 30px;
    background: #1890ff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

/* 购物车底部 */
.cart-footer {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f5f5f5;
}

.btn-delete-selected {
    margin-left: 20px;
    color: #999;
    text-decoration: none;
}

.total {
    margin-left: auto;
    text-align: right;
}

.total p {
    margin-bottom: 10px;
}

.total-price {
    color: #f40;
    font-size: 20px;
    font-weight: bold;
}

.btn-checkout {
    margin-left: 20px;
    padding: 10px 30px;
    background: #f40;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
} 