/* Product grid */
/* POINTS SLIDER */


.grid {
	position: relative;
	overflow: hidden;
	max-width: auto;													/* max-width: 1300px; */
	margin: 0 auto;
	padding: 1.5em 0 em;
	margin-top:10em;
	text-align: center;
	/* -webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none; */
	-webkit-touch-callout: none;
	-khtml-user-select: none;
}

/* Loader */
.grid__loader {
	max-height:none;
	max-width:none;
	min-height:2%;
	min-width:2%;
	display: none;
	margin: 3em auto 0;
	
}
.grid--loading .grid__loader {
	display: block;
}

/* Clearfix */

.grid:after {
	content: '';
	display: block;
	clear: both;
}

/* Grid items */

.grid__sizer,
.grid__item {
	position: relative;
	float: left;
	padding: 0.75em;
}
.grid__sizer {
	width: auto;
}
.no-touch .grid__sizer,
.no-touch .grid__item {
	padding: 1em 1em 1em 1em;
}

.grid--loading .grid__item {
	visibility: hidden;
}

.grid__item--size-40 {width: 13%;}
.grid__item--size-20 {width: 13%;}
.grid__item--size-40 {width: 19%;}
.grid__item--size-20 {width: 13%;}

/* Gallery */

.slider {
	padding: 0em;
	border-radius: 0px;
	background: rgba(0,0,0,0);								/* COULEUR cadre */
}

.no-touch .slider {
	padding: 0 0 0em;									/* ESPACE ENTRE LA PHOTO ET LES 3 POINTS */
}

.slider__item {
	width: 100%;
	padding-bottom:0em;												/* CADRE AUTOUR DES PHOTOS */
	padding-top:1.5em;
}

.slider__item img {
	width: 100%;
}
/* Flickity page dots */

.slider .flickity-page-dots {
	display:none;
	bottom: 20px;
	opacity: 1;															/* POINTS SLIDER */
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
}

.no-touch .slider:hover .flickity-page-dots {
	opacity: 1;
}

.slider .flickity-page-dots .dot {
	background: #131417;
}

/* Product meta */

.meta {
	position: relative;
	margin: 0px 0 0;
	text-align: left;
	background-color:#6ecfd6;
	padding:0.3em;
}

.meta__title {
	font-size: 1.6em;
	font-weight: 600;
	margin: 0;
	color:#EEE;
	padding-bottom:0.5em;
}

.meta__brand {
	font-size: .95em;
	display: block;
	color: #fff;
	text-align:left;
	padding-bottom:1.5em;
}

.meta__price {
	background-color:#444;
	font-size: 1em;
	font-weight: bold;
	top: 1em;
	right: .25em;
	color: #ddd;
	padding:0.3em 0.6em;
	margin-right:0.39em;
}

/* Action style */

.action {
	font-family: Avenir, 'Helvetica Neue', 'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 1em;
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: .25em;
	cursor: pointer;
	color: #fff;
	border: none;
	background: none;
}

.action:focus {
	outline: none;
}

.action--button {
	color: #5c5edc;
}

.no-touch .action--button:hover {
	color: #fff;
	outline: none;
}

.text-hidden {
	position: absolute;
	top: 200%;
}

/* Add to cart button */

.action--buy {
	position: absolute;
	top: 0;
	right: 0;
	padding: 1.85em 2.35em;
	-webkit-transition: opacity .3s, -webkit-transform .3s;
	transition: opacity .3s, transform .3s;
	-webkit-transform: translate3d(-5px, 0, 0);
	transform: translate3d(-5px, 0, 0);
}

.no-touch .action--buy {
	opacity: 0;
}

.no-touch .grid__item:hover .action--buy {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

/* Fixed bottom bar */

.bar {																						/* BOUTONS BAS */
	position: fixed;
	z-index: 100;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0em;
	text-align: center;
	/* background-color:rgba(255,255,255,0.90); */
	background:linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7));
	-webkit-transform: translate3d(0, 0, 0);
	border-top:#fff solid 1px;
}
.bar img {																					/* BOUTONS BAS */
	width:34px;
	height:34px;
	background-color:none;
	padding:0.15em;
	opacity:0.9;
}
.bar button {
	margin-left:1.5em;
	margin-right:1.5em;
}

.filter__item .invert {
	filter: invert(1);
	-webkit-filter: invert(1);
	-moz-filter: invert(1);
	-o-filter: invert(1);
	-ms-filter: invert(1);
}
.invert {
	filter: invert(1);
	-webkit-filter: invert(0);
	-moz-filter: invert(0);
	-o-filter: invert(0);
	-ms-filter: invert(0);
}

.flexbox .filter {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}

/* Filter */

.filter__label {
	font-size: 1em;
	display: inline-block;
	margin: 0;
	font-weight: 0;
	color: #fff;
}

.filter__item {
	font-weight: 0;
	margin: 0;																/* margin: 0 2%; */
	padding: 0;
	vertical-align: middle;
	color: #a3a3b3;
	border: 1px solid transparent;
		height: 100%;
		padding: 0.7em .1em;
		border: none;
}
.filter__item .action__text {
	display:none;																/* TEXTE SOUS ICONES BOUTONS */
}

.filter__item--selected {
	color: #000;
	border:solid 1px #fff;
	border-radius:0em;
	background-color:#fff;
}

.filter__item--selected .icon {
	filter: invert(1);
	-webkit-filter: invert(1);
	-moz-filter: invert(1);
	-o-filter: invert(1);
	-ms-filter: invert(1);
	
	filter: contrast(0%);
	-webkit-filter: contrast(0%);
	-moz-filter: contrast(0%);
	-o-filter: contrast(0%);
	-ms-filter: contrast(0%);
	
	filter: saturate(0%);
	-webkit-filter: saturate(0%);
	-moz-filter: saturate(0%);
	-o-filter: saturate(0%);
	-ms-filter: saturate(0%);
	
	filter: brightness(0);
	-webkit-filter: brightness(0);
	-moz-filter: brightness(0);
	-o-filter: brightness(0);
	-ms-filter: brightness(0);
}

.filter__item .icon {
	font-size: 1.75em;
	display: block;
}

/* Shopping cart */

.cart {
	display:none;
	font-size: 1.75em;
	position: absolute;
	top: 0;
	right: -3%;
	overflow: hidden;
	height: 100%;
	padding: 0 1.195em;
	cursor: pointer;
	color: #abacae;
	border: none;
	background-color: #131415;							/* BOUTON MAIL */
}

.no-touch .cart:focus,
.no-touch .cart:hover {
	color: #fff;
	outline: none;
}

.cart--animate .cart__icon {
	-webkit-animation: cartAnim .4s forwards;
	animation: cartAnim .4s forwards;
}

@-webkit-keyframes cartAnim {
	50% {
		opacity: 0;
		-webkit-transform: translate3d(50px, 0, 0);
		transform: translate3d(50px, 0, 0);
	}
	51% {
		opacity: 0;
		-webkit-transform: translate3d(-50px, 0, 0);
		transform: translate3d(-50px, 0, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes cartAnim {
	50% {
		opacity: 0;
		-webkit-transform: translate3d(50px, 0, 0);
		transform: translate3d(50px, 0, 0);
	}
	51% {
		opacity: 0;
		-webkit-transform: translate3d(-50px, 0, 0);
		transform: translate3d(-50px, 0, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

.cart__count {
	font-size: 9px;
	font-weight: bold;
	line-height: 15px;
	position: absolute;
	top: 50%;
	right: 20px;
	width: 15px;
	height: 15px;
	margin: -16px 0 0 0;
	text-align: center;
	color: #fff;
	border-radius: 50%;
	background: #5c5edc;
}

.cart--animate .cart__count {
	-webkit-animation: countAnim .4s forwards;
	animation: countAnim .4s forwards;
}

@-webkit-keyframes countAnim {
	50% {
		opacity: 0;
		-webkit-transform: translate3d(0, 80px, 0);
		transform: translate3d(0, 80px, 0);
	}
	51% {
		opacity: 0;
		-webkit-transform: translate3d(0, -80px, 0);
		transform: translate3d(0, -80px, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes countAnim {
	50% {
		opacity: 0;
		-webkit-transform: translate3d(0, 80px, 0);
		transform: translate3d(0, 80px, 0);
	}
	51% {
		opacity: 0;
		-webkit-transform: translate3d(0, -80px, 0);
		transform: translate3d(0, -80px, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
/* Resize grid items on smaller screens */

@media screen and (max-width: 65em) {
	.bar {
		padding: 0em;
		/* background-color:#FF0;					/* JAUNE */
	}
	.bar img {																					/* BOUTONS BAS */
		width:30px;
		height:30px;
		padding:0.15em;
	}
	.filter__item {
		height: 100%;
		padding: 0.7em .1em;
		border: none;
	}
	.grid__sizer,
	.grid__item,
	.grid__item--size-40 {
		width: 20%;
	}
	.bar button {
		margin-left:0.9em;
		margin-right:0.9em;
	}
}

@media screen and (max-width: 50em) {
	.bar {
		padding: 0em;
		/* background-color:#39F;					/* BLEU */
	}
	.bar img {																					/* BOUTONS BAS */
		width:25px;
		height:25px;
		padding:0.10em;
	}
	.filter__item {
		height: 100%;
		padding: 0.7em .1em;
		border: none;
	}
	.grid__sizer,
	.grid__item,
	.grid__item--size-40 {
		width: 30%;
	}
	.bar button {
		margin-left:0.6em;
		margin-right:0.6em;
	}
}

@media screen and (max-width: 40em) {
	.bar {
		padding: 0em;
		/* background-color:#CF0;					/* VERT */
	}
	.bar img {																					/* BOUTONS BAS */
		width:24px;
		height:24px;
	}
	.bar button {
		margin-left:0.4em;
		margin-right:0.4em;
	}/*
	.flexbox .filter {
		-webkit-justify-content: space-around;
		justify-content: space-around;
	}*/
	.filter__item {
		height: 100%;
		padding: .5em .1em;
		border: none;
	}
	.filter__item .icon {
		display: inline-block;
	}
	.filter__label,
	.action__text {
		display: none;
	}
	.grid__sizer,
	.grid__item,
	.grid__item--size-40 {
		width: 33.33333%;
	}
	.cart {
		font-size: 0.5em;
	}
}

@media screen and (max-width: 25em) {
	.slider__item {padding: 1.5em 1.5em 1em;}
	.no-touch .slider {padding: 0 0 1.25em;}								/* ESPACE ENTRE LA PHOTO ET LES 3 POINTS */
	.slider__item {padding: 1.5em 0em 0em;}
	.no-touch .slider {padding: 0 0 0em;}								/* ESPACE ENTRE LA PHOTO ET LES 3 POINTS */
	.meta {padding: 1.5em 1.5em 1em;}
	.bar {
		padding: 0;
		/* background-color:#F0C;				/* VIOLET PORTABLE SAMSUNG*/
	}
	.bar img {																					/* BOUTONS BAS */
		width:22px;
		height:22px;
	}
	.bar button {
		margin-left:auto;
		margin-right:auto;
	}
	.grid {
		margin-top:7em;
	}
	.grid {
		max-width: 100%;
	}
	.grid__loader {
		margin: 0 auto;
	}
	.grid__sizer,
	.grid__item,
	.grid__item--size-40 {
		width: 100%;
	}
	.action--buy {
		font-size: 1.5em;
		padding: 1.15em 1.5em;
		-webkit-tap-highlight-color: transparent;
	}
	.cart {
		font-size: 0.1em;
	}
}
@media screen and (max-width: 15em) {
	.slider__item {padding: 1.5em 1.5em 1em;}
	.meta {padding: 1.5em 1.5em 1em;}
	.bar {
		padding: 0;
		/* background-color:#F9F;				/* ROSE */
	}
	.bar img {																					/* BOUTONS BAS */
		width:22px;
		height:22px;
	}
	.bar button {
		margin-left:auto;
		margin-right:auto;
	}
	.grid {
		margin-top:50em;
	}
	.grid {
		max-width: 100%;
	}
	.grid__loader {
		margin: 0 auto;
	}
	.grid__sizer,
	.grid__item,
	.grid__item--size-40 {
		width: 100%;
	}
	.action--buy {
		font-size: 1.5em;
		padding: 1.15em 1.5em;
		-webkit-tap-highlight-color: transparent;
	}
	.cart {
		font-size: 0.1em;
	}
}