body {
	padding-top: calc( var(--header-height,5.5em));
}

body.has-floating-bars {
	padding-top: calc( var(--header-height,5.5em) + var(--floating-bar-height,2.3em));
}

.site-content > .col-full {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.site-content > .col-full > .site-main > *:not(.fullwidth),
.woocommerce-message {
	padding-left: 2em;
	padding-right: 2em;
}

section.above-the-fold {
    width: 100%;
	height: calc( 100vh - var(--header-height,5.5em) );
    height: calc( 100svh - var(--header-height,5.5em) );
	position: relative;
	display: flex;
	justify-content: center;
}

body.admin-bar section.above-the-fold {
	height: calc( 100vh - var(--header-height,5.5em) - var(--wp-admin--admin-bar--height,32px) );
    height: calc( 100svh - var(--header-height,5.5em) - var(--wp-admin--admin-bar--height,32px) );
}

body.has-floating-bars section.above-the-fold {
	height: calc( 80vh - ( var(--header-height,5.5em) + var(--floating-bar-height,2.3em ) ) );
    height: calc( 80svh - ( var(--header-height,5.5em) + var(--floating-bar-height,2.3em ) ) );
}

body.admin-bar.has-floating-bars section.above-the-fold {
	height: calc( 80vh - ( var(--header-height,5.5em) + var(--floating-bar-height,2.3em ) ) - var(--wp-admin--admin-bar--height,32px) );
    height: calc( 80svh - ( var(--header-height,5.5em) + var(--floating-bar-height,2.3em ) ) - var(--wp-admin--admin-bar--height,32px) );
}

.carousel-indicators {
    position: absolute;
    bottom: 0;
    display: flex;
    margin: 0 0 1.65em;
    gap: 0.25em;
	z-index: 3;
}

.carousel-dot {
	width: 0.75em;
    height: 0.75em;
    border: 2px solid #FFF;
    display: block;
    border-radius: 100%;
	background: transparent;
}

.carousel-dot.active {
	background: #FFF;
}

ul.featured-gallery {
	list-style: none;
	padding: 0;
	margin: 0;
	height: 100%;
	display: flex;
    scroll-snap-type: x mandatory;
	overflow-x: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

ul.featured-gallery::-webkit-scrollbar {
  display: none;
}

ul.featured-gallery.children-1,
ul.featured-gallery:not(:has(:nth-child(2))) {
	width: 100%;
}

ul.featured-gallery li.featured-child {
	position: relative;
	max-height: 100%;
	width: 100%;
	min-width: 100%;
	scroll-snap-align: center;
}

ul.featured-gallery li.featured-child a {
	display: inline-flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
}

ul.featured-gallery li.featured-child .content-wrapper {
	margin: 0;
    width: 100%;
    height: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

ul.featured-gallery li.featured-child.top .content-wrapper {
    justify-content: start;
}

ul.featured-gallery li.featured-child.bottom .content-wrapper {
    justify-content: end;
}

ul.featured-gallery li.featured-child.left .content-wrapper {
    align-items: start;
}

ul.featured-gallery li.featured-child.right .content-wrapper {
    align-items: end;
}

ul.featured-gallery li.featured-child .content-wrapper:before,
ul.featured-gallery li.featured-child .content-wrapper:after {
	content: "";
    display: block;
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
	top: 0;
	left: 0;
    pointer-events: none;
    /*will-change: opacity;*/
}

ul.featured-gallery li.featured-child .content-wrapper:before {
	background: var(--Niuti-gradient,radial-gradient(50% 50% at 44% 83%, hsl(338 91% 75% / 1), hsl(338 91% 75% / 0)), radial-gradient(50% 50% at 98% 4%, hsl(272 63% 68% / 1), hsl(272 63% 68% / 0)), radial-gradient(50% 50% at 10% 97%, hsl(300 92% 79% / 1), hsl(300 92% 79% / 0)), radial-gradient(50% 50% at 44% 47%, hsl(292 90% 85% / 1), hsl(292 90% 85% / 0)), radial-gradient(hsl(324 79% 46% / 1), hsl(324 79% 46% / 1)));
	opacity: .4;
}

ul.featured-gallery li.featured-child .content-wrapper:after {
	background: linear-gradient(to bottom,transparent 0,rgba(0,0,0,.011) 10.5%,rgba(0,0,0,.041) 20.2%,rgba(0,0,0,.088) 29.1%,rgba(0,0,0,.149) 37.3%,rgba(0,0,0,.22) 44.8%,rgba(0,0,0,.299) 51.8%,rgba(0,0,0,.383) 58.2%,rgba(0,0,0,.467) 64.2%,rgba(0,0,0,.551) 69.8%,rgba(0,0,0,.63) 75.2%,rgba(0,0,0,.701) 80.3%,rgba(0,0,0,.762) 85.3%,rgba(0,0,0,.809) 90.2%,rgba(0,0,0,.839) 95.1%,rgba(0,0,0,.85) 100%);
	opacity: .4;
}

ul.featured-gallery li.featured-child.top .content-wrapper:after {
	background: linear-gradient(to bottom,rgba(0,0,0,.85) 0%,rgba(0,0,0,.839) 10.5%,rgba(0,0,0,.809) 20.2%,rgba(0,0,0,.762) 29.1%,rgba(0,0,0,.701) 37.3%,rgba(0,0,0,.63) 44.8%,rgba(0,0,0,.551) 51.8%,rgba(0,0,0,.467) 58.2%,rgba(0,0,0,.383) 64.2%,rgba(0,0,0,.299) 69.8%,rgba(0,0,0,.22) 75.2%,rgba(0,0,0,.149) 80.3%,rgba(0,0,0,.088) 85.3%,rgba(0,0,0,.041) 90.2%,rgba(0,0,0,.011) 95.1%,transparent 100%);
}

ul.featured-gallery li.featured-child h2 {
	color: #fff;
}

ul.featured-gallery li.featured-child .featured-content {
	margin: 2em;
	padding: 2em;
    display: grid;
    justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 1.1em;
	max-width: 100%;
	z-index: 3;
	user-select: none;
}

ul.featured-gallery li.featured-child.top .featured-content {
    justify-content: start;
}

ul.featured-gallery li.featured-child.bottom .featured-content {
    justify-content: end;
}

ul.featured-gallery li.featured-child.bottom.has-button .featured-content {
    margin-bottom: 0;
}

ul.featured-gallery li.featured-child.left .featured-content {
	align-items: start;
	text-align: left;
}

ul.featured-gallery li.featured-child.right .featured-content {
	align-items: end;
	text-align: right;
}

ul.featured-gallery li h2 {
	grid-row: 1 / span 1;
	margin-bottom: 0;
	align-self: start;
}

ul.featured-gallery.children-2 li#featured-1 h2 {
	font-size: font-size: clamp(1.8em,1.1vw,2.4em);
}

ul.featured-gallery li.featured-child .featured-content span.excerpt {
	grid-row: 2 / span 1;
	overflow: hidden;
	height: 100%;
	max-height: 5.5em;
}

ul.featured-gallery li.featured-child .featured-content span.excerpt p {
	margin: 1em 0 0;
	text-overflow: ellipsis;
}

ul.featured-gallery li.featured-child button.call-to-action {
	border: var(--border-value,2px) solid #FFF;
    background-color: transparent;
    color: #FFF;
    padding: 0.75em 1em;
    font-weight: 600;
    font-variation-settings: "wght" 600;
    cursor: pointer;
    line-height: 1.2;
	margin-top: 2em;
    max-width: 20ch;
	align-self: center;
    justify-self: center;
	z-index: 3;
	margin: 0 0 4em;
	user-select: none;
}

ul.featured-gallery li.featured-child:not(.top):not(.bottom):not(.left):not(.right) button.call-to-action {
	margin-top: -6em;
}

ul.featured-gallery li.featured-child img {
	position: absolute;
    z-index: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
	z-index: -1;
}

.category-wrapper {
	margin-top: 2em;
}

ul.categories {
	list-style: none;
	padding: 0 2em;
	margin: 0;
	display: flex;
	gap: 1.25em;
	scroll-snap-type: x proximity;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

ul.categories::-webkit-scrollbar {
	display: none;
}

ul.categories li {
	position: relative;
	min-width: 50vw;
	aspect-ratio: 4 / 7;
	overflow: hidden;
	flex: 0 1 0;
	scroll-snap-align: center;
}

ul.categories li:after {
	content: "";
    display: block;
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
	top: 0;
	left: 0;
    pointer-events: none;
	background: linear-gradient(to bottom,transparent 0,rgba(0,0,0,.011) 10.5%,rgba(0,0,0,.041) 20.2%,rgba(0,0,0,.088) 29.1%,rgba(0,0,0,.149) 37.3%,rgba(0,0,0,.22) 44.8%,rgba(0,0,0,.299) 51.8%,rgba(0,0,0,.383) 58.2%,rgba(0,0,0,.467) 64.2%,rgba(0,0,0,.551) 69.8%,rgba(0,0,0,.63) 75.2%,rgba(0,0,0,.701) 80.3%,rgba(0,0,0,.762) 85.3%,rgba(0,0,0,.809) 90.2%,rgba(0,0,0,.839) 95.1%,rgba(0,0,0,.85) 100%);
	opacity: .4;
}

ul.categories li a {
	display: block;
	width: 100%;
	height: 100%;
	display: flex;
    justify-content: flex-end;
    align-items: flex-end;
	font-size: 1.5em;
	font-size: clamp(.8em,2vw,1.25em);
    padding: 2em;
	scroll-snap-align: center;
	user-select: none;
}

ul.categories img {
	position: absolute;
    z-index: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
	z-index: -1;
}

ul.categories li h3.category-title {
	line-height: 1;
	margin: 0;
	hyphens: auto;
	text-align: right;
	color: var(--background-color,#FFF);
	z-index: 2;
	font-size: 1.5em;
}

.custom-loop {
	margin: 5em 0;	
}

.custom-loop h2 {
	margin: 0 1.41575em 1em 0;
	padding: 0;
}

.custom-loop ul.products {
	display: flex;
	gap: 4em;
	scroll-snap-type: x proximity;
	overflow-x: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
	padding: 0 1.41575em;
}
.custom-loop ul.products::-webkit-scrollbar {
  display: none;
}

.custom-loop ul.products li.product {
	min-width: 50vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	scroll-snap-align: center;
}

.custom-loop ul.products li.product:first-of-type {
	margin-left: -4em;
}

.custom-loop ul.products li.product img {
	width: 100%;
}

@media screen and (min-width: 768px) {
	body.has-floating-bars section.above-the-fold {
		height: calc( 100vh - ( var(--header-height,5.5em) + var(--floating-bar-height,2.3em ) ) );
		height: calc( 100svh - ( var(--header-height,5.5em) + var(--floating-bar-height,2.3em ) ) );
	}

	body.admin-bar.has-floating-bars section.above-the-fold {
		height: calc( 100vh - ( var(--header-height,5.5em) + var(--floating-bar-height,2.3em ) ) - var(--wp-admin--admin-bar--height,32px) );
		height: calc( 100svh - ( var(--header-height,5.5em) + var(--floating-bar-height,2.3em ) ) - var(--wp-admin--admin-bar--height,32px) );
	}
	
	.carousel-indicators {
		display: none;
	}
	
	ul.featured-gallery {
		width: 100%;
		display: grid;
		gap: 0.5em;
	}
	
	ul.featured-gallery.children-1 {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
	}

	ul.featured-gallery.children-2 {
		grid-template-columns: 60% 40%;
		grid-template-rows: 1fr;
	}

	ul.featured-gallery.children-3 {
		grid-template-columns: calc((100% / 3) - (1em / 3)) calc((100% / 3) - (1em / 3)) calc((100% / 3)  - (1em / 3));
		grid-template-rows: 1fr;
	}
	
	ul.featured-gallery li.featured-child {
		min-width: auto;
	}
	
	ul.featured-gallery li#featured-1 {
		grid-column: 1 / span 1;
		grid-row: 1 / span 1;
	}

	ul.featured-gallery li#featured-2 {
		grid-column: 2 / span 1;
		grid-row: 1 / span 1;
	}

	ul.featured-gallery li#featured-3 {
		grid-column: 3 / span 1;
		grid-row: 1 / span 1;
	}
	
	ul.featured-gallery li.featured-child .featured-content {
		font-size: 1.2em;
		font-size: clamp(0.9em,1.1vw,1.2em);
		grid-template-rows: auto 0fr;
	}
	
	ul.featured-gallery li.featured-child.has-button .featured-content {
		grid-template-rows: auto 0fr auto;
	}

	ul.featured-gallery li.featured-child:hover .featured-content {
		grid-template-rows: auto 1fr;
	}

	ul.featured-gallery li.featured-child.has-button:hover .featured-content,
	ul.featured-gallery li.featured-child.has-button:focus-within .featured-content {
		grid-template-rows: auto 1fr auto;
	}
	
	ul.featured-gallery li.featured-child .content-wrapper:after {
		opacity: 0;
	}

	ul.featured-gallery li.featured-child:hover .content-wrapper:before,
	ul.featured-gallery li.featured-child:focus-within .content-wrapper:before {
		opacity: 0;
	}

	ul.featured-gallery li.featured-child:hover .content-wrapper:after,
	ul.featured-gallery li.featured-child:focus-within .content-wrapper:after {
		opacity: .4;	
	}

	ul.featured-gallery li.featured-child a:focus {
		outline: none;
	}
	
	ul.featured-gallery li.featured-child button.call-to-action {
		margin: 0 0 5em;
	}

	ul.featured-gallery li.featured-child:not(.top):not(.bottom):not(.left):not(.right) button.call-to-action {
		margin-top: -7em;
	}

	ul.featured-gallery li.featured-child:hover button.call-to-action,
	ul.featured-gallery li.featured-child:focus-within button.call-to-action {
		background-color: #FFF;
		color: hsla(210,0%,12%,1);
		mix-blend-mode: screen;
	}
	
	ul.categories {
		scroll-snap-type: unset;
		gap: 2em;
	}
	
	.draggable {
		cursor: grab;
	}
	
	.dragged {
		cursor: grabbing;
		pointer-events: none;
	}
	
	ul.categories li {
		min-width: 15.5vw;
		min-width: clamp(11em,15.5vw,15.5vw);
	}
	
	ul.categories li a {
		font-size: clamp(.8em,15.5vw,1.25em);	
	}
	
	ul.categories li a:focus-visible {
		border: 2px solid black;
	}
	
	ul.categories li h3.category-title {
		font-size: 1.2em;	
		font-size: clamp(1.2em,2vw,1.5em);
	}
	
	.custom-loop {
		margin: 5em 0;
	}
	
	.custom-loop h2 {
		font-size: 2.5em;
	}
	
	.custom-loop ul.products {
		padding: 0 1.41575em 0 calc( ( 100vw - 66.4989378333em ) / 2 );
		scroll-snap-type: unset;
		gap: 5em;
	}

	.custom-loop ul.products li.product {
		min-width: 18vw;
		width: 18vw;
	}
	
	.custom-loop ul.products li.product:first-of-type {
		margin-left: -6.19em;
	}
}

@media screen and (min-width: 1000px) {
	ul.categories:has(:nth-child(2)):not(:has(:nth-child(3))),
	ul.categories:has(:nth-child(3)):not(:has(:nth-child(4))),
	ul.categories:has(:nth-child(4)):not(:has(:nth-child(5))),
	ul.categories:has(:nth-child(5)):not(:has(:nth-child(6))) {
		width: 100%;
	}
	
	ul.categories:has(:nth-child(2)):not(:has(:nth-child(3))) li {
		min-width: calc((100% - 2em) / 2);
		aspect-ratio: 5 / 3;
	}
	
	ul.categories:has(:nth-child(3)):not(:has(:nth-child(4))) li {
		min-width: calc((100% - 4em) / 3);
		aspect-ratio: 1 / 1;
	}
	
	ul.categories:has(:nth-child(4)):not(:has(:nth-child(5))) li {
		min-width: calc((100% - 6em) / 4);
		aspect-ratio: 6 / 8;
	}
	
	ul.categories:has(:nth-child(5)):not(:has(:nth-child(6))) li {
		min-width: calc((100% - 8em) / 5);
	}	
}

@media (prefers-reduced-motion: no-preference) {
	.carousel-dot {
		transition: background .1s linear;
	}
	
	@media screen and (min-width: 768px) {
		ul.featured-gallery.children-2,
		ul.featured-gallery.children-3 {
			/*will-change: grid-template-columns;*/
			transition: grid-template-columns .25s linear;
		}
		
		ul.featured-gallery.children-2:has(#featured-1:hover),
		ul.featured-gallery.children-2:has(#featured-1 a:focus) {
			grid-template-columns: 61% 39%;
		}
		
		ul.featured-gallery.children-2:has(#featured-2:hover),
		ul.featured-gallery.children-2:has(#featured-2 a:focus)	{
			grid-template-columns: 59% 41%;
		}
		
		ul.featured-gallery.children-3:has(#featured-1:hover),
		ul.featured-gallery.children-3:has(#featured-1 a:focus) {
			grid-template-columns: calc((100% / 3) + 1% - (1em / 3)) calc((100% / 3) - .5% - (1em / 3)) calc((100% / 3) - .5% - (1em / 3));
		}
		
		ul.featured-gallery.children-3:has(#featured-2:hover),
		ul.featured-gallery.children-3:has(#featured-2 a:focus)	{
			grid-template-columns: calc((100% / 3) - .5% - (1em / 3)) calc((100% / 3) + 1% - (1em / 3)) calc((100% / 3) - .5% - (1em / 3));
		}
		
		ul.featured-gallery.children-3:has(#featured-3:hover),
		ul.featured-gallery.children-3:has(#featured-3 a:focus)	{
			grid-template-columns: calc((100% / 3) - .5% - (1em / 3)) calc((100% / 3) - .5% - (1em / 3)) calc((100% / 3) + 1% - (1em / 3));
		}
		
		ul.featured-gallery li.featured-child .content-wrapper:before {
			/*--gradient-animation-duration: 20s;
			animation: niuti-gradient-animation var(--gradient-animation-duration,20s) linear infinite;*/
			transition: opacity .5s ease-in-out;
		}
		
		ul.featured-gallery li.featured-child .content-wrapper:after {
			transition: opacity .5s ease-in-out;
		}
		
		ul.featured-gallery li.featured-child .featured-content {
			transition: grid-template-rows .25s ease-out;
		}
		
		ul.featured-gallery li.featured-child .featured-content .excerpt {
			opacity: 0;
			transition: opacity .15s ease-out;
		}
		
		ul.featured-gallery li.featured-child:hover .featured-content .excerpt,
		ul.featured-gallery li.featured-child:focus-within .featured-content .excerpt {
			opacity: 1;
			transition: opacity .5s ease-out .2s;
		}
		
		ul.featured-gallery li.featured-child button.call-to-action {
			transition: background-color 0.25s linear, color 0.1s linear;
		}
		
		ul.categories li:after {
			transition: opacity .5s ease-in-out;
		}
		
		ul.categories li:hover:after,
		ul.categories li:focus-within:after {
			opacity: .5;
		}
		
		ul.categories li h3 {
			transition: transform .5s ease-in-out;
		}
		
		ul.categories li:hover h3,
		ul.categories li:focus-within h3 {
			transform: translateY(-.3em);
		}
	
		ul.categories li img {
			transition: transform .4s ease-in-out;
		}
		
		ul.categories li:hover img,
		ul.categories li:focus-within img {
			transform: scale(1.08);
		}
	}
}