.cart-container{
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

@media screen and (min-width: 1440px) {
  .cart-container {
    max-width: 1340px;
  }
}

@media(min-width: 1920px){
    .cart-container{
        max-width: 1650px;
    }
}

.cart-sec{
    padding: 3rem 0rem;
    min-height: 50vh;
}

.cart-title{
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: "Palatino Linotype", "Book Antiqua", "Palatino", serif;
}

.list-title{
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0;
    font-family: "Palatino Linotype", "Book Antiqua", "Palatino", serif;
}

.product-row{
    display: flex;
    flex-direction: row;
    
    border-bottom: 1px solid #AAA;
    padding: 1rem;
    font-size: 1.2rem;
    width: 80%;
    margin-bottom: 1rem;
}

.product-row:hover{
    background-color: #3e493920;
}

.cart-col-1{
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

.cart-col-desktop{
    display: flex;
    align-items: center;
    width: 25%;
    padding: 0 0.5rem;
}

.cart-col-desktop2{
    display: flex;
    align-items: center;
    width: 16%;
    padding: 0 0.5rem;
}

.cart-col-desktop3{
    display: flex;
    align-items: center;
    width: 16%;
    padding: 0 0.5rem;
}

.cart-col-desktop4{
    display: flex;
    align-items: center;
    width: 16%;
    padding: 0 0.5rem;
}

.curr-count{
    margin: 0 2rem;
}

.cart-col-mobile1{
    width: 66%;
    display: none;
}

.cart-mobile-row col-12{
    width: 100%;
}

.cart-mobile-row col-6{
    width: 50%;
}

.cart-col-mobile2{
    width: 100%;
    display: none;
    text-align: right;
    margin-top: 1rem;
    padding: 0;
}



.btn-cart-count{
    background-color: var(--secondary-color);
    color: #FFF;
    border-radius: 4px;
    padding: 3px 7px;
    transition: all 0.3s ease-in-out;
}

.btn-cart-count:hover{
    background-color: var(--primary-color);
}

.btn-del-order{
    background-color: #c8a9ae;
    color: #222;
    border-radius: 2rem;
    padding: 5px 20px;
    transition: all 0.3s ease-in-out;
}

.btn-del-order:hover{
    background-color: red;
    color: #FFF;
}

.cart-prod-img{
    max-height: 120px;
    border-radius: 1rem;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cart-item-name{
    font-weight: bolder;
}

.total-cost-wrapper{
    font-size: 1.2rem;
}

.total-cost-row{
    display: flex;
    flex-direction: row;
    width: 33%;
}

.total-cost-row .col-6{
    width: 50%;
}

.total-cost-row .col-6{
    width: 50%;
}

.total-cost-row .fw-bolder{
    font-weight: bolder;
}

.total-cost-row .cost-cell{
    border: 1px solid #BBB;
    margin-right: -1px;
    margin-bottom: -1px;
    padding: 0.5rem 1rem;
}

#checkout-btn-wrapper{
    text-align: left;
    margin-top: 1.5rem;
}

.btn-checkout{
    background-color: var(--secondary-color);
    color: #FFF;
    font-size: 1.1rem;
    font-weight: bolder;
    padding: 5px 20px;
    border-radius: 2rem;
}

.btn-checkout:hover{
    background-color: var(--primary-color);
    color: #FFF;
}

.btn-checkout svg{
    vertical-align: -0.1rem;
}

@media(max-width: 960px){
    .product-row{
        width: 100%;
    }
    
    .cart-col-1{
        width: 33%;
        display: flex;
        align-items: baseline;
    }
    
    .cart-col-mobile2{
        display: block;
    }
    
    .cart-col-desktop, .cart-col-desktop2, .cart-col-desktop3, .cart-col-desktop4{
        display: none;
    }
    
    .cart-col-mobile1{
        display: block;
    }
    
    .total-cost-row{
        width: 100%;
    }
    
    #checkout-btn-wrapper{
        text-align: center;
    }
    
    .total-cost-wrapper{
        padding: 1rem;
    }
    
    .cart-item-name{
        margin-bottom: 0.5rem;
    }
    
    .list-title{
        font-size: 1.5rem;
        padding-left: 0.5rem;
    }
}

@media(max-width: 500px){
    .cart-sec{
        padding-top: 1rem;
        padding-bottom: 3rem;
    }
    
    .product-row{
        font-size: 1.1rem;
    }
    
    .cart-prod-img{
        max-height: 100%;
        border-radius: 0.5rem;
        margin-top: 0.2rem;
    }
}