.figures {
    margin: -12px -14px;
    font-family: sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    /* max-width: 400px; */
}
figure {
    margin: 0;
    overflow: hidden;
    position: relative;
}
.figures a {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 16px;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}
.figures a:hover {
    text-decoration: none;
}
.figwhite a {
    color: #000;
}
.figwhite a:hover {
    color: #0099FF;
}
.figblack a {
    background-color: #2d2c2e;
}
.figblack a:hover {
    background-color: #0099FF;
}
.figures figcaption {
    text-align: left;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
}
.figwhite figcaption {
    margin-top: 8px;
}
.figblack figcaption {
    padding: 8px 10px;
    color: #fff;
    font-weight: bold;
}
.figbox {
    display: flex;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 12px 14px;
}
.figcol1 {
    width: 100%;
}
.figcol2 {
    width: 50%;
}
/* ici on affiche 2 boites maxi */
@media screen and (max-width: 439px) {
    .figcol3,
    .figcol4,
    .figcol5,
    .figcol6 {
        width: 50%;
    }
	
	.hotnews4, .hotnews3 {display:none;} /* Une seule ligne de hotnews sur la home */
}
/* ici on affiche 3 boites maxi */
@media screen and (min-width: 440px) and (max-width: 779px) {
    .figcol3,
    .figcol4,
    .figcol5,
    .figcol6 {
        width: 33.33%;
    }
	
	.hotnews4 {display:none;} /* Une seule ligne de hotnews sur la home */
    /* .figures {max-width: none;} */
}
/* ici on affiche 4 boites maxi */
@media screen and (min-width: 780px) and (max-width: 1121px) {
    .figcol3 {
        width: 33.33%;
    }
    .figcol4,
    .figcol5,
    .figcol6 {
        width: 25%;
    }
    /* .figures {max-width: none;} */
}
/* ici on affiche jusqu'à 5 boites */
@media screen and (min-width: 1122px) {
    .figcol3 {
        width: 33.33%;
    }
    .figcol4 {
        width: 25%;
    }
    .figcol5 {
        width: 20%;
    }
    .figcol6 {
        width: 16.66%;
    }
    /* .figures {max-width: none;} */
}
.figures figure {
    margin: 0;
}
.figures img {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    height: auto;
    display: block;
    background: #ccc;
}
.figborder {
    border: 1px solid #e0e0e0;
}
/* pour afficher 1 2 3 4 ... sur chaque boite */
.figcounter {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #D50304;
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    min-height: 30px;
    min-width: 30px;
    padding: 0px 6px;
    text-align: center;
}
/* pour les catégories et produits du comparateur */
.figprd figcaption {
    text-align: center;
    font-size: 16px;
    margin-top: 12px;
}
.figprd img {
    background: none;
    max-width: 160px;
    margin: auto;
}
/* pour afficher le nb de réactions sur chaque boite */
[data-reactions]:after {
    content: attr(data-reactions);
    position: absolute;
    background: #414043;
    border: 1px solid #E0E0E0;
    display: inline-block;
    padding: 0px 6px;
    color: #fff;
    min-width: 14px;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    right: 8px;
    bottom: 8px;
    border-radius: 2px;
}
