.cart-container {
    width: 1200px;
    height: 600px;
    margin: 50px auto;
}

.cart-container .title {
    text-align: center;
    font-size: 30px;
    font-weight: 500;
}

.cart-box .cart-title {
    margin: 30px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 50px;
}

.cart-box .cart-title .title {
    width: 200px;
    font-weight: normal;
    font-size: 16px;
}


.cart-box .cart-title .image {
    width: 80px;
    text-align: center;
}

.cart-box .cart-title .num {
    width: 150px;
    text-align: center;
}

.cart-box .cart-title .price,
.cart-box .cart-title .total {
    width: 100px;
    text-align: center;
}

.cart-ul .cart-li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #b8b8b8;
    padding: 10px 0;
    color: #5a5a5a;
    position: relative;
    padding-left: 50px;
}

.cart-ul .cart-li .remove{
    position: absolute;
    top: 50%;
    left: 0px;
    width: 20px;
    transform: translateY(-50%);
}

.cart-ul .cart-li .image {
    width: 80px;
    height: 80px;
}

.cart-ul .cart-li .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-ul .cart-li .title {
    font-size: 14px;
    font-weight: normal;
    width: 200px;
    line-height: 1.5;
}

.cart-ul .cart-li .quantity {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-ul .cart-li .price,
.cart-ul .cart-li .total {
    width: 100px;
    text-align: center;
}

.numBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #999;
    border-radius: 5px;
}

.add,
.num,
.sub {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.add img,
.sub img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.tip {
    text-align: center;
    margin: 50px 0 20px;
}

.btn {
    width: 200px;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    margin: auto;
    text-align: center;
}

.subtotal-box{
    margin: 20px 0;
    float: right;
    width: 500px;
    padding:20px;
    border: 1px solid #d4d4d4;
}

.subtotal-box .sub-li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.subtotal-box .sub-btn{
    width: 100%;
    background-color: #5c98f1;
    padding: 12px;
    color: #fff;
    margin: 30px 0 0;
    text-align: center;
    cursor: pointer;
}