div.product {
    width: 1200px;
    margin: 10px auto;
}

div.clearboth {
    width: 100%;
    height: 50px;
    clear: both; 
    float: none;
}

div.product div.images {
    width: 40%;
    float: left;
}
div.product div.images div.main {
    width: 100%;
}
div.product div.images div.main img {
    width: 100%;
    height: auto;
}
div.product div.images div.thumbnails {
    width: 100%;
    height: 200px;
    padding: 5px 0;
    display: block;
    overflow: auto;
}
div.product div.images div.thumbnails div.images {
    width: auto;
    height: 100%;
    display: flex;
}
div.product div.images div.thumbnails a {
    width: auto;
    height: 100%;
    display: block;
    float: left;
    margin-right: 5px;
}
div.product div.images div.thumbnails a img {
    width: auto;
    height: 100%;
    display: block;
}
div.product div.images div.thumbnails a img.selected {
    border: solid 3px #d06e6a;
}
div.product div.images div.main {
    width: 100%;
}
div.product div.info {
    width: 60%;
    float: left;
    padding: 0 60px;
}
div.product div.info h1 {
    height: auto;
    line-height: 30px;
    margin: 0;
    padding: 0;
    color: #82716b;
}
div.product div.info p.prix {
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0;
    font-size: 1.5em;
}
div.product div.info p.prix s {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8em;
}
div.product div.info div.description {
    margin: 0;
    padding: 30px 0;
    border-top: solid 1px rgba(0, 0, 0, 0.15);
    border-bottom: solid 1px rgba(0, 0, 0, 0.15);
}

div.product div.info form {
    padding: 30px 0;
}
div.product div.info input[type=text] {
    padding: 10px;
    width: 75%;
    margin: 0;
    display: block;
    border: solid 1px #82716b;
    text-align: center;
}
div.product div.info input[type=submit] {
    padding: 10px;
    width: 50%;
    margin: 0;
    display: block;
    background-color: #d6cac6;
    background-color: #82716b;
    color: #fff;
    border: none;
}

h2, h3 {
    text-align: center;
}
div.catalogue {
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    padding: 10px 0;
}
div.catalogue div.produit {
    cursor: pointer;
    padding: 2px;
}
div.catalogue div.produit:hover {
    border: solid 1px rgba(0, 0, 0, 0.05);
}
div.catalogue div.produit div.image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
div.catalogue div.produit:hover div.image div {
    transform: scale(1.3);
    transition: all 0.5s ease;
}
div.catalogue div.produit div.image div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: all 0.5s ease;
}
div.catalogue div.produit div.description p.titre {
    line-height: 25px;
    height: auto;
    margin: 0;
    padding: 0;
}
div.catalogue div.produit div.description p.titre a {
    color: #82716b;
    font-size: 1.2em;
    text-decoration: none;
}
div.catalogue div.produit div.description p.prix {
    color: rgba(0, 0, 0, 0.45);
    font-size: 1em;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

@media screen and (max-width: 1200px) {
    div.product {
        width: 100%;
    }

    div.catalogue {
        width: 100%;
    }    
}
@media screen and (max-width: 800px) {
    div.product div.images {
        width: 500px;
        margin: 0 auto;
        float: none;
        padding: 30px;
    }
    div.product div.info {
        width: 100%;
    }

    div.catalogue {
        display: block;
        padding: 0 10px;
    }    
}
@media screen and (max-width: 500px) {
    div.product div.images {
        width: 100%;
    }    
}

