/*
Theme Name: Equi-Nutri
Text Domain: twentysixteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


aside .area{
	display: none;
}

:root{
	--fnt-size: 17px;
	--clr-pri: #82bf3f;
	--clr-hover: #62a11c;
	--clr-txt: #000;
	--site-width: 1200px;
}

body{
	font-size: var(--fnt-size);
	font-family: futura-pt, sans-serif;
	font-weight: 400;
	font-style: normal;
	color: var(--clr-txt);
}
.wrap{
	max-width: var(--site-width, 1200px);
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

#content{
	padding-bottom: 70px;
}

body:not(.home, .page-template-template-stores) #content{
	padding-top: 40px;
}

.content-area{
	align-items: flex-start;
	gap: 50px;
}

header{
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
	background: #fff;
	transition: box-shadow 0.2s;
	height: 130px;
	transition: height 0.2s;
}
header #logo svg{
	display: block;
	height: 90px;
	margin: 0;
	transition: height 0.2s;
}
header main.wrap{
/*	background: url( 'assets/img/plants.png') bottom right no-repeat;*/
	padding: 5px 20px;
	transition: padding 0.2s;
	height: 100%;
	align-items: center;
}
header .mobile-container{
	flex-direction: column;
	--nav-space: 20px;
	height: 100%;
}

header nav.secondary{
	justify-content: flex-end;
	align-items: center;
	gap: var(--nav-space);
}
header nav.secondary a{
	display: inline-flex;
	align-items: center;
}
header nav.secondary a svg{
	font-size: 16px;
}
header nav.secondary .menu > li{
	display: inline-flex;
	list-style: none;
}
header nav.secondary .buttons{
	align-items: center;
	gap: 10px;
}
header nav.secondary .user svg{
	font-size: 16px;
}
@media (min-width: 1025px){
	header:not(.scroll) div.contact{
		padding-right: var(--nav-space);
		border-right: 1px solid #d8d8d8;
	}
	header:not(.scroll) .info{
		margin-left: var(--nav-space);
	}
	header:not(.scroll) nav.secondary .menu > li + li{
		margin-left: 10px;
	}
}
header .wpml-ls{
	padding: 0;
	border: none;
}
header .wpml-ls a{
	display: block;
	padding: 2px;
	line-height: 1;
}
header .wpml-ls li[class*="current"] a{
	font-weight: 500;
	color: var(--clr-pri);
}
#page header nav.secondary a:hover{
	color: var(--clr-hover);
}
header nav.secondary .search-form{
	position: relative;
	overflow: hidden;
	transition: flex 1s cubic-bezier(.5, 0, 0, 1);
}

@media (min-width: 1025px){
	header .menu-item-has-children:hover ul.sub-menu{
		display: block;
	}
}

footer{
	border-top: 1px solid #e7e7e7;
	padding: 20px 0;
}

footer .wrap.flex{
}
footer .flex > div{
	flex: 1;
	position: relative;
}
footer .flex > div:nth-child(2){
	border-left: 1px solid #e7e7e7;
	padding-left: 3rem;
}

footer .menu{
	column-count: 2;
}
footer .menu li{
	list-style: none;
}

footer .partners a{
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}
footer .partners a + a{
	margin-top: 15px;
}
footer .partners span{
	width: 100%;
	max-width: 230px;
}

footer a.btn{
	padding: 8px 20px;
	font-size: 14px;
}
footer span.info{
	display: block;
	margin-bottom: 10px;
}
footer .socials{
	position: absolute;
	top: 0;
	right: 0;
}
footer .socials a{
	margin-left: 10px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 32px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
}
footer .socials a svg{
	margin: 0;
}

/* MAIN NAV */
nav.primary{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 10px;
}
nav.primary a{
	font-size: 16px;
	position: relative;
	display: flex;
	align-items: center;
}
nav.primary ul.menu{
	display: flex;
	list-style: none;
	margin-right: 30px;
}
nav.primary ul.menu > li{
	padding: 0 10px;
	display: flex;
	align-items: center;
	gap: 5px;
	position: relative;
}
nav.primary ul.menu > li > a{
	text-transform: uppercase;
}
nav .carret svg{
	margin: 0;
	font-size: 0.7rem;
}
/*
nav.primary li[class*="current"] > a::before{
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 2px;
	background: var(--clr-pri);
	bottom: -10px;
}
*/
body.single-product nav.primary li.product > a,
body.tax-groups nav.primary li.product > a,
body.tax-areas nav.primary li.areas > a,
nav li[class*="current"] > a{
	color: var(--clr-pri);
}
#page nav.primary a:not(.btn):hover,
nav.primary .sub-menu li a:not(.btn):hover{
	color: var(--clr-hover);
}

nav.primary a.btn{
	border: none;
/*	box-shadow: 2px 2px 6px rgb(0 0 0 / 55%);*/
}

/* Dropdown */
nav.primary .sub-menu{
	background: #fff;
	box-shadow: 1px 1px 5px 0px rgb(0 0 0 / 10%);
	padding: 10px 0;
	list-style: none;
}
nav.primary .sub-menu li a{
	display: block;
	padding: 5px 20px;
}
/*
nav.primary li.menu-item-has-children > a::after{
	content: '';
	width: 0;
	height: 0;
	display: inline-block;
	border-style: solid;
	border-color: currentColor transparent transparent transparent;
	border-width: 6px 3px 0 3px;
	margin-left: 5px;
}
*/
.desktop-nav-trigger{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #fff;
	color: #666;
	border: 1px solid currentColor;
	margin-left: 10px;
	cursor: pointer;
	display: none;
}
.desktop-nav-trigger:hover{
	color: var(--clr-pri);
}

/*FIXED HEADER*/
header nav.secondary .webshop,
header nav.secondary .search-trigger,
header nav.secondary .search-form,
header.scroll nav.primary .webshop{
	display: none;
}
@media (min-width: 1025px){
	body:not(.home) header{
		box-shadow: 0 0 15px 0px rgb(0 0 0 / 5%);
	}
	#page header.scroll{
		height: 70px;
		box-shadow: 0 0 20px 0px rgb(0 0 0 / 15%);
	}
	header.scroll main{
		background: none;
		padding: 10px 20px;
		align-items: center;
	}
	header.scroll #logo svg{
		height: 50px;
	}
	header.scroll .mobile-container{
		justify-content: center;
	}
	header.scroll .desktop-nav-trigger{
		display: flex;
	}
	header.scroll .desktop-container {
		position: fixed;
		width: 250px;
		height: 100%;
		right: 0;
		top: 70px;
		background: #fff;
		padding: 20px;
		margin: 0;
		transform: translateX( calc(100% + 15px) );
		transition: transform 0.3s;
		opacity: 0;
		border-top: 1px solid #f2f2f2;
		box-shadow: 0 15px 15px 0px rgb(0 0 0 / 15%);
	}
	header .desktop-container.open{
		opacity: 1;
		transform: translateX(0);
	}
	header.scroll nav.secondary .webshop,
	header.scroll nav.secondary .search-trigger,
	header.scroll nav.secondary .search-form{
		display: inline-flex;
	}
	header.scroll a.btn{
		padding: 6px 15px;
	}
}
header.scroll nav.primary{
	margin-bottom: 0;
}
header.scroll nav.primary a.btn{
	box-shadow: none;
	color: #666;
	border: 1px solid currentColor;
}
header.scroll nav.secondary{
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
header.scroll nav.secondary .menu > li,
header.scroll .info{
	display: block;
	margin: 0 0 10px;
}

aside{
	width: 220px;
	border-right: 1px solid #efefef;
	padding-right: 20px;
}
aside > strong{
	display: block;
	font-size: 18px;
	margin-bottom: 10px;
}
aside li{
	list-style: none;
	padding: 5px 0;
}
aside li[class*="current"] > a{
	color: var(--clr-pri);
}
aside li ul[class*="sub-menu"]{
	display: none;
	padding-left: 2rem;
}
aside li[class*="current"] ul[class*="sub-menu"]{
	display: block;
}
aside + .entry-content{
	flex: 1 0;
}

.site-content + section.labels{
	padding: 20px 0;
	border-top: 1px dashed #efefef;
}
.single-product section.labels{
	display: none;
}
.entry-content section.labels > .flex{
	margin-bottom: 30px;
	align-items: flex-start;
}
section.labels .flex{
	flex: 1;
	justify-content: flex-start;
	gap: 1rem;
}
section.labels h3{
	flex-basis: 100%;
	margin-bottom: 10px;
}
section.labels img{
	width: auto;
	max-height: 70px;
}


section.category__container{
	display: flex;
	padding-top: 1rem;
	gap: 3rem;
}
section.category__container aside{
	display: flex;
	width: 250px;
	gap: 2rem;
	flex-direction: column;
	overflow: hidden;
}
section.category__container aside h3{
	margin-bottom: 1rem;
}
section.category__container aside ul.groups a{
	display: flex;
	font-size: 1.2rem;
	align-items: center;
	gap: 10px;
}
section.category__container aside ul.groups svg{
	width: 35px;
	border: 2px solid currentColor;
	border-radius: 50%;
	padding: 0.2rem;
}
.filters{
	display: flex;
	flex-direction: column;
	gap: 5px;
	list-style: none;
}
.filters > *{
	background: #fff;
	padding: 6px 12px;
	border-radius: 50px;
	border: 2px solid currentColor;
	transition: background 0.2s, color 0.2s;
	cursor: pointer;
	font-size: 18px;
}
.filters[data-filter-group="uc"]{
	flex-direction: row;
	color: var(--clr-pri);
}
aside .nutri-block + .filters[data-filter-group="uc"]{
}
.filters[data-filter-group="uc"] li{
	display: flex;
	justify-content: center;
	flex: 1;
}
.filters span{
	display: flex;
	align-items: center;	
}
.filters > *:is(.selected, :hover){
	background: currentColor;
}
.filters > *:is(.selected, :hover) span{
	color: #fff;
}
.filters svg{
	height: 25px;
	transform: translateX(-9px);
}


/*PRODUCT LIST*/
section.products{
	width: 100%;
	flex: 1;
}
section.products.areas{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
	grid-row-gap: 2rem;
}
section.products .isotope{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
	grid-gap: 2rem 1rem;
/*	width: 860px;*/
}

.packshot{
	position: relative;
}
.products figure{
	--padding: 5px;
	margin: 25px 20px 0;
/*	height: 287px;*/
	text-align: center;
	position: relative;
	min-height: 232px;
	max-width: calc(220px + (2*var(--padding))  + 2px);
	padding: var(--padding);
	border: 1px solid #fff;
	border-radius: 5px;
}
.products figure:hover{
	border-color: currentColor;
}
.products figure:hover figcaption{
	opacity: .8;
}
.products figure img{
	width: 220px;
	height: 220px;
}
.products .packshot,
.flex.composition .packshot{
	display: inline-block;
	transition: scale 0.2s;
	outline-color: white;
	outline-style: solid;
	outline-offset: -1px;
	outline-width: 2px;
}
.products figcaption{
	text-align: center;
	display: block;
	color: #fff;
	margin: 0;
	border-radius: 5px;
	font-size: 14px;
	transition: filter 0.2s;
	width: 100%;
	bottom: 0;
}
.products figcaption a{
	color: #fff;
	height: 50px;
	font-size: 1rem;
	padding: 5px;
	text-decoration: none;
}
.products .C figcaption a{
	/*text-transform: uppercase;*/
}
.products figcaption svg{
	width: 26px;
	height: 26px;
	position: absolute;
	top: 3px;
	right: 3px;
	margin-right: 0;
}
.tax-areas .products figcaption svg{
	display: none;
}



section.product-groups{
	justify-content: center;
	position: relative;
}
section.product-groups.small{
	width: max-content;
	margin: 0 auto 50px;
}
section.product-groups::after{
	content: '';
	height: 5px;
	background: #c8d89f;
	position: absolute;
	top: calc(50% - 25px);
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	z-index: -1;
}
section.product-groups > h2{
	flex-basis: 100%;
	text-align: center;
	margin-bottom: 30px;
}
section.product-groups figure{
	margin: 0 30px;
	flex-direction: column;
	align-items: center;
	position: relative;
	flex: 1;
}
section.product-groups figure > a{
	border-radius: 50%;
	overflow: hidden;
	display: block;
	margin-bottom: 15px;
	transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
	width: 195px;
	background: #fff;
	color: #c8d89f;
	border: 4px solid #c8d89f;
}
.home section.product-groups figure > a{
	/*box-shadow: 0 0 0 5px #c8d89f;*/
}
section.product-groups.small figure > a{
	width: 150px;
}
section.product-groups figure svg{
	transform: scale(0.6);
	transition: transform 0.2s, color 0.2s;
}
section.product-groups figure.current > a{
	background: var(--clr-pri);
	border-color: var(--clr-pri);
	color: #fff;
}
section.product-groups figure:hover > a{
	background: var(--clr-hover);
	transform: scale(1.05);
	border-color: var(--clr-pri);
}
.home section.product-groups figure:hover > a{
	/*box-shadow: 0 0 0 5px var(--clr-hover);*/
}
section.product-groups figure:hover svg{
	transform: scale(0.65);
}
section.product-groups strong{
	text-transform: uppercase;
}
section.product-groups a{
	display: block;
	text-align: center;
}

section.home-bottom{
	gap: 100px;
	position: relative;
}
section.home-bottom::after{
	content: '';
	position: absolute;
	width: 1px;
	height: 100%;
	background: #e7e7e7;
	top: 0;
	left: 50%;
}
section.home-bottom > div{
	flex: 1;
}
section.home-bottom article{
	border-left: 4px solid #000;
	padding-left: 20px;
	flex-flow: row;
	align-items: flex-start;
}
section.home-bottom article > div{
	padding-left: 30px;
}
section.home-bottom article img{
	border: 1px solid #e5e5e5;
}


.wp-block-media-text.products{
	margin-bottom: 80px;
	background: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 214.1 126.7'><path fill='%23fafafa' d='M109.1,117.3c7.7-1.1,29.5-3.7,48.9-13.2c19.8-8.1,37-23.1,46.7-21.1c4.6,3.1,5.7,11,3.5,16.7C199.4,119.3,155.8,128.1,109.1,117.3'/><path fill='%23fafafa' d='M109.8,113.1c6.4-4,24.2-14.3,38.1-29.5c14.8-14.3,25.5-33.7,34.4-35.5c4.6,0.9,7.5,7,7,12.8C187.1,80.7,152.3,104.7,109.8,113.1'/><path fill='%23fafafa' d='M110.5,110.2c3.5-5.3,13.7-19.8,19.8-36.3c6.8-16.1,9.9-34.4,15.6-39.2c3.5-1.3,7.3,2.2,8.6,6.6C157.8,56.7,138.9,87.5,110.5,110.2'/><path fill='%23fafafa' d='M56.1,104.1c-19.8-8.1-37-23.1-46.7-21.1c-4.6,3.1-5.7,11-3.5,16.7c8.6,19.6,52.2,28.6,98.9,17.6C97,116,75.2,113.3,56.1,104.1z'/><path fill='%23fafafa' d='M103.6,110.2c-3.5-5.3-13.7-19.8-20-36.3C76.8,57.8,73.7,39.5,68,34.7c-3.5-1.3-7.3,2.2-8.6,6.6C56.1,56.7,75,87.5,103.6,110.2'/><path fill='%23fafafa' d='M104.1,113.1c-6.4-4-24.2-14.3-38.1-29.5C51.2,69.3,40.4,49.9,31.6,48.1c-4.6,0.9-7.5,7-7,12.8 C26.8,80.7,61.6,104.7,104.1,113.1'/><path fill='%23fafafa' d='M107.2,115.5C96.4,130,118.2,130,107.2,115.5'/><path fill='%23fafafa' d='M107.2,113.8C169.5-37.5,45.1-37.5,107.2,113.8'/></svg>");
	background-position: 190px 0;
	background-repeat: no-repeat;
	min-height: 340px;
}
.home #content .wp-block-media-text{
	grid-template-columns: auto !important;
}
.home #content .wp-block-media-text figure{
	justify-self: center;
}
.home #content .wp-block-media-text img{
	width: auto;
}
.home #content .wp-block-media-text h2{
	font-size: 40px;
	margin-bottom: 15px;
}
.home #content .wp-block-media-text h2 strong{
	display: block;
	text-indent: -30px;
	text-transform: initial;
	font-size: 30px;
	font-weight: 100;
}

/*DOMAINS*/
.tax-areas h1{
	display: flex;
}
.tax-areas h1 svg{
	height: 40px;
	margin-right: 10px;
}
.areas-circle{
	background: url('assets/img/circle-bg.jpg') center no-repeat;
	width: 800px;
	height: 800px;
	position: relative;
	margin: 40px auto;
	--icon-size: 45px;
}
.areas-circle::before,
.areas-circle::after{
	content: '';
	width: 465px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 3px solid #e7e7e7;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.areas-circle::after{
	width: 665px;
	border: 10px solid #e7e7e7;
	z-index: -1;
}
.areas-circle > div{
	position: absolute;
	width: var(--icon-size);
	height: var(--icon-size);
	opacity: 0;
	transition: opacity 0.2s;
}
.areas-circle > div h2{
	text-align: center;
	position: absolute;
	top: -5px;
	left: 50%;
	transform: translateY(-100%) translateX(-50%);
	width: 185px;
	padding: 0 20px;
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	transition: transform 0.4s;
}
.areas-circle > div:hover h2{
	transform: translateY(-125%) translateX(-50%);
}
.areas-circle > div .icon{
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 100%;
	cursor: pointer;
	border-radius: 50%;
	transition: transform 0.4s;
}
.areas-circle svg{
	width: var(--icon-size);
	height: var(--icon-size);
	background: #fff;
	border-radius: 50%;
}
.areas-circle > div:hover .icon{
	transform: scale(1.2);
	transform-origin: center;
}

/*SINGLE PRODUCT*/
.single-product .atts{
	flex: 1;
	max-width: 900px;
}

.single-product .header{
	background: var(--theme-color);
	align-items: center;
	padding: 10px;
	border-radius: 12px 12px 0 0;
}
.single-product .header div.title{
	max-width: 50%;
	line-height: 1;
}
.single-product .header div.title *{
	color: #fff;
}
.single-product .header h1{
	margin-block: 5px;
}
.single-product .wrapper{
	border: 1px solid var(--theme-color);
	border-radius: 0 0 12px 12px;
	padding: 0 40px 0;
}
.single-product div.webshop{
	text-align: center;
}
.single-product .wrapper p.caution{
	border-top: 1px dashed #e2e2e2;
	padding-top: 15px;
	font-size: 12px;
	color: #939393;
}
.single-product .toolbar{
	justify-content: flex-end;
	gap: 2rem;
	align-items: center;
	padding-block: 10px;
	border-bottom: 1px dashed #e2e2e2;
}
.toolbar .areas svg{
	display: block;
	height: 40px;
	margin-left: 10px;
	transition: transform 0.2s;
	color: var(--theme-color);
}
.toolbar .areas svg:hover{
	transform: scale(1.1);
}
.toolbar .pro-content{
	margin-right: auto;
}

.single-product .quantity{
	align-items: center;
}
.single-product .quantity img{
	height: 40px !important;
	margin-right: 10px;
}
.single-product .entry-content{
	padding: 20px 0 0;
}
.single-product .buds{
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #efefef;
}
.single-product #content .wrapper a:hover{
	color: var(--theme-color);
	border-color: currentColor;
}

.ressource .files{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 1rem;
}
.ressource ul.books{
	margin-top: 1rem;
	border-top: 1px solid #efefef;
	padding-top: 1rem;
	list-style: none;
	flex-direction: column;
	gap: 0.4rem;
}
.ressource ul.books strong{
	color: var(--theme-color);
}

.page-template-my-account h1{
	margin-bottom: 0;
}
.pro__container{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
	gap: 1rem;
}
.pro__container figure{
	text-align: center;
	margin: 0 auto;
}
#content .pro__container figure > a{
	border-radius: 50%;
	overflow: hidden;
}
#content .pro__container figure img{
	aspect-ratio: 1;
	width: 170px;
}
#content .pro__container figcaption{
	font-size: .9rem;
}
.pro__container h3 a{
	font-size: 1.3rem;
	text-decoration: none;
}


.flex.partners{
	align-items: center;
	gap: 3rem;
	justify-content: center;
}


/*STYLES*/
:not(.isotope) > figure{
	margin: 0;
	max-width: fit-content;
}
:not(.isotope) > figcaption a{
	display: flex;
	align-items: center;
	justify-content: center;
}
:not(.isotope) > figure a:has(img){
	display: inline-block;
	overflow: hidden;
	border-radius: 8px;
}
:not(.isotope) > figure a img{
	transition: scale 0.2s;
	display: block;
}
:not(.isotope) > figure a img:hover{
	scale: 1.03;
}

figure.biodome-packshot{
	width: 300px;
	aspect-ratio: 2 / 3;
	overflow: hidden;
}
#content figure.biodome-packshot img{
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.entry-content a:not(.btn, .wp-block-button__link){
	text-decoration: underline;
}
a:hover{
	color: var(--clr-hover);
}
a.btn,
#content .wp-block-button a{
	display: inline-flex;
	align-items: center;
	background: #fff;
	border: 1px solid #666666;
	padding: 8px 25px;
	width: max-content;
	border-radius: 50px;
	font-size: var(--fnt-size);
	color: #000;
}
a.btn:hover,
#content .wp-block-button a:hover{
	color: var(--clr-hover);
	border-color: var(--clr-hover);
}
#content .wp-block-button.green a{
	background: var(--clr-pri);
	color: #fff;
	border: none;
	transition: background 0.2s;
}
#content .wp-block-button.green a:hover{
	background: var(--clr-hover);
}

a.btn.round{
	padding: 0;
	width: 40px;
	aspect-ratio: 1;
	justify-content: center;
}
a.btn.round svg{
	margin: 0;
}

a.btn.webshop{
	background: var(--clr-pri);
	color: #fff;
	border: 0;
}
a.btn.webshop:hover{
	background: var(--clr-hover);
}

.atts a.btn.webshop{
	background: #fff;
	border: 2px solid #fff;
	font-weight: 500;
	color: var(--theme-color);
}
.atts a.btn.webshop:hover{
	color: #fff;
	background: none;
}
.modal a.btn.webshop{
	color: #000;
	border-color: currentColor;
}
.modal a.btn.webshop:hover{
	color: var(--theme-color);
}

h1{
	font-size: 2rem;
	margin-bottom: 1rem;
}
body:not(.home) h1{
	color: var(--clr-pri);
}
h1.primary{
	color: black !important;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 50px;
	font-weight: 500;
	font-size: 28px;
}
h2{
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}
.home h2{
	text-transform: uppercase;
	font-size: 28px;
	margin-bottom: 5px;
}
h3{
	font-size: 1.375rem;
}
.home h3{
	margin-bottom: 20px;
}
h3 a{
	text-transform: initial;
	font-size: var(--fnt-size);
	text-decoration: underline;
}
*.center{
	text-align: center;
}
strong{
	font-weight: 500;
}
img{
	display: block;
	max-width: 100%;
	height: auto;
}

.entry-content{
	width: 100%;
}
.entry-content ul,
.entry-content ol{
	padding-left: 17px;
	margin-bottom: 15px;
}

.wp-block-image{
	margin: 0 0 1em;
}

svg.svg-inline--fa{
    vertical-align: middle;
    margin-right: 5px;
    font-size: 20px;
    float: left;
}
svg.m-0{
	margin: 0;
}
.info a{
	display: inline-block;
}

header .socials{
	padding-left: 30px;
}
.socials a{
	font-size: 18px;
}
.socials a + a{
	margin-left: 10px;
}

.entry-content span.info{
	display: block;
	margin-bottom: 15px;
}
#content .entry-content a{
	text-decoration: none;
}

#content hr{
	margin: 50px auto;
	width: 30%;
	border: 0;
	border-bottom: 1px solid #e9e9e9;
}
#content .wp-block-column hr{
	margin: 20px 0;
}

/*BLOG*/
.grid{
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
}
.grid article{
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 0 6px 0 rgba(0,0,0, 5%);
}
.grid article a.image{
	margin-bottom: 0;
}
.grid article h3{
	margin-bottom: 5px;
}
.grid div.info{
	background: #fff;
	font-size: 13px;
	padding: 10px;
}
.grid article .date{
	font-size: 13px;
	text-transform: lowercase;
}

article .post-img a.zoombox{
	display: block;
	width: max-content;
	margin: 0 auto 20px;
}

section.tabs__container{
	gap: 2rem;
	padding-top: 2rem;
}
section.tabs__container .tabs{
	justify-content: flex-start;
	gap: 2px;
	border-bottom: 1px solid #efefef;
}
section.tabs__container .tabs > *{
	display: flex;
	align-items: center;
	padding: 0.5rem;
	font-size: 0.9rem;
	cursor: pointer;
	border-radius: 5px 5px 0 0;
}
section.tabs__container .tabs .selected{
	background: var(--theme-color);
	color: #fff;
}
section.tabs__container .tabs > *:not(.selected):hover{
	background: #f7f7f7;
}
.tabs-content{
	padding-block: 1rem;
}
.tabs-content > div:not(.open){
	display: none;
}
.single-product .wrapper ul{
	padding-left: 1.2rem;
	margin-bottom: 1rem;
}


.single-post-container{
	gap: 50px;
	align-items: flex-start;
}
.single-post-container article{
	flex: 1;
}
.single-post-container article img{
	display: inline-block;
}
.single-post aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.single-post aside article{
	display: flex;
	align-items: flex-start;
	width: 100%;
}
.single-post aside img{
	height: 80px;
	width: auto;
}
.single-post aside .info{
	padding: 0 10px;
}
.single-post aside h3{
	font-size: 14px;
	margin-bottom: 5px;
}
.single-post aside .date{
	font-size: 12px;
	margin-bottom: 5px;
}
.single-post aside .category{
	font-size: 12px;
}
.single-post aside .category::before{
	font-size: 12px;
	width: 20px;
	margin-right: 10px;
}


/*NF*/
#content .nf-before-form-content,
#content .nf-after-form-content{
	display: none;
}
#content .nf-form-content{
	max-width: 700px;
	padding: 0;
	display: flow-root;
}
#content .nf-form-content .nf-field-label{
	margin-bottom: 5px;
}
#content .nf-form-content label{
	font-size: var(--fnt-size);
}
#content .nf-error .ninja-forms-field{
	border-color: #ec6516;
}
#content .nf-error.field-wrap .nf-field-element:after{
	background: none;
	color: #ec6516;
	width: 30px;
}
#content .nf-error .nf-error-msg{
	color: #ec6516;
}
.nf-form-content .submit-container input[type=button]{
	float: right;
	cursor: pointer;
	padding: 0 30px;
	background: none;
	color: #000;
	border: 1px solid currentColor;
	border-radius: 50px;
}
.nf-form-content .submit-container input[type=button]:hover{
	color: var(--clr-pri);
	background: none;
}
.nf-response-msg{
	padding: 20px 20px 5px;
	background: #d8f3de;
	border: 1px solid #a2cca2;
	border-radius: 10px;
	color: #008000;
	margin-bottom: 30px;
}

#page .ms-bullets.ms-dir-h{
	position: static;
	display: flow-root;
	margin: 10px auto;
}
#page .ms-bullets.ms-dir-h .ms-bullets-count{
	right: 0;
}
#page .ms-skin-default .ms-bullet{
	width: 100%;
	max-width: 50px;
	height: 4px;
	background: #686868;
}
#page .ms-skin-default .ms-bullet-selected{
	background: var(--clr-pri);
}

.home .master-slider-parent{
	margin-bottom: 50px;
	min-height: 460px;
}
.ms-slide-info{
	display: flex;
	justify-content: flex-end;
	max-width: var(--site-width);
	left: 50%;
	transform: translateX(-50%);
	padding: 50px 0 0;
}
.ms-info-empty{
	display: none;
}
.ms-info{
	background: rgba(255,255,255,0.7);
	border-radius: 10px;
	max-width: 460px;
	backdrop-filter: blur(8px);
	padding: 20px 40px;
	text-align: center;
	margin-right: 20px;
}
.ms-info h3{
	font-size: 1.3rem;
	margin-bottom: 10px;
}
.ms-info a.btn{
	border: none;
	box-shadow: 2px 2px 6px rgb(0 0 0 / 40%);
}
#page .ms-info hr{
	margin: 20px auto;
	border-bottom: 3px solid #000;
	width: 50px;
}

/*INPUT*/
#content input:is([type="text"], [type="search"], [type="email"], [type="password"]),
#content select{
	height: 45px;
	border: 1px solid #ccc;
	border-radius: 50px;
	padding: 0 10px;
	width: 100%;
}
#content input[type="password"]{
	font-family: initial;
}
#content input[type="submit"]{
	cursor: pointer;
	float: right;
	padding: 10px 30px;
	background: none;
	color: #000;
	border: 1px solid currentColor;
	border-radius: 50px;
}
#content input[type="submit"]:hover{
	color: var(--clr-pri);
}


.card{
	border: 1px solid #efefef;
	border-radius: 1rem;
	padding: 2rem;
}

/*LOGIN*/
.login-wrapper{
	margin-bottom: 2rem;
}
.login-wrapper form{
	display: flow-root;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}
.login-wrapper label{
	display: block;
	margin-bottom: 1rem;
}
#content .register a{
	text-decoration: underline;
}

dl{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	width: fit-content;
	min-width: 250px;
}
dl dt{
	font-weight: 500;
	background: #f5f5f5;
	padding: 0.2rem 0.5rem;
}
dl dd{
	padding: 0.2rem 0.5rem;
}
ol{
	padding-left: 17px;
	margin-bottom: 1rem;
}


/*-----------------------------------------------
          ---- CSS SITE MOBILE ----
-----------------------------------------------*/
@media (min-width: 1025px){
	body.admin-bar{
		padding-top: 32px;
	}
	.mobile-nav-trigger,
	.aside__trigger{
		display: none;
	}
}

/*MOBILE BREAKPOINT*/
@media (max-width: 1024px){
	#wpadminbar{
		display: none;
	}
	#page{
		display: block;
	}
	.mobile-nav-trigger{
		display: inline-flex;
		top: 15px;
		left: 10px;
		width: 40px;
		height: 40px;
		font-size: 18px;
		padding: 12px;
	}

	header{
		overflow: visible;
		padding: 0 10px;
		margin: 0;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 8;
		height: 70px;
		background: #fff;
		display: flex;
		align-items: center;
		box-shadow: 0 0px 10px rgb(0 0 0 / 10%);
	}
	header main.wrap{
		margin: 0;
		padding-left: 10px;
		flex: 1;
		justify-content: center;
		background: none;
	}
	header .mobile-container {
		display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
		position: fixed;
		flex-wrap: nowrap;
		width: 250px;
		height: 100%;
		left: 0;
		top: 70px;
		background-color: #fff;
		padding: 10px;
		border-top: 1px solid #e7e7e7;
		margin: 0;
		overflow-y: auto;
		overflow-x: hidden;
		transform: translateX( calc(-100% - 15px) );
		transition-duration: 0.3s;
		box-shadow:  0 15px 15px 0px rgb(0 0 0 / 15%);
	}
	header .mobile-container.open{
		transform: translateX(0);
	}
	header nav.secondary .webshop,
	header nav.secondary .search-trigger{
		display: block;
	}
	nav.primary a.btn{
		display: none;
	}
	nav.primary ul.menu{
		margin-right: 0;
		flex-direction: column;
	}
	header nav.primary{
		margin-bottom: 20px !important;
		border-bottom: 1px solid #efefef;
	    padding-bottom: 10px;
	}
	header nav.secondary{
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	header nav{
		margin-bottom: 20px;
	}
	nav ul.menu{
		background: none;
		padding: 0;
		width: 100%;
	}
	header nav.secondary .menu > li{
		display: block;
	}
	header nav.secondary .menu > li,
	header .info {
		display: block;
	    margin: 0 0 10px !important;
	}
	nav ul.menu > li{
		height: auto;
		flex-wrap: wrap;
		padding: 0;
		margin: 0 0 10px;
		border: 0;
	}
	nav ul.menu > li a{
		display: block;
		text-align: left;
	}
	nav ul.menu > li a:hover{
		background: none;
	}
	nav .carret{
		margin-left: auto;
		background: #efefef;
		width: 1.6rem;
		aspect-ratio: 1 / 1;
		display: grid;
		place-content: center;
		border-radius: 4px;
	}
	nav .carret svg{
		font-size: 1rem;
	}
	nav .carret.open{
		color: var(--primary);
		border-color: currentColor;
	}
	header nav ul.sub-menu{
		display: none;
		position: static;
		width: 100%;
		transform: initial;
	}
	header nav .carret.open + ul.sub-menu{
		display: block;
	}
	nav ul.menu ul{
		width: 100%;
		position: static;
		margin-bottom: 20px;
		transform: initial;
	}
	header .wpml-ls{
		margin-bottom: 10px;
	}

	header #logo svg{
		height: 50px;
	}
	
	footer{
		padding: 15px 0;
	}
	footer span.top{
		display: none;
	}
	footer .wrap.flex{
		flex-direction: column;
	}
	footer .flex > div:nth-child(1){
		display: none;
	}
	footer .flex > div:nth-child(2){
		padding: 15px 0;
		margin: 0 0 15px;
		border-inline: 0;
		border-top: 0;
		border-bottom: 1px solid #e7e7e7;
	}
	footer .socials{
		position: static;
		margin: 20px 0 0;
	}
	footer .site-info{
		padding-top: 30px;
	}

	section.labels > .flex{
		justify-content: flex-start;
		gap: 20px;
	}

	aside{
		display: none;
	}
	.site-content + section.labels{
		display: none;
	}

	.home .master-slider-parent{
		margin-bottom: 0;
	}
	#content .ms-slide-info{
		position: static;
		transform: initial;
		padding: 0;
		margin-bottom: 30px;
		box-shadow: 0 5px 6px rgb(0 0 0 / 8%);
		min-height: initial !important;
	}

	section.product-groups{
		gap: 20px;
	}
	section.product-groups.small{
		width: 100%;
		margin-bottom: 20px;
	}
	section.product-groups.small figcaption{
		display: none;
	}
	section.product-groups::after{
		display: none;
	}
	section.product-groups figure{
		width: 50%;
		margin: 0;
	}
	section.product-groups figure > a,
	section.product-groups.small figure > a{
		width: 100%;
		aspect-ratio: 1 / 1;
		border-width: 2px;
	}

	section.category__container{
		flex-direction: column;
	}

	.filters{
		padding: 10px;
		border-radius: 15px;
	}
	.filters > *{
		margin: 5px;
	}

	.single-product .content-area{
		justify-content: center;
	}
	.single-product .atts{
		width: 100%;
	}
	.single-product .wrapper{
		padding: 0 20px 20px;
	}
	.single-product .header h1{
		font-size: 20px;
	}
	.atts .btn.login{
		font-size: 13px;
		margin-bottom: 10px;
	}
	.atts .btn{
		margin-bottom: 10px;
	}

	.home #content .wp-block-media-text h2{
		font-size: 30px;
	}

	.areas-circle{
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 5px;
		background: none;
	}
	.areas-circle::before,
	.areas-circle::after{
		display: none;
	}
	.areas-circle > div{
		position: static;
		display: flex;
		align-items: center;
		width: 100%;
		height: auto;
	}
	.areas-circle .icon{
		flex: 0;
	}
	.areas-circle > div h2{
		position: static;
		transform: initial !important;
		margin-bottom: 0;
		text-align: left;
		flex: 1;
	}

	h3 a{
		margin-top: 5px;
	}
	section.home-bottom article{
		flex-direction: column;
	}
	section.home-bottom article > div{
		padding: 20px 0 0;
	}

	section.home-bottom::after{
		display: none;
	}

	.nf-form-cont{
		width: 100%;
	}

	h1{
		margin-bottom: 0;
	}
	h2{
		font-size: 1.4rem;
	}
}

@media (max-width: 600px){
	.wp-block-media-text.products{
		background-position: center top;
	}
	.home #content .wp-block-media-text h2 strong{
		text-indent: 0;
	}
	#content .wp-block-media-text .wp-block-media-text__content{
		padding: 20px 0 0;
	}
}