.subtotal_con{
    padding: 3.6rem 0 2rem;
}
.subtotal_con .con{
    padding: 1.6rem 3rem;
    border-radius: 6px;
    background-color: white;
    border: 2px solid #E7E7E7;
}
.subtotal_con .con .count_subtotal{
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: #150f35;
    font-weight: 500;
}
.subtotal_con .con .count_subtotal span{
    font-size: 2.2rem;
    margin-left: 0.5rem;
}
.subtotal_con .con .btns{
    display: flex;
}
.subtotal_con .con .btn{
    padding: 0.9rem 2rem;
    line-height: 1.4;
    font-weight: 400;
    line-height: unset;
}
.subtotal_con .con button.btn{
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    margin-right: 1rem;
    min-width: unset;
}
.subtotal_con .con button.btn:hover{
    background-color: var(--primary);
    color: white;
}
.cart_main{
    padding-bottom: 10rem;
}
.cart_main .left{
    width: 67.9%;
}
.cart_main .left ul{
    width: 100%;
    
}

.cart_main ul .table_head div{
    font-size: 1.6rem;
    font-weight: 500;
    color: #150f35;
    text-align: left;
    border-bottom: 1px solid rgba(21, 15, 53, 0.15);
    padding-bottom: 1rem;
}
.cart_main ul li{
    display: flex;
}
.cart_main ul li>div{
    flex: auto;
}

.cart_main .left ul li:not(.table_head){
    padding: 2.7rem 2.5rem 2.5rem 3rem;
    background-color: #f7f6f9;
}
.cart_main .left ul li{
    margin-top: 1.3rem;
}
.cart_main .left ul li .img{
    width: 8.8rem;
    height: 8.8rem;
    min-width: 8.8rem;
    border-radius: 10px;
    margin-right: 1.7rem;
    overflow: visible;
}
.cart_main .left ul li .img img{
    width: 100% !important;
    height: 100% !important;
    max-width: unset !important;
}
    
.cart_main .left ul li:hover .img img{
    transform: scale(1.1);
}
.cart_main .left ul li a.flex{
    align-items: center;
}
.cart_main .left ul li a.flex .infos strong{
    font-size: 2rem;
    font-weight: 500;
    color: #150f35;
    display: block;
    margin-bottom: 1.2rem;
}
.cart_main .left ul li a.flex .infos span{
    font-size: 1.4rem;
    color: #2d2d2d;
    opacity: 0.64;
}
.cart_main .left ul li a.flex .infos span.amount, .cart_main .left ul li a.flex .infos span.amount span{
    font-size: 1.9rem;
    font-weight: 700;
    color: #000;
    opacity: 1;
}
.cart_main .left ul li a.flex .infos p{
    margin-top: 0.5rem;
    font-weight: 500;
    font-size: 1.8rem;
}
.cart_main .left ul li p{
    font-size: 1.6rem;
    font-weight: 600;
    color: #000;
}
.cart_main .left ul li input{
    width: 5rem;
    aspect-ratio: 5/3;
    background-color: white;
    border: 2px solid #a3a3a381;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.5rem;
    text-align: center;
    transform: translateY(-4px);
}
.cart_main .left ul li .delete{
    display: inline-block;
    width: 1.8rem;
    height: 2rem;
    transition: all 0.3s;
    background: url('../img/trash.svg') no-repeat center/contain;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
}
.cart_main .left ul li div.infos{
    max-width: 44rem;
}
.cart_main .left ul li div:last-of-type{
    position: relative;
}
.cart_main .left ul li .delete:hover{
    transform: scale(1.1);
}

.cart_main .right{
    width: 29.19%;
    margin-left: auto;
    
    padding: 0.5rem 2.5rem 2.5rem;
    background-color: #f7f6f9;
}

.cart_main .right .right_con{
    padding: 2rem 0;
}
.cart_main .right .right_con .title{
    font-size: 2rem;
    font-weight: 500;
    color: #150f35;
    margin-bottom: 1.3rem;
}
.cart_main .right .coupon_con input{
    width: 100%;
    background-color: white;
    padding: 1.2rem 1.5rem;
    border: 1px solid #dadadd;
    border-radius: 4px;
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
}
.cart_main .right .coupon_con .btn{
    padding: 0rem 2.3rem;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: #000;
    margin-bottom: 0;
    font-size: 1.7rem;
    line-height: 4rem;
    min-width: unset;
}
.cart_main .btn{
    font-size: 1.6rem;
    padding: 0rem 2rem;
    line-height: 3;
    min-width: unset;
}
.cart_main .right .coupon_con .btn:hover{
    color: white;
    background-color: var(--primary);
}
.cart_main .right .right_con + .right_con{
    border-top: 1px solid rgba(21, 15, 53, 0.15);
}
.cart_main .right .right_con p{
    font-size: 1.8rem;
    line-height: 2.1rem;
    color: #757575;
}
.cart_main .right .right_con p.form-row{
    width: 100%;
    float: unset;
}
.cart_main .right .right_con.coupon_con{
    padding-bottom: 4rem;
}
.cart_main .right .shipping_con label{
    font-size: 1.6rem;
    font-weight: 500;
    color: #150f35;
    display: block;
    margin-bottom: 1rem;
    margin-top: 1.6rem;
}

.cart_main .right .shipping_con .address_infos input, .cart_main .right .shipping_con .address_infos select{
    font-size: 1.6rem;
    color: rgba(21, 15, 53, 0.5);
    background-color: white;
    padding: 0.9rem 1.5rem;
    border: 1px solid #dadadd;
    border-radius: 4px;
    width: 100%;
}
.cart_main .right .shipping_con .address_infos select{
    background: url('../img/select.svg') no-repeat right 1.8rem center/1.4rem;
    background-color: white;
}
.cart_main .right .shipping_con .address_infos{
    margin-bottom: 3.7rem;
}
.cart_main .right .shipping_con .shipping_price p{
    font-size: 1.8rem;
    font-weight: 500;
    color: #150f35;
}
.cart_main .right .shipping_con .shipping_price{
    margin-top: 1rem;
}
.cart_main .right .shipping_con .shipping_price strong{
    font-size: 2.2rem;
    font-weight: 500;
    color: #150f35;
    margin-left: 1rem;
}

.cart_main .right .summary_con ul{
    padding: 0 1.5rem ;
}
.cart_main .right .summary_con ul li p{
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #2d2d2d;
    font-weight: 500;
}
.cart_main .right .summary_con ul li p:nth-of-type(1){
    width: 18.5rem;
}
.cart_main .right .summary_con ul li + li{
    margin-top: 1.8rem;
}
.cart_main .right .summary_con ul li p:nth-of-type(2){
    margin-left: auto;
    text-align: right;
}
.cart_main .right .total_con > .flex{
    padding: 0 1.5rem;
    justify-content: space-between;
}
.cart_main .right .total_con > .flex strong{
    font-size: 2rem;
    color: #150f35;
    font-weight: 500;
}
.cart_main .right .total_con > .flex .total{
    font-size: 2.2rem;    
    font-weight: 500;
    color: #150f35;
}
.cart_main .right .total_con .btn{
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.cart_main .right .total_con button{
    padding: 0;
    font-size: 1.6rem;
    font-weight: 500;
    color: #150f35;
    width: 100%;
    background-color: transparent;
    text-align: center;
}

#inquiry-modal button.button{
    background-color: var(--primary) !important;
    border-radius: 20rem !important;
}

@media screen and (min-width: 786px) and (max-width: 1000px) {
    .cart_main .left{
        width: 100%;
    }
    .cart_main .right{
        width: 100%;
        margin-top: 2rem;
    }
    .woocommerce-cart-form >.flex{
        flex-flow: wrap;
    }
}

@media screen and (max-width: 786px) {
    .subtotal_con{
        padding: 24px 0;
    }
    .subtotal_con .con .count_subtotal{
        font-size: 16px;
        white-space: nowrap;
    }
    .subtotal_con .con .count_subtotal span{
        font-size: 17.6px;
    }
    .subtotal_con .con>.flex{
        flex-flow: wrap;
    }
    .subtotal_con .con>.flex .btns{
        display: flex;
        align-items: center;
        flex-flow: wrap;
    }
    .subtotal_con .con .btn{
        font-size: 14.4px;
        padding: 8px 16px;
        margin-top: 16px;
    }
    .cart_main .main > .flex{
        flex-flow: wrap;
    }
    .cart_main .left{
        width: 100%;
    }
    .cart_main .right{
        width: 100%;
        margin-top: 24px;
        padding: 19.2px;
    }
    .cart_main ul .table_head div{
        font-size: 16px;
    }
    .cart_main .left ul li:not(.table_head){
        padding: 19.2px;
        gap: 19.2px;
        overflow: auto;
    }
    .cart_main .left ul li a.flex{
        flex-direction: column;
        align-items: flex-start;
    }
    .cart_main .left ul li .img{
        width: 64px;
        height: 64px;
        min-width: 64px;
        margin-right: 0;
        margin-left: 0;
        display: block;
    }
    .cart_main .left ul li a.flex .infos strong{
        font-size: 16px;
        margin-top: 8px;
        margin-bottom: 8px;
        white-space: nowrap;
    }
    .cart_main .left ul li a.flex .infos span{
        font-size: 14.4px;
        white-space: nowrap;
    }
    .cart_main .left ul li a.flex .infos p{
        font-size: 16px;
        margin-top: 16px;
        white-space: nowrap;
    }
    .cart_main .left ul li.table_head{
        display: none;
    }
    .cart_main .left ul li p{
        font-size: 17.6px;
        white-space: nowrap;
    }
    .cart_main .left ul li input{
        width: 48px;
        font-size: 16px;
    }
    .cart_main .left ul li .delete{
        width: 19.2px;
        height: 19.2px;
    }
    .cart_main .right .right_con .title{
        font-size: 17.6px;
        margin-bottom: 8px;
    }
    .cart_main .right .coupon_con input{
        font-size: 16px;
        padding: 11.2px 16px;
    }
    .cart_main .right .coupon_con .btn{
        margin-bottom: 0;
    }
    .cart_main .right .right_con p{
        font-size: 14.4px;
        line-height: 24px;
    }
    .woocommerce-cart-form > .flex{
        flex-direction: column;
    }
    .cart_main .right .right_con{
        padding: 24px 0;
    }
    .cart_main .right .shipping_con label{
        font-size: 16px;
        margin: 16px 0 8px;
    }
    .cart_main .right .shipping_con .address_infos input, .cart_main .right .shipping_con .address_infos select{
        font-size: 16px;
        padding: 9.6px 19.2px;
    }
    .cart_main .right .shipping_con .address_infos select{
        background-size: 16px;
    }
    .cart_main .right .shipping_con .address_infos{
        margin-bottom: 24px;
    }
    .cart_main .right .shipping_con .shipping_price p{
        font-size: 19.2px;
    }
    .cart_main .right .shipping_con .shipping_price strong{
        font-size: 24px;
    }
    .cart_main .right .summary_con ul{
        padding: 0;
    }
    .cart_main .right .summary_con ul li p{
        font-size: 16px;
        line-height: 1.4;
    }
    .cart_main .right .summary_con ul li p:nth-of-type(1){
        width: 180px;
    }
    .cart_main .right .summary_con ul li + li{
        margin-top: 16px;
    }
    .cart_main .right .total_con > .flex{
        padding: 0;
    }
    .cart_main .right .total_con > .flex strong{
        font-size: 19.2px;
    }
    .cart_main .right .total_con > .flex .total{
        font-size: 24px;
    }
    .cart_main .right .total_con .btn{
        font-size: 17.6px;
        padding: 0 16px;
    }
    .cart_main .right .total_con button{
        font-size: 17.6px;
    }
    .cart_main{
        padding-bottom: 80px;
    }
}