﻿
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-all {
    display: none;
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.loadding-all {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}
/* Modal Content */
.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    width: 40%;
    padding: 20px;
    background: linear-gradient(rgb(255, 253, 173) 0%, rgb(255, 254, 253) 100%);
}

/* The Close Button */
.close-add-cart {
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 0;
}

.close-add-cart:hover,
.close-add-cart:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.cart {
    position: relative;
    margin-left: 10px;
    margin-top: 5px;
}

.cart span {
    font-size: 10px;
}

.cart a {
    font-size: 25px;
}

.container {
    margin: 0 auto;
}

.orderInformation {
    box-shadow: 0 2px 7px #dfdfdf;
    padding-top: 10px;
    padding-bottom: 10px;
}

.shopping-cart {
    font-family: Arial;
    margin-top: 10px;
    box-sizing: border-box;
    display: flex;
}

.cart-default {
    padding: 10px;
    margin-top: 10px;
    
    padding: 20px;
    width: 60%;
    margin-bottom: 20px;
}

.cart-default img {
    width: 90%;
    height: auto;
}

.products {
    flex: 0.75;
}

.product {
    box-shadow: rgb(0 0 0 / 10%) 0px 0px 10px;
    box-sizing: inherit;
    display: flex;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    border: 1px solid rgb(0 0 0 / 10%);
    margin-bottom: 20px;
}

.product:hover {
    border: none;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transform: scale(1.01);
}

.product-crad-img {
    width: 200px;
    height: 200px;
}

.product-crad-img > img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: 90%;
    height: 190px;
    margin-top: 10px;
    margin-left: 10px;
}

.product > img:hover {
    transform: scale(1.04);
}

.product-info {
    padding: 20px;
    width: 100%;
    position: relative;
}

.product-name {
    font-weight: 600;
}

.product-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: white;
    color: rgba(0,0,0,0.4);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.4);
    border-radius: 3px;
}

.product-remove:hover {
    background-color: white;
    color: green;
    font-weight: 600;
    border: 1px solid green;
}

.fa {
    margin-right: 5px;
}

.cart-total {
    flex: 0.30;
    margin-left: 20px;
    padding: 20px;
    height: 200px;
    box-shadow: 0 2px 7px #dfdfdf;
}

.cart-total p {
    display: flex;
    justify-content: space-between;
}

.cart-total a {
    display: block;
    text-align: center;
    height: 40px;
    line-height: 40px;
    background-color: tomato;
    color: white;
    text-decoration: none;
}

.cart-total a:hover {
    background-color: red;
}



.v-counter {
    border-radius: 32px;
    max-width: 89px;
    overflow: auto;
    padding: 0px 4px;
    border: 1px solid #323140;
    margin: 10px;
}

.title-order p {
    text-align: center;
}

.title-order h4 {
    text-align: center;
}

.title-order-customer p {
    text-align: center;
}

.title-order-customer h3 {
    text-align: center;
}




@media screen and (max-width: 700px) {
    .remove {
        display: block;
    }

    .product {
    }

    .product > img {
        height: auto;
        width: 150px;
    }

    .product-name, .product-price, .product-offer {
        margin-bottom: 10px;
    }

    .product h5 {
        padding-top: 10px;
        font-size: 16px;
    }
}


@media screen and (max-width: 900px) {

    .shopping-cart {
        flex-direction: column;
    }

    .cart-default {
        width: 100%;
        margin-bottom: 10px;
    }

        .cart-default img {
            width: 100%;
        }

    .cart-total {
        margin-left: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1220px) {
}


@media screen and (max-width : 600px) {

    .modal-content {
        width: 70%;
    }
}