
.shoping-grid{
    width: 100%;
    background-color: white;
    height: auto;
    padding: 50px 20px;
}

.shoping-container{
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    padding: 0px 50px;
}

.cart-header{
    font-size: 1.3rem;
    font-family: 'Forum' , serif;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.ch-update-btn:disabled{
   opacity: 0.5;
}

.ch-update-btn{
    border: none;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
}

.ch-update-btn a{
    color: rgb(22, 22, 22);
    font-size: 1.2rem;
}

.ch-update-btn a svg{
    width: 20px;
}

.shoping-cart{
    margin-top: 40px;
    width: 100%;
}

.in-shopingct{
    width: 100%;
}

.in-shopingct table{
    width: 100%;
}

.table-ot .table-hd tr th{
    text-align: right;
    font-family: 'Rubik' , sans-serif;
    font-weight: 300;
    padding-bottom: 18px;
    text-transform: uppercase;
}

.table-ot .table-hd tr th:nth-child(odd){
    text-align: left;
}

.table-ot .table-hd tr th:nth-child(2),
.table-ot .table-hd tr th:nth-child(3),
.table-ot .table-hd tr th:nth-child(4){
    padding-left: 100px;
}

tbody tr td a img{
    width: 100px;
    height: auto;
}

.table-bd tr td{
    font-family: 'Rubik' , sans-serif;
    font-weight: 300;
    padding-bottom: 18px;
}

.table-bd tr td:nth-child(1),
.table-bd tr td:nth-child(2),
.table-bd tr td:nth-child(4){
    text-align: left;
}


.table-ot .table-bd tr td:nth-child(3),
.table-ot .table-bd tr td:nth-child(5){
   text-align: right;
}

.table-bd{
    font-size: 1.2rem;
}

.table-bd tr td{
    padding-top: 20px;
}


.table-ot .table-bd tr td:nth-child(4){
    padding-left: 100px;
}

.product-disc-context{
    max-height: 100px;
    height: 100%;
}

.product-disc-img{
    width: 100px;
}

.product-disc-context dl{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 10px;
}

.product-disc-context dl a{
    color: rgb(0, 0, 0);
}

.product-disc-context .op-disc{
    font-size: 1rem;
}

.product-pricex .product-price-context{
    display: flex;
    align-items: self-start;
    justify-content: flex-end;
    height: 90px;
}

.product-quantity .product-quantity-tool{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 90px;
}

.product-pricex .product-price-context-m{
    display: none;
}

.m_label{
    display: none;
}

.product-quantity .product-quantity-tool .in-product-quantity-tool{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.product-quantity .product-quantity-tool input{
    border: none;
    max-width: 50px;
    width: 100%;
    padding: 10px;
    text-align: center;
}

.product-quantity .product-quantity-tool svg{
    width: 16px;
    height: auto;
    fill: rgb(34, 34, 34);
}

.product-totalprice .product-totalprice-context{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    flex-direction: column;
}

.product-remove-btn{
    padding-top: 0px;
}


@media screen and (max-width:800px) {

    .shoping-grid{
        padding: 20px 0px!important;
    }

    .table-hd tr{
        display: flex;
        justify-content: space-between;
        border-bottom: 0.5px solid rgb(148, 148, 148);
    }

    .table-bd tr{
        border-bottom: 0.5px solid rgb(148, 148, 148);
    }

    .shoping-container{
        padding: 0px 20px;
    }

    .table-bd tr{
        display: grid;
        gap: 8px;
        grid-template: repeat(2,auto) / repeat(4,1fr);
    }

    .product-disc-context{
        grid-column: 2 / 4;
    }

    .product-pricex{
        grid-column: 4 / 5;
    }

    .product-quantity{
        grid-column: 1 / 3;
    }

    .product-quantity .product-quantity-tool input{
        font-size: 1rem;
    }

    .product-totalprice{
        grid-column: 3 / 5;
    }

    .table-ot .table-bd tr td:nth-child(5){
        padding-top: 0px;
    }

    .product-totalprice .product-totalprice-context{
        gap: 20px;
    }

    .product_totalprice_amount{
        display: none;
    }

    .product-remove-btn{
        padding-top: 5px;
    }

    .product-disc-context dl{
        padding-left: 0px;
    }

    .product-quantity .product-quantity-tool{
        height: auto;
    }

    .in-product-quantity-tool label{
        font-size: 1.05rem;
        padding: 0px 10px 0px 0px;
    }

    .table-bd tr td:nth-child(4){
        padding-top: 0px;
    }

    .table-ot .table-bd tr td:nth-child(4){
        padding-left: 0px;
    }

    .product-disc-context dl{
        gap: 10px;
    }

    .product-disc-context dl a{
        font-size: 1rem;
    }
    
    .total-col{
        display: none;
    } 
   
    .table-hd tr th:nth-child(3){
      display: none;
    } 

    .m_label{
        display: block;
    }

    .in-subtotal-checkout{
        padding: 0px 20px!important;
    }

    .footer-checkout{
        align-items: center!important;
    }

    .product-pricex .product-price-context{
        display: none;
    }

    .product-pricex .product-price-context-m{
        display: flex;
        align-items: self-start;
        justify-content: flex-end;
        height: 90px;
    }

    .cart-grid tbody tr td {
        padding-bottom: 20px;
        font-size: 1.05rem;
        font-weight: 300;
    }

}

/* Check-out Footer */

.subtotal-checkout{
    width: 100%;
    background-color: white;
    padding: 20px 0px 40px 0px;
}

.in-subtotal-checkout{
    max-width: 1200px;
    width: 100%;
    margin: -1px auto;
    padding: 0px 50px;
}

.footer-checkout{
    display: flex;
    width: 100%;
    align-items: flex-end;
    gap: 20px;
    flex-direction: column;
}

.cart-grid tbody tr td button{
    border: 0.5px solid #608f73;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 1.25rem;
    background-color: #608f73;
    width: 100%;
    margin-top: 10px;
}

.cart-grid tbody tr td button a{
    color: white;
    width: 100%;
    display: block;
}

.cart-grid tbody tr td{
    padding-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 300;
}

.cart-grid tbody tr td span{
    font-size: 1.4rem;
    font-weight: 400;
}

.cart-grid tbody tr td:nth-child(odd){
    text-align: start;
}

.cart-grid tbody tr td:nth-child(even){
    text-align: end;
    padding-left: 80px;
}

@media screen and (max-width:500px) {
    
    .cart-grid tbody tr td{
        font-size: 1rem;
    }

}




/* Empty Cart */

.ot-cart-empty{
    width: 100%;
    background-color: white;
    height: 80vh;
}


.cart-empty{
    width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.emptycart-img img{
    max-width: 300px;
    width: 100%;
}

.emptycart-title{
    font-size: 1.6rem;
    color: #94A684;
    text-align: center;
}

.contshop{
    border: none;
    background-color: #94A684;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 60px;
}

.contshop a{
    color: white;
    font-size: 1.2rem;
}

@media screen and (max-width:500px) {
    
    .contshop{
        margin-top: 40px;
    }

}




/* Message */



.message{
    width: 100%;
    background-color: white;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    z-index: 10000000000000000000000;
    animation: upslide forwards ease-in-out 1s;
    animation-delay: 5s;
}

.message p{
    text-align: center;
}

@keyframes upslide {
    0% {
        top: 10px;
    }
    90%{
        top: -140px;
    }
    100% {
        top: -140px;
        display: none;
    }
    
}