/*
Theme Name: Flores 2024
Text Domain: promisys
Author: Promisys
Version: 1.0
*/

:root{
	--font-size: clamp(0.9rem, 4vw, 1rem);
	--color: #383838;
	--site-width: 110rem;

	--primary: #fecb2e;
	--hover  : #efb500;
	--accent : hsl(180, 18%, 96%);
}

body{
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-size: var(--font-size);
	line-height: 1.6;
	color: var(--color);
}

.wrap{
	width: min(100% - 3rem, var(--site-width));
	margin-inline: auto;
}
main{
	padding-block: 2rem;
}
body:not(.home) #primary{
	padding: 2rem 0 6rem;
}

section.banner{
	height: 800px;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	transition: height .2s;
}

header{
	--header-height: 130px;
	--gap: 2rem;
	display: flex;
	position: sticky;
	background: #fff;
	top: var(--adminbar-padding, 0);
	align-items: center;
	gap: var(--gap);
	transition: box-shadow 0.2s;
	z-index: 9;
}
header > .wrap.flex{

}
header.scroll{
	box-shadow: 0 -6px 18px #0000002b;
}

header .logo{
	padding-block: 10px;
}
header .logo svg{
	width: 85px;
}

header .woocommerce-user-nav{
	gap: 1rem;
}

button.mobile-nav-toggle{
	background: none;
	width: 50px;
	aspect-ratio: 1;
	display: grid;
	place-content: center;
	border-radius: 50rem;
	color: var(--color);
	cursor: pointer;
	padding: 0;
	border: 2px solid currentColor;
	font-size: 0.925rem;
}
button.mobile-nav-toggle:hover{
	color: #000;
}
button.mobile-nav-toggle[data-toggle="true"]{
	color: var(--primary);
}
.navigation__container{
	gap: var(--gap);
	align-items: center;
}
header nav.primary{
	background: #fff;
	position: fixed;
	inset: var(--header-height) 0 0 auto;
	padding: 2rem;
	width: min(80vw, 430px);
	translate: 100% 0;
	transition: translate 0.1s ease-out;
	z-index: 2;
}
header nav.primary[data-visible]{
	translate: 0 0;
	box-shadow: 0 13px 18px #0000000f;
}
header nav.primary > ul.menu{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
header nav.primary li.menu-item-has-children > div{
	display: flex;
	align-items: center;
	gap: 5px;
}
header nav.primary li.menu-item-has-children > ul{
	display: none;
}
header nav.primary li.menu-item-has-children ul a{
	font-size: 0.9rem;
	color: #6e6e6e;
}
header nav.primary li.menu-item-has-children ul a:hover{
	color: var(--hover);
}
header nav.primary div[data-visible] + ul{
	display: block;
}
header nav.primary a{
	text-transform: uppercase;
	font-weight: 900;
	font-size: 1rem;
	line-height: 1;
}
nav ul.menu li[class*="current"] > div > a,
.single-product nav ul.menu li.product > div > a,
.single-recipe nav ul.menu li.menu-item-object-recipe > div > a{
	color: var(--primary);
}

span.carret{
	width: 24px;
	aspect-ratio: 1;
	display: grid;
	place-content: center;
	border-radius: 50rem;
	color: var(--color);
	cursor: pointer;
	font-size: 1rem;
	border: 1px solid #fff;
}
span.carret:hover{
	color: var(--hover);
	border-color: currentColor;
}

header nav.primary ul[id*="menu-language-selector"]{
	display: none;
}
#menu-language-selector{
	display: flex;
	gap: 5px;
	list-style: none;
}
#menu-language-selector a{
	text-transform: uppercase;
	font-weight: 700;
}
#menu-language-selector li:not([class*="current"]) a{
	color: var(--color);
}

header nav a{
	color: var(--color);
	text-decoration: none;
}
header nav a:hover{
	text-decoration: none;
}
header nav a:hover,
nav li[class*="current"] > a{
	color: var(--hover);
}
header nav.primary a:hover::after,
header nav.primary li[class*="current"] > a::after{
	transform: scaleX(1);
	transform-origin: left center;
}

nav ul{
	list-style: none;
}

@media(min-width: 876px){
	nav a::after{
		content: '';
		position: absolute;
		background: currentColor;
		height: 1px;
		width: 100%;
		left: 0;
		bottom: 0;
		transform: scaleX(0);
		transform-origin: right center;
		transition: transform .4s;
	}
}


footer{
	margin-top: auto;
}
body:not(.home) footer{
	border-top: 1px solid var(--color);
}
footer .site-info{
	--gap: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-block: 2rem;
	gap: var(--gap);
}
footer .align-right{
	gap: var(--gap);
}
footer address{
	font-size: 0.9rem;
}
footer .navigation{
	background: #f3f4f3;
	padding-block: 2rem;
}
footer nav ul.menu{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
}
footer nav ul.menu > li > a{
	font-weight: 900;
}
footer nav ul.menu ul li{
	margin-top: 5px;
}
footer nav ul.menu a:not(:hover){
	color: var(--color);
}

.partners__container{
	padding-block: 4rem;
}
.partners__container .slider{
	cursor: grab;
	user-select: none;
	padding-bottom: 1rem;
	overflow-x: scroll;
	display: flex;
	gap: 4rem;
	margin-top: 2rem;
}
.partners__container .slider div{
	--width: 150px;
	flex: 0 0 var(--width);
	height: 100px;
	width: var(--width);
	pointer-events: none;
}
.partners__container .slider img{
	object-fit: contain;
	height: 100%;
	width: 100%;
}

.banner__container{
	display: grid;
	align-content: center;
	position: relative;
	background: #fbf9f6;
	height: 100vh;
	max-height: 650px;
	overflow: hidden;
}
.banner__container > *{
	z-index: 1;
}
.banner__container .wp-block-media-text__content{
	place-self: center;
}
.banner__container .wp-block-media-text__content h1{
	font-size: clamp(2rem, 4.5vw, 3.75rem);
	font-weight: 900;
}
#page #content .banner__container .wp-block-media-text__content,
#page #content .has-media-on-the-right .wp-block-media-text__content{
	padding: 0 8%;
}
.banner__container .wp-block-media-text__media::after{
	content: '';
	background: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 135.5 116.7'><path fill='%23fecb2e' d='M.2,65.3c2.4-16.1,22.2-29,38.4-40.9C54.7,12.5,67.2,1.5,82.6.2c15.4-1.3,33.6,7.2,43.7,22,10.2,14.8,12.1,36,5.1,53-7,16.9-23.1,29.6-41.8,36.3-18.7,6.8-40.1,7.6-58.3-1.6C12.9,100.7-2.1,81.4.2,65.3Z'/></svg>") center no-repeat;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 450px;
    max-width: 515px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    translate: -10% -2%;
}
.banner__container .shapes{
	position: absolute;
	inset: 0;
	z-index: 0;
}
.shapes .circle{
	background: var(--primary);
	opacity: .07;
	border-radius: 50rem;
	aspect-ratio: 1;
	position: absolute;
}
.shapes .circle.top-left{
	width: 45rem;
	translate: -50% -50%;
}
.shapes .circle.bottom-right{
	width: 28rem;
	bottom: 0;
	right: 0;
	translate: 50% 50%;
}
.shapes svg{
	position: absolute;
    translate: 0 -50%;
    height: 130%;
    left: 40%;
    top: 50%;
    rotate: 15deg;
}

section.wp-block-group{
	padding-top: 2rem;
	padding-inline: clamp(1rem, 6vw, 4rem);
	margin: 0 auto;
}

.home section.wp-block-group,
section.wp-block-group.recipe{
	padding-block: 6rem;
}

section.products article{
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
}
section.products article a.thumbnail{
	display: flex;
	flex: 1;
	align-items: center;
	position: relative;
	padding-inline: 2rem;
}
section.products article a.thumbnail::after{
	content: '';
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 115.6 117.4' xml:space='preserve'><path fill='%23f6a609' d='M69.8,117.5c-15.1,0-31-6.5-42.5-15.1C6.4,86.6-4,62.2,1.5,41.7C7.7,18.9,31.9,0.2,55.5,0c0.1,0,0.2,0,0.4,0  c24,0,49,19.2,56.9,43.8l0,0c7.9,24.7-0.8,54.7-19.4,67C86.3,115.5,78.2,117.5,69.8,117.5z M55.8,0.7c-0.1,0-0.2,0-0.4,0  C32.2,0.9,8.4,19.4,2.2,41.9c-5.4,20.3,4.9,44.3,25.6,59.9c17.7,13.2,45.6,21.4,65.2,8.4C111.3,98,119.8,68.4,112,44l0,0  C104.2,19.7,79.5,0.7,55.8,0.7z'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 90%;
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	transition: scale 0.3s;
}
section.products article a.thumbnail[class*="solutions"]::after,
section.products article a.thumbnail[class*="oplossingen"]::after{
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 136.4 126.8' xml:space='preserve'><path fill='%23615e59' d='M50.5,126.8c-8.8,0-17.7-1.9-25.7-7C6,107.4-4.5,77.3,1.8,54c6-22.2,28.5-41.9,57.2-50c28.2-8.1,56.6-3.6,69,10.8  c12.5,14.8,9.5,41.8,0.9,61.9l0,0c-7.9,19-20.5,31.6-40.6,40.8C80.8,121,65.9,126.8,50.5,126.8z M86.8,0.7c-8.8,0-18.1,1.3-27.5,4  C30.8,12.8,8.5,32.2,2.6,54.2c-6.2,23,4.1,52.7,22.6,64.9c21.6,14.1,51.1,3.1,62.8-2.2c20-9.1,32.4-21.6,40.3-40.4l0,0  c8.5-19.9,11.5-46.6-0.8-61.1C119.3,5.8,104.2,0.7,86.8,0.7z'/></svg>");
}
section.products article a.thumbnail[class*="sorbets"]::after{
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 132.3 122.1' xml:space='preserve'><path fill='%23f76596' d='M56.1,122.1c-5.7,0-11.3-0.7-16.7-2.2C20.8,114.8,1,99.2,0,82v0c-0.7-14.9,13.3-30.2,25.7-43.6c1.3-1.4,2.6-2.9,3.9-4.3  c1.8-2,3.5-3.9,5.1-5.8C45.7,16,55.2,5.3,68.2,1.6c15.6-4.5,35.1,0.9,47.5,13.1c12.9,12.5,19.1,33.1,15.6,51.3  c-3.4,17-15.8,33.1-34,44.1C84.1,118,69.8,122.1,56.1,122.1z M0.8,82c1,16.9,20.5,32.2,38.9,37.2c18,4.9,38.8,1.3,57.2-9.9  c18.1-10.9,30.4-26.8,33.7-43.6c3.5-17.9-2.6-38.2-15.4-50.6C102.9,3.2,83.7-2.1,68.4,2.3C55.6,6,46.2,16.6,35.4,28.9  c-1.7,1.9-3.4,3.8-5.1,5.8c-1.3,1.4-2.6,2.8-3.9,4.3C14,52.3,0.1,67.4,0.8,82L0.8,82z'/></svg>");
	background-size: 70%;
}
section.products article a.thumbnail:hover::after{
	scale: 0.98;
}
section.products article img{
	max-height: 20rem;
	width: auto;
}
section.products article img[src*="quinoat"]{
	max-height: 25rem;
}
section.products article h3{
	margin-top: auto;
	max-width: 20ch;
}

section.recipe{
	background: #f4f5f8;
	text-align: center;
}
section.recipe a.thumbnail{
	margin: 0 auto;
}
section.recipe h3{
	padding-top: 1rem;
	display: block;
	margin: 0 auto;
	max-width: 26ch;
}

section.quinoat h2{
	font-size: clamp(1.8rem, 2.5vw, 3rem);
	line-height: 1.2;
}
#page #content section.quinoat .wp-block-media-text{
	grid-template-columns: auto auto;
	width: min(100% - 3rem, 90rem);
	margin: 0 auto;
	max-width: max-content;
	gap: clamp(3rem, 6vw, 6rem);
}
section.quinoat .shift-up{
	translate: 0 -2rem;
	z-index: -1;
	position: relative;
}

#content section.socials{
	padding-top: 2rem;
	width: min(100% - 3rem, 90rem);
}

div.socials{
	gap: 1rem;
	border-radius: 50rem;
	border: 1px solid var(--color);
	font-size: 1.4rem;
	max-width: max-content;
	padding: 0.8em 1.2em;
}
section.socials div.socials{
	float: right;
}
div.socials a:not(:hover){
	color: var(--color);
}

.align-right{
	gap: var(--gap);
	align-items: center;
	margin-left: auto;
}

a{
	color: var(--primary);
	text-decoration: none;
}
a:hover{
	color: var(--hover);
}

:is(section.wp-block-group, .entry-content) p > a:hover{
	text-decoration: underline;
}

a:is(.btn, .wp-block-button__link){
	border-radius: 50rem;
	display: inline-flex;
	line-height: 1;
}
a.btn:not(.alt),
a.wp-block-button__link{
	color: var(--primary);
	background: transparent;
	font-size: var(--font-size);
	font-weight: 900;
	border: 3px solid currentColor;
	text-transform: uppercase;
	padding: 1em 2.2em 0.8em;
}
a.btn.alt{
	padding: 0.8em 1.2em;
	color: #fff;
	font-weight: 700;
	text-transform: initial;
	background: var(--primary);
}
a.btn:hover,
a.wp-block-button__link:hover{
	color: #fff;
	text-decoration: none;
	border-color: var(--hover);
	background: var(--hover);
}
a.btn.cart{
	padding: 0.7em 1em 0.6em;
	font-size: .9rem;
	font-weight: 700;
}

a.btn svg{
	font-size: 0.825rem;
}

h1, h2, h3{
	line-height: 1.4;
	text-wrap: balance;
	text-transform: uppercase;
	font-weight: 900;
}
h1{
	font-size: clamp(1.3rem, 2.5vw, 2.4rem);
	margin-bottom: 1em;
	line-height: 1.2;
}
h2{
	font-size: clamp(1.3rem, 2.5vw, 2rem);
}
h3{
	font-size: clamp(1rem, 1.5vw, 1.4rem);
}
h2 + h3{
	color: #6c6c6c;
}
h2 a, h3 a{
	color: var(--color);
	text-decoration: none;
}

strong{
	font-weight: 700;
}

#content .content-area img, svg:not([class*="fa-"]){
	display: block;
	font-style: italic;
	max-width: 100%;
	height: auto;
	width: auto;
}

a:has( > img){
	display: block;
	width: fit-content;
	overflow: hidden;
	border-radius: 1rem;
}
a img{
	transition: scale 0.4s
}
a:hover img{
	scale: 1.015;
}

address{
	font-style: normal;
}

.entry-content :is(ul, ol){
	padding-left: 18px;
	margin-bottom: 1.5em;
}

.entry-content p{
	max-width: 90ch;
	margin-bottom: 1.5em;
	text-wrap: balance;
}

.entry-content p.has-text-align-center{
	margin-inline: auto;
}
.entry-content p:last-of-type{
	margin-bottom: 0;
}

.wp-block-embed iframe{
	width: 100%;
	height: 100%;
	aspect-ratio: 16/9;
}

input,
button,
textarea,
select{
	font: inherit;
}

.flex{
	display: flex;
	flex-wrap: wrap;
}
.flex.column{
	flex-direction: column;
}

.wp-block-group.is-content-justification-center{
	column-gap: 4rem;
}
@media(max-width: 640px){
	.wp-block-group.is-content-justification-center{
		flex-direction: column;
		align-items: stretch;
		gap: 2rem;
	}
}

.grid{
  --min-column-size: 200px;
  --column-count: 4;
  --gap: 2rem;
  
  --breakpoint: calc(var(--min-column-size) * var(--column-count) + (var(--gap) * (var(--column-count) - 1)) );
  --column-size: calc((100% / var(--column-count)) - var(--gap));
  
  display: grid;
  gap: var(--gap);
  
  grid-template-columns: repeat(auto-fit, minmax(
      min(max(var(--column-size), (100% - var(--breakpoint)) * -999 ), 100%), 
      1fr));
}

.flow > * + *,
.entry-content > * + *{
	margin-top: 1em;
}

*:has( > [class*="svg-inline"]){
	display: flex;
	gap: 7px;
	align-items: center;
}

.card{
	border: 1px solid #efefef;
	padding: 2rem;
	border-radius: 1rem;
	max-width: max-content;
	margin: 0 auto;
}

footer .sib-form-block  .progress-indicator__icon.sib-hide-loader-icon{
	display: none;
}


@media(max-width: 1024px){
	header{
		--header-height: 70px;
		height: var(--header-height);
	}

	header .logo{
		padding-block: 5px;
	}
	header .logo svg{
		height: 58px;
	}

	header .btn.alt{
		padding: .8rem;
		aspect-ratio: 1;
	}
	header .btn span{
		display: none;
	}
	header .align-right{
		gap: 1rem;
	}
	header .align-right > #menu-language-selector{
		display: none;
	}
	header nav.primary ul[id*="menu-language-selector"]{
		display: flex;
		flex-direction: row;
		padding-top: 2rem;
	}

	header a.account span{
		display: none;
	}

	header nav a.account{
		font-size: 1.2rem;
	}
	header nav a.btn.cart{
		padding: 0;
		border: 0;
	}
	header nav a.btn.cart svg{
		font-size: 1.3rem;
	}
	header nav a.btn.cart:hover{
		color: var(--primary);
		background: none;
	}

	.home section.wp-block-group,
	section.wp-block-group.recipe{
		padding-block: 3rem;
	}

	.banner__container .wp-block-media-text__media::after{
		translate: 0 -2%;
	}
	.banner__container .wp-block-media-text__media img{
		max-height: 20rem;
		margin: 0 auto;
	}

	#content::before{
		content: '';
		background: #00000020;
		inset: 0;
		position: fixed;
		backdrop-filter: blur(2px);
		display: none;
		z-index: 1;
	}
	header:has(
		.navigation__container[data-visible]
	) + #content::before{
		display: block;
	}

	footer nav ul.menu,
	footer .site-info{
		flex-direction: column;
	}
	footer .site-info{
		--gap: 1rem;
	}
	footer .align-right{
	    place-content: center;
	    text-align: center;
	}

	.partners__container .slider{
		gap: 2rem;
	}
	.partners__container .slider div{
		--width: 70px;
		height: 60px;
	}

	.wp-block-spacer{
		max-height: 3rem;
	}

}

::-webkit-scrollbar {
  width: 8px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 50rem;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color);
}
