.ww-home-hero {
	background:
		linear-gradient(90deg, rgba(28, 28, 26, 0.98) 0%, rgba(28, 28, 26, 0.82) 42%, rgba(28, 28, 26, 0.16) 100%),
		url("../../images/mockup-derived/home-hero.jpg") center right / cover no-repeat,
		#301409;
	color: var(--ww-color-bone-white);
	min-height: 560px;
	position: relative;
}

.ww-home-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 560px;
	max-width: var(--ww-container-wide);
	padding-block: var(--ww-space-8);
}

.ww-home-hero__title {
	font-size: clamp(2.2rem, 4.2vw, 3.8rem);
	max-width: 620px;
	text-transform: uppercase;
}

.ww-home-hero__text {
	font-size: clamp(0.8rem, 1.2vw, 1.2rem);
	font-weight: 700;
	line-height: 1.3;
	max-width: 600px;
}

.ww-home-hero__button {
	margin-top: var(--ww-space-2);
	width: fit-content;
}

.ww-home-categories {
	background: url("../../images/backgrounds/bg_index_icons2.jpg") center, var(--ww-color-bark-brown);
	position: relative;
}

.ww-home-categories::before,
.ww-home-categories::after {
	background-repeat: repeat-x;
	content: "";
	height: 16px;
	left: 0;
	position: absolute;
	right: 0;
	transform: translateY(-16px);
	z-index: 1;
}

.ww-home-categories::before {
	background-image: url("../../images/backgrounds/border_brown_top.png");
	background-position: center bottom;
	top: 0;
}

.ww-home-categories::after {
	background-image: url("../../images/backgrounds/border_brown_bottom.png");
	background-position: center top;
	bottom: -31px;
}

.ww-category-grid {
	display: grid;
	gap: var(--ww-space-5) var(--ww-space-8);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ww-category-tile {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--ww-space-2);
	text-align: center;
}

.ww-category-tile__icon {
	align-items: center;
	display: flex;
	height: 150px;
	justify-content: center;
	width: 150px;
}

.ww-category-tile__icon img {
	display: block;
	height: 150px;
	width: 150px;
}

.ww-category-tile__label {
	color: var(--ww-color-bone-white);
	font-family: var(--ww-font-display);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.ww-home-about__inner {
	align-items: center;
	display: grid;
	gap: var(--ww-space-4);
	grid-template-columns: 180px minmax(0, 1fr);
	max-width: 900px;
	text-align: center;
}

.ww-home-about {
	background: url("../../images/backgrounds/bg_index_pre_footer.jpg") center,
	var(--ww-color-bark-brown);
	background-size: contain;
	position: relative;
}

.ww-home-about::before {
	background-image: url("../../images/backgrounds/border_pre_footer_top.png");
	background-position: center bottom;
	background-repeat: repeat-x;
	content: "";
	height: 16px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transform: translateY(-15px);
}

.ww-home-about__logo {
	justify-self: center;
	width: 150px;
}

.ww-home-about__content h2 {
	font-size: clamp(2.2rem, 3vw, 4rem);
}

.ww-home-carousel {
	overflow: hidden;
}

.ww-home-carousel__heading {
	margin-bottom: var(--ww-space-4);
}

.ww-home-page-content {
	padding: var(--ww-space-1);
}

.ww-home-page-content > *:first-child {
	margin-top: 0;
}

.ww-home-page-content > *:last-child {
	margin-bottom: 0;
}

.ww-home-page-content p,
.ww-home-page-content li {
	line-height: 1.6;
}

.ww-home-page-content h2,
.ww-home-page-content h3,
.ww-home-page-content h4 {
	color: var(--ww-color-forest-black);
	margin-top: var(--ww-space-4);
}

.ww-home-page-content a {
	color: var(--ww-color-bark-brown);
	text-decoration: underline;
	text-decoration-color: rgba(92, 61, 30, 0.4);
	text-underline-offset: 0.2em;
}

.ww-home-page-content a:hover,
.ww-home-page-content a:focus-visible {
	color: var(--ww-color-dried-blood);
	text-decoration-color: currentColor;
}

.ww-home-page-content img {
	border-radius: 8px;
	display: block;
	height: auto;
	max-width: 100%;
}

.ww-home-page-content .wp-block-image {
	margin: 0;
}

.ww-home-page-content .wp-block-gallery {
	display: grid;
	gap: var(--ww-space-3);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: var(--ww-space-3) 0;
}

.ww-home-page-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	margin: 0;
	width: 100%;
}

.ww-home-page-content .wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
}

.ww-product-carousel {
	align-items: center;
	display: grid;
	gap: var(--ww-space-2);
	grid-template-columns: 48px minmax(0, 1fr) 48px;
}

.ww-product-carousel__viewport {
	grid-column: 2;
	overflow: hidden;
	padding: 4px;
	scroll-snap-type: x mandatory;
}

.ww-product-carousel__track {
	display: flex;
	gap: var(--ww-space-4);
	min-width: 100%;
	padding-bottom: var(--ww-space-2);
}

.ww-product-carousel__slide {
	flex: 0 0 calc((100% - 96px) / 4);
	min-width: 0;
	scroll-snap-align: start;
}

.ww-product-carousel__slide .ww-product-card {
	height: 100%;
}

.ww-product-carousel__control {
	align-items: center;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border: 0;
	color: transparent;
	cursor: pointer;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	padding: 0;
	transition: opacity var(--ww-motion-fast) var(--ww-motion-ease), transform var(--ww-motion-fast) var(--ww-motion-ease);
	width: 48px;
}

.ww-product-carousel__control:hover,
.ww-product-carousel__control:focus-visible {
	opacity: 0.8;
	transform: translateY(-1px);
}

.ww-product-carousel__control:disabled {
	cursor: default;
	opacity: 0.45;
	transform: none;
}

.ww-product-carousel__control--prev {
	background-image: url("../../images/icons/arrow_prev.png");
	grid-column: 1;
}

.ww-product-carousel__control--next {
	background-image: url("../../images/icons/arrow_next.png");
	grid-column: 3;
}

.ww-product-carousel__control .ww-icon {
	display: none;
}

.ww-product-carousel__pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: var(--ww-space-2);
}

.ww-product-carousel__dot {
	background: var(--ww-color-bark-brown);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 10px;
	opacity: 0.8;
	padding: 0;
	transition: opacity var(--ww-motion-fast) var(--ww-motion-ease), transform var(--ww-motion-fast) var(--ww-motion-ease);
	width: 10px;
}

.ww-product-carousel__dot:hover,
.ww-product-carousel__dot:focus-visible {
	opacity: 1;
	transform: scale(1.06);
}

.ww-product-carousel__dot.is-active {
	background: var(--ww-color-dried-blood);
	opacity: 1;
}

.ww-home-carousel__action {
	display: flex;
	justify-content: center;
	margin-top: var(--ww-space-3);
}

.ww-home-products {
	background:
		radial-gradient(circle at 12% 18%, rgba(123, 79, 46, 0.16), transparent 24%),
		radial-gradient(circle at 86% 74%, rgba(92, 61, 30, 0.12), transparent 28%),
		url("../../images/backgrounds/bg_index_prods.jpg") center,
		var(--ww-color-bone-white);
	position: relative;
}

.ww-home-products::after {
	background-image: url("../../images/backgrounds/border_prods_bottom.png");
	background-position: center top;
	background-repeat: repeat-x;
	bottom: -31px;
	content: "";
	height: 16px;
	left: 0;
	position: absolute;
	right: 0;
	transform: translateY(-16px);
}

@media (min-width: 1024px) and (max-width: 1200px) {
	.ww-product-carousel__slide {
		flex-basis: calc((100% - (var(--ww-space-4) * 2)) / 3);
	}
}

@media (max-width: 1023px) {
	.ww-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ww-product-carousel__viewport {
		-webkit-overflow-scrolling: touch;
		touch-action: pan-x;
	}

	.ww-product-carousel__slide {
		flex-basis: calc((100% - var(--ww-space-4)) / 2);
	}

	.ww-home-page-content .wp-block-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ww-home-hero,
	.ww-home-hero__content {
		min-height: 520px;
	}

	.ww-home-hero {
		background:
			linear-gradient(180deg, rgba(28, 28, 26, 0.94), rgba(28, 28, 26, 0.58)),
			url("../../images/mockup-derived/home-hero.jpg") center / cover no-repeat;
	}

	.ww-category-grid {
		gap: var(--ww-space-3);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ww-category-tile {
		gap: var(--ww-space-1);
	}

	.ww-category-tile__icon {
		height: 120px;
		width: 120px;
	}

	.ww-category-tile__icon img {
		height: 120px;
		width: 120px;
	}

	.ww-category-tile__label {
		font-size: 1.45rem;
	}

	.ww-home-about__inner {
		grid-template-columns: 1fr;
	}

	.ww-product-carousel {
		align-items: start;
		grid-template-columns: 48px 48px minmax(0, 1fr);
	}

	.ww-product-carousel__viewport {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.ww-product-carousel__control--prev,
	.ww-product-carousel__control--next {
		grid-row: 2;
	}

	.ww-product-carousel__control--prev {
		grid-column: 1;
	}

	.ww-product-carousel__control--next {
		grid-column: 2;
	}

	.ww-product-carousel__slide {
		flex-basis: calc(100% - var(--ww-space-5));
	}

	.ww-home-page-content {
		padding: var(--ww-space-3);
	}

	.ww-home-page-content .wp-block-gallery {
		grid-template-columns: 1fr;
	}
}
