
.dietetique {
	--color: var(--prod-color-dietetique);
	--head-image : url(../images/dietetique-categorie-head.png);
}
.elevage {
	--color: var(--prod-color-elevage);
	--head-image : url(../images/elevage-categorie-head.png);
}

.sport {
	--color: var(--prod-color-sport);
	--head-image : url(../images/sport-categorie-head.png);
}

.bien-etre {
	--color: var(--prod-color-bien-etre);
	--head-image : url(../images/bien-etre-categorie-head.png);
}

.prairie  {
	--color: var(--prod-color-prairie);
	--head-image :url(../images/prairie-categorie-head.png);
}


section .produits article .texte {
	background-color: var(--color);	
}

section .produits article .texte h3,
section .produits article .texte>div,
section article .texte>div * {
	color: #ffffff;
}


/* --------- section.category --------- */

section.category h1 {
	width: auto;
}

section.category .head {
	display: block;
	position: relative;
	width: 100%;
	max-width: 900px;
	min-height: 250px;
	background-repeat: no-repeat;
	background-color: #ffffff;
	background-size: 100%;
	padding: 1px 0 0 0;
	margin: -1px auto 0 auto;
	padding-bottom: 0px;
}

section.category .head {
	background-image: var(--head-image);
}

section.category .head h2 {
	display: block;
	position: relative;
	font-family: 'open-sans-bold';
	font-size: 25px;
	color: #000000;
	letter-spacing: -0.02em;
	margin-left: 20px;
}

section.category .head .description {
	font-family: 'open-sans-light';
	font-size: 16px;
	color: #333;
	display: block;
	position: relative;
	line-height: 20px;
	letter-spacing: -0.01em;
	width: calc(100% - 50%);
	margin-top: 170px;
	margin-left: 45%;
	text-align: right;
	padding-bottom: 1px;
}

section.category .head .description * {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-align: inherit;
}

section.category .head .description h2 {
	font-family: 'open-sans-semi-bold' !important;
	font-size: 18px !important;
	letter-spacing: -0.02em !important;
	margin-bottom: 5px !important;
	display: block !important;
}

section.category hr {
	margin-top: 20px;
	margin-bottom: 20px;
}



/* ------------ ------------ */

section.category .produits {
	background-color: #fff;
}

section.category .articles {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 900px;
	margin-left: 0px;
	background-color: #ffffff;
	padding: 20px;
	padding-bottom: 20px;
	padding-top: 5px;
	margin-bottom: 0px;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
}

section.category .articles article {
	display: inline-block;
	position: relative;
	width: 270px;
	height: 220px;
	margin-right: 20px;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 5px;
}

section.category .articles article:nth-child(3n) {
	margin-right: 0px;
}

section.category .articles article .photo {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 1;
	overflow: hidden;
}

section.category .articles article .photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

section.category .articles article .texte {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: var(--cat-article-top);
	left: 0px;
	z-index: 2;
	background-color: var(--color);
	padding: 10px;
	padding-top: 0px;
	overflow: hidden;
	text-decoration: none;
}

section.category .articles article .texte h3 {
	display: flex;
	font-family: 'open-sans-light';
	font-size: 16px;
	color: #ffffff;
	letter-spacing: 0em;
	line-height: 1.1;
	margin-bottom: 10px;
	text-decoration: none;
	text-align: center;
	height: 60px;
	align-items: center;
	justify-content: center;
}

section.category .articles article .texte>div,
section.category article .texte>div * {
	display: flex;
	font-family: 'open-sans-light';
	color: #ffffff;
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 0.02em;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	padding: 10px;
}


/* ------------ ------------ */


section.category.sport .head h2,
section.category.sport .produits.aliment+h2 {
	color: var(--prod-color-sport);
}

section.category.bien-etre .head h2,
section.category.bien-etre .produits.aliment+h2 {
	color: var(--prod-color-bien-etre);
}

section.category.elevage .head h2,
section.category.elevage .produits.aliment+h2 {
	color: var(--prod-color-elevage);
}

section.category.dietetique .head h2,
section.category.dietetique .produits.aliment+h2 {
	color: var(--prod-color-dietetique);
}

section.category.prairie .head h2,
section.category.prairie .produits.aliment+h2 {
	color: var(--prod-color-prairie);
}

section.category .produits h2 {
	display: block;
	position: relative;
	width: 100%;
	font-family: 'open-sans-light';
	font-size: 30px;
	letter-spacing: -0.03em;
	text-align: left;
	margin: 0;
	padding-top: 30px;
	padding-left: 20px;
	padding-bottom: 30px;
}

.head h2,
.produits.aliment+h2 {
	color: var(--color);
}

section.category .produits:nth-child(1) h2 {
	padding-top: 0px;
	font-size: 40px;
	margin-top: -20px;
}

/*
section.category.dietetique .head h2,
section.category.dietetique .produits h2 {
	color: var(--prod-color-dietetique);
}

section.category.sport .head h2,
section.category.sport .produits h2 {
	color: var(--prod-color-sport);
}

section.category.bien-etre .head h2,
section.category.bien-etre .produits h2 {
	color: var(--prod-color-bien-etre);
}

section.category.elevage .head h2,
section.category.elevage .produits h2 {
	color: var(--prod-color-elevage);
}

section.category.prairie .head h2,
section.category.prairie .produits h2 {
	color: var(--prod-color-prairie);
}
*/