@font-face {
    font-family: "engFont-reg";
    src: url("/public/fonts/Varela-Regular.ttf");
}


@font-face {
    font-family: "engFont-bold";
    src: url("/public/fonts/SourceSansPro-Bold.ttf");
}

@font-face {
    font-family: "araFont";
    src: url("/public/fonts/static/MarkaziText-Regular.ttf");
}


*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    font-size: 12px;
    font-family:"engFont-reg";
}

body{
    color:#373d3a;
    min-height:100vh;
    margin:0;
    padding:0;
    background-image:url("/soap/public/img/body-background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-size: 1.5rem;
}
span{
    display:inline-block;
}

h1{
    font-size: 3rem;
}

p{
    font-size: 2rem;
}

.cart-total{
	margin-left : 15px;
}

.no-select{
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently*/
}
.row-cart{
    display:flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 5vh;
}

.col-cart + .col-cart{
    margin-left: 1.5vw;
}

/*card*/
.card-cart{
    margin-top: 6vh;
    min-width:90%;
    display:flex;
}


/*cart and order summary*/
.shopping-cart, .order-summary{
    padding: 2vh 2vw;
}

.shopping-cart{
    min-width:70%;
    max-width:70%;
    background:#fff;
}

/*Headings*/
.cart-heading, .order-summary-heading{
    margin-bottom: 4vh;
    padding-top: 4vh;
    padding-bottom: 4vh;
    border-bottom: 1px solid #d8d8d8;
    font-weight: bolder;
}

/*cart-entries*/

.cart-entries{
    padding-left: 2vw;
}

.product-image{
    min-width:20%;
    max-width:20%;
}

.product-image img{
    max-width:100%;
}

.product-details{
    min-width: 60%;
    align-self: stretch;
}


.item-price, .balance, .total{
    font-size: 1.6rem;
    font-weight:bold;
}

.price-currency-label, .balance-currency-label{
    font-size: 1.6rem;
    color:#626262;
}
.delivery-charge-currency{

}

.product-title{
    color: #404040;
    font-weight: 600;
    margin: 8vh 0;
}

.quantity-div{
    border-radius: 5px;
    width:100px;
    padding: 1vh 0;
    align-content: center;
    width: 100%;
}

.qty-label{
    color: #404040;
    font-weight: 600;
}

.qty-number-div{
    margin-top: 1vh;
    background-color: #f2f2f2;
    padding: 1vh 2vw;
    border-radius: 10px;
    text-align: center;
    width: 15vw;


}

.qty-number{
    background-color: #f2f2f2;
    color: #404040;
    font-size: 1.5rem;
    font-weight: 600;
    border: none;
    width: 20px;
    margin: 0 1vw;
}

.qty-number-div span{
    font-size: 1.5rem;
}

.qty-number-div span:hover{
    cursor: pointer;
}


.qty-number:focus{
    outline: none;

}


.remove-button{
    min-width:10%;
    max-width:10%;
    color: #c4c4c4;
    font-size: 0.8em;
}

.remove-button::after{
    content:"Remove";
}

.remove-button:hover::after{
    border-bottom: 1px solid #c4c4c4;
    cursor: pointer;
}


/*order*/
.order-summary{
    background: #f2f2f2;
    min-width:30%;
    max-width:30%;
}

.order-summary-form div{
    margin-bottom: 4vh;
    padding:1vh 0;
}

.order-summary-form input, .order-summary-form textarea{
    border:none;
    padding: 0.8vh 0.8vw;
    min-width: 95%;
    max-width:95%;
    min-height: 8vh;
}

.balance-div{
    margin-top:8vh;
}

/*.balance{*/
    /*padding-left: 60%;*/
/*}*/

.place-order-button{
    width: 98%;
    background-color: #b1beb4;
    /* margin-top: 50%;
    margin-left: 12%; */

    /* border-radius: 10px; */
    text-align: center;
}

.place-order-button input{
    border:none;
    background: none;
    color: #f7f8f8;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3;
    cursor: pointer;

}

.place-order-button:hover{
    background-color: #7f8881;
    cursor: pointer;
}


@media(max-width:1500px){

    html{
        font-size: 12px;
    }

    .product-image{
        min-width:30%;
        max-width:30%;
    }

    .product-details{
        min-width:40%;
    }

    .product-title{
        margin: 4vh 0;
    }

}

@media(max-width:1000px){

    html{
        font-size: 10px;
    }

}

@media(max-width:700px){

    header{
        height: 10vh;
    }

    .cart-main{
        padding-top: 0;
    }


    .card-cart{
        display:block;
    }

    .shopping-cart , .order-summary{
        width: 95%;
        max-width:none;
        margin:3vw auto;
    }

    .shopping-cart{
        margin-bottom: 0;
    }

    .order-summary{
        margin-top:0;
    }

    .cart-heading, .cart-entries, .order-summary-heading, .order-summary-form{

        width:100%;
    }

    .qty-number-div{
        width: 100px;
    }

    .remove-button::after{
        content:"X";
    }

    .order-summary-form{
        padding-left: 1.5vw;
    }

    /*.balance{*/
        /*padding-left: 70%;*/
    /*}*/

}

@media(max-height:400px){
    .product-title{
        margin: 7vh 0;
    }

}