/* Chrome, Edge, Safari */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.title{
    justify-self: center;
    margin-top: 25px;
    margin-bottom: 40px;
}

main{
    padding: 0 90px;
    padding-bottom: 30px;
}

#plus{
    border: 1px solid #cfcfcf;
    border-top-left-radius: 5px;
    border-bottom-left-radius:5px ;
}

#minus{
    border: 1px solid #cfcfcf;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.content-container{
    margin-top: 20px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #cfcfcf;
}

#top-product{
    border-top: none;
}

.product{
    display: flex;
    padding: 20px 0px;
    align-items: center;
    border-top: 1px solid #cfcfcf;
}

.qty{
    display: flex;
}
.qty input{
    border: 1px solid #cfcfcf;
    border-left: none;
    border-right: none;
    width: 30px;
    text-align: center;
}

.m-produk{
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 30px;
    flex: 1;
}

.m-harga{
    flex: 0.5;
    text-align: center;
}

.m-jumlah{
    display: flex;
    flex: 0.5;
    justify-content: center;
}

.m-total{
    flex: 0.5;
    text-align: center;
}

.m-aksi{
    flex: 0.3;
    text-align: center;
}

.content-header{
    display: flex;
    align-items: center;
    height: 50px;
    background-color: white;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
}
.h-produk{
    flex: 1;
    padding-left: 30px;
}

.h-harga{
    flex: 0.5;
    text-align: center;
    color: #505050;
}

.h-jumlah{
    flex: 0.5;
    text-align: center;
    color: #505050;
}

.h-total{
    flex: 0.5;
    text-align: center;
    color: #505050;
}

.h-aksi{
    color: #505050;
    flex: 0.3;
    text-align: center;
}

.m-aksi button{
    background-color: #be1414;
    border: none;
    border-radius: 5px;
    padding: 8px 10px;
    color: white;
    font-weight: bold;
}

.m-aksi button:hover{
    background-color: #9c1111;
}

.checkout{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 30px 40px;
    margin-top: 20px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
}

.checkout-btn{
    background-color: #be1414;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    padding: 15px 20px;
}

.checkout-btn:hover{
    background-color: #9c1111;
}

.total{
    display: flex;
    align-items: center;
}


/* Versi Mobile */
.mobile{
    display: none;
}

.mob-product{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    padding: 20px 40px;
}

.check-delete{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.check-delete button{
    background-color: #be1414;
    padding: 5px 10px;
    border: none;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 12px;
    border-radius: 5px;
}

.mob-product-img{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.mob-harga{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mob-jumlah{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mob-total{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mob-content-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


@media(max-width:950px){
    .desktop{
        display: none;
    }
    .mobile{
        display: block;
    }
}