body.home {
	--wl-header-height: 92px;
}

body.home #main-container > header#header.ct-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 50;
}

body.home .ct-header [data-row="middle"] {
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.home .ct-header [data-row="middle"] > div {
	background: transparent;
}

body.home #main-container > header#header .site-logo-container {
	padding: 0;
	background: transparent;
}

body.home #main-container > header#header .site-logo-container img {
	content: url("/wp-content/themes/wellnessland/lib/images/logo.png");
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
}

body.home .ct-header .menu > li > a,
body.home .ct-header .ct-header-search,
body.home .ct-header .ct-header-cart,
body.home .ct-header .ct-cart-item,
body.home .ct-header .ct-cart-item .ct-label,
body.home .ct-header .ct-header-trigger {
	color: #fff;
}

body.home .ct-header .ct-icon,
body.home .ct-header .ct-header-trigger {
	--theme-icon-color: #fff;
	--theme-link-initial-color: #fff;
}

body.home .ct-header .menu > li:hover > a,
body.home .ct-header .menu > li.current-menu-item > a,
body.home .ct-header .menu > li.current-menu-ancestor > a {
	color: rgba(255, 255, 255, 0.78);
}

.wl-home-hero {
	position: relative;
	display: grid;
	min-height: 100svh;
	place-items: center;
	overflow: hidden;
	background-color: #171717;
	background-image: var(--wl-hero-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
}

.wl-home-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 8, 14, 0.34) 0%, rgba(10, 8, 14, 0.16) 42%, rgba(10, 8, 14, 0.52) 100%),
		linear-gradient(90deg, rgba(19, 11, 22, 0.2), rgba(19, 11, 22, 0.04) 50%, rgba(19, 11, 22, 0.2));
}

.wl-home-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	align-items: center;
	flex-direction: column;
	padding: calc(var(--wl-header-height) + 48px) clamp(20px, 4vw, 64px) 96px;
	text-align: center;
}

.wl-home-hero__content h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(3.5rem, 7vw, 6.75rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.95;
	hyphens: none;
	white-space: nowrap;
	text-shadow: 0 2px 22px rgba(0, 0, 0, 0.24);
}

.wl-home-hero__divider {
	display: block;
	width: min(270px, 54vw);
	height: 1px;
	margin: 42px 0 32px;
	background: rgba(255, 255, 255, 0.7);
}

.wl-home-hero__content p {
	margin: 0;
	color: #fff;
	font-size: clamp(1rem, 1.45vw, 1.35rem);
	font-weight: 400;
	letter-spacing: 0.035em;
	line-height: 1.3;
}

.wl-home-hero__scroll {
	position: absolute;
	right: 0;
	bottom: 26px;
	left: 0;
	z-index: 2;
	display: grid;
	width: 56px;
	height: 56px;
	margin: auto;
	place-items: center;
	color: #fff;
}

.wl-home-hero__scroll span {
	display: block;
	width: 30px;
	height: 30px;
	transform: translateY(-7px) rotate(45deg);
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
}

.wl-home-hero__scroll:hover {
	color: rgba(255, 255, 255, 0.72);
}

.wl-home-main {
	background: var(--theme-palette-color-8);
}

.wl-home-content {
	width: var(--theme-container-width);
	margin-inline: auto;
	padding: 72px clamp(20px, 4vw, 64px);
}

.wl-home-content > :first-child {
	margin-top: 0;
}

.wl-home-content > :last-child {
	margin-bottom: 0;
}

.wl-home-content .wp-video {
	width: 72% !important;
	max-width: none;
}

.wl-home-content .wp-video {
	margin-inline: auto;
}

.wl-home-content video {
	width: 100% !important;
	height: auto !important;
}

.wl-home-featured {
	width: var(--theme-container-width);
	margin-inline: auto;
	padding: 24px clamp(20px, 4vw, 64px) 88px;
}

.wl-home-main > .wl-home-featured:first-child {
	padding-top: 88px;
}

.wl-home-virtual-tour {
	width: var(--theme-container-width);
	margin-inline: auto;
	padding: 0 clamp(20px, 4vw, 64px) 104px;
}

.wl-home-virtual-tour__embed {
	overflow: hidden;
	background: #f4f3ef;
	aspect-ratio: 16 / 9;
}

.wl-home-virtual-tour__embed video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.wl-home-discovery {
	display: grid;
	width: var(--theme-container-width);
	margin-inline: auto;
	border-top: 1px solid var(--theme-border-color);
	padding: 88px clamp(20px, 4vw, 64px) 104px;
}

.wl-home-categories {
	width: var(--theme-container-width);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 64px);
}

.wl-home-categories {
	padding-top: 24px;
	padding-bottom: 96px;
}

.wl-home-section-heading {
	margin-bottom: 40px;
	border-bottom: 1px solid var(--theme-border-color);
	padding-bottom: 24px;
}

.wl-home-section-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: -0.04em;
	line-height: 1;
}

.wl-home-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.5vw, 32px);
}

.wl-home-category {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	min-height: 0;
	overflow: hidden;
	background: #fff;
	color: var(--theme-text-color);
}

.wl-home-category img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 400ms cubic-bezier(0.32, 0.72, 0, 1);
}


.wl-home-category > span {
	position: absolute;
	bottom: 16px;
	left: 16px;
	z-index: 1;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
	color: var(--theme-text-color);
	font-size: clamp(1.15rem, 1.6vw, 1.5rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	hyphens: none;
	word-break: normal;
}

.wl-home-category:hover img {
	transform: scale(1.025);
}

.wl-home-featured__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--theme-border-color);
	padding-bottom: 24px;
}

.wl-home-featured__heading h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: -0.04em;
	line-height: 1;
}

.wl-home-featured__heading > a {
	flex: 0 0 auto;
	border-bottom: 1px solid currentColor;
	color: var(--theme-text-color);
	font-weight: 600;
	text-decoration: none;
}

.wl-home-featured__heading > a:hover {
	color: var(--theme-link-hover-color);
}

.wl-home-featured .woocommerce {
	margin: 0;
}

.wl-home-featured .products {
	margin-bottom: 0;
}

.wl-home-featured .product figure,
.wl-home-featured .product .ct-media-container {
	width: 100%;
	aspect-ratio: 1;
}

.wl-home-featured .product .ct-media-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (min-width: 783px) {
	body.admin-bar.home #main-container > header#header.ct-header {
		top: 32px;
	}

	body.admin-bar.home .wl-home-hero {
		min-height: calc(100svh - 32px);
	}
}

@media (min-width: 690px) and (max-width: 899.98px) {
	.wl-home-content .wp-video {
		width: 82% !important;
	}

	.wl-home-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 689.98px) {
	body.home {
		--wl-header-height: 68px;
	}

	.wl-home-hero {
		background-position: 58% center;
	}

	.wl-home-hero__content {
		padding-top: calc(var(--wl-header-height) + 32px);
		padding-bottom: 84px;
	}

	.wl-home-hero__content h1 {
		font-size: clamp(3rem, 14vw, 4.2rem);
	}

	.wl-home-hero__divider {
		margin-top: 32px;
		margin-bottom: 24px;
	}

	.wl-home-content {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.wl-home-content .wp-video {
		width: 100% !important;
	}

	.wl-home-featured {
		padding-top: 8px;
		padding-bottom: 72px;
	}

	.wl-home-main > .wl-home-featured:first-child {
		padding-top: 56px;
	}

	.wl-home-virtual-tour {
		padding-bottom: 72px;
	}

	.wl-home-discovery {
		padding-top: 64px;
		padding-bottom: 72px;
	}

	.wl-home-categories {
		padding-top: 8px;
		padding-bottom: 72px;
	}


	.wl-home-categories__grid {
		grid-template-columns: 1fr;
	}

	.wl-home-featured__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		margin-bottom: 28px;
	}

	body.admin-bar.home #main-container > header#header.ct-header {
		top: 46px;
	}

	body.admin-bar.home .wl-home-hero {
		min-height: calc(100svh - 46px);
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
