main {
	padding-bottom: 50px;
}

.container-products {
    justify-content: space-around;
    margin: 0 auto;
    margin-top: 50px;
    padding: 1.5em;
    box-shadow: 10px 10px 10px rgba(180, 180, 180, 0.663);
    background-color: rgb(248, 248, 248);
}

.container-products ion-icon {
    color: rgb(0, 0, 0);
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.product-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    border-bottom: 4px solid lightgray;
    margin: 0 auto;
}

.product-title {
    width: 45%;
}

.price {
    width: 15%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
}

.quantity {
    width: 30%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
}

.total {
    width: 10%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
}

.product {
    width: 45%;
    display: flex;
    justify-content: first baseline;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid lightgray;
}

.product ion-icon {
    cursor: pointer; 
}

.products {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.products img {
    width: 75px;
}

.basketTotalContainer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 10px 0;
}

.basketTotalTitle {
    width: 30%;
}

.basketTotal {
    width: 10%;
}

.panier {
	font-weight: bold;
	text-decoration: underline;
}
.formulaire {
    justify-content: space-around;
    margin: 0 auto;
    margin-top: 50px;
    padding: 1.5em;
    box-shadow: 10px 10px 10px rgba(180, 180, 180, 0.663);
    background-color: rgb(248, 248, 248);
}
#button{
    display: grid;
    justify-content: center;
}

#bouton{
    padding: 1.1em 10em 1.1em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background-color: darkred;
    border-radius: 0.25em;
    margin: 30px;
    cursor: pointer;
    text-decoration: none;
}
#bouton:hover{
    background-color: firebrick;
}

form {
    /* centrer le formulaire sur la page */
    margin: 0 auto;
    width: 500px;
}

form div + div {
    /* espacement entre div */
    margin-top: 1em;
  }

label {
    /* étiquettes de même taille et correctement alignées */
    display: inline-block;
    width: 120px;
    text-align: right;
}

input, textarea {
    font: 1em sans-serif;
    /* champs texte de même dimension */
    width: 300px;
    box-sizing: border-box;
    border: 1px solid #999;
}

textarea {
    /*aligner les champs texte multi‑lignes avec leur étiquette */
    vertical-align: top; 
    /* donner assez de place pour écrire du texte */
    height: 5em;
}

.button {
    /* placer le bouton à la même position que les champs texte */
    padding-left: 90px;
}
  
button {
    /* pour centrer le bouton */
    margin-left: 120px;
}

footer section a {
    color: inherit;
	text-decoration: none;
}

/* Smartphone */
@media screen and ( max-width: 600px ) {
    .container-products {
        max-width: 400px;
    }
    .product-header {
        max-width: 400px;
        font-size: 0.7em;
    }
    .products {
        font-size: 0.7em;
    }

    nav h2 {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;;
    }
    .products,
    .product-header {
        justify-content: center;
    }
    .formulaire {
        max-width: 400px;
    }
    #bouton{
        padding: 20px 60px 20px;

    }
}

/* Desktop */
@media screen and ( min-width: 601px ) {
	.container-products {
        max-width: 500px;
    }
    .product-header {
        max-width: 500px;
        font-size: 0.8em;
    }
    .products {
        font-size: 0.8em;
    }
    .formulaire {
        max-width: 500px;
    }
}

/* Ultra-Wide */
@media screen and ( min-width: 1200px ) {
	.container-products {
        max-width: 1100px;
    }
    .product-header {
        max-width: 1100px;
        font-size: 1em;
    }
    .products {
        font-size: 1em;
    }
    .formulaire {
        max-width: 1100px;
    }
}