.eo-home-collections {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eo-home-collection {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	aspect-ratio: 1;
	background: #7a644f;
	color: #fff;
	text-decoration: none;
}

.eo-home-collection:nth-child(even) {
	background-color: #8a7360;
}

.eo-home-collection img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s cubic-bezier(.15, .75, .5, 1);
}

.eo-home-collection::after {
	position: absolute;
	inset: 0;
	background: var(--eo-accent, #e4cfc1);
	content: "";
	opacity: 0;
	transition: opacity .45s cubic-bezier(.15, .75, .5, 1);
}

@media (hover: hover) and (min-width: 691px) {
	.eo-home-collection:hover img {
		transform: scale(1.1);
	}

	.eo-home-collection:hover::after {
		opacity: .2;
	}
}

.eo-home-collection:focus-visible {
	z-index: 1;
	outline-offset: -5px;
}

.eo-home-collection h2 {
	z-index: 1;
	max-width: 85%;
	margin: 0;
	padding: 9px 18px;
	border: 1px solid rgb(255 220 140 / 50%);
	border-radius: 40px;
	background: rgb(175 136 68 / 28%);
	backdrop-filter: blur(10px);
	box-shadow: inset 0 1px 0 rgb(255 220 140 / 20%), 0 4px 16px rgb(0 0 0 / 20%);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.2;
	text-align: center;
	text-shadow: 0 1px 4px rgb(0 0 0 / 40%);
	text-transform: uppercase;
}

.eo-home-services {
	background: var(--eo-champagne);
}

.eo-home-promises {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	padding-block: 20px;
	text-align: center;
}

.eo-home-promises > div {
	padding-inline: 8%;
}

.eo-home-promises svg {
	display: block;
	width: 40px;
	height: 40px;
	margin: 0 auto 4px;
	color: var(--eo-gold, #af8844);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.eo-home-promises h2 {
	margin: 2px 0 10px;
	color: #654a39;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-transform: uppercase;
}

.eo-home-promises p {
	margin: 0 0 24px;
	color: #000;
	line-height: 24px;
}

.eo-home-products-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 25px;
	padding-inline: 55px;
	text-align: center;
}

.eo-home-products-heading h2 {
	margin: 0;
	color: #4f4f4f;
	font-size: 32px;
	line-height: 36px;
	text-transform: uppercase;
}

.eo-home-shop-link {
	color: var(--eo-ink, #2e2e2e);
	font-size: 13px;
	font-weight: 600;
	line-height: 24px;
	text-decoration: none;
	text-transform: uppercase;
}

.eo-home-products-carousel {
	position: relative;
}

.eo-home .eo-home-products-carousel ul.products {
	--eo-home-columns: 4;
	--eo-home-product-gap: 20px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--eo-home-columns) - 1) * var(--eo-home-product-gap)) / var(--eo-home-columns));
	grid-template-columns: none;
	gap: var(--eo-home-product-gap);
	overflow-x: auto;
	padding: 10px;
	scroll-padding-inline: 10px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.eo-home .eo-home-products-carousel ul.products::before,
.eo-home .eo-home-products-carousel ul.products::after {
	display: none;
}

.eo-home .eo-home-products-carousel ul.products > li.product {
	position: relative;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

.eo-home .eo-home-products-carousel .eo-product-image {
	aspect-ratio: 4 / 5;
}

.eo-home .eo-home-products-carousel ul.products li.product .eo-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eo-home .eo-home-products-carousel ul.products li.product .woocommerce-loop-product__title {
	padding: .3rem .4rem 0;
	color: #2e2e2e;
	font-size: 21px;
	font-weight: 500;
	line-height: 26px;
}

.eo-home .eo-home-products-carousel ul.products li.product .price {
	color: var(--eo-gold, #af8844);
	font-size: 16px;
}

.eo-home-carousel-controls:not([hidden]) {
	display: flex;
	gap: .35rem;
}

.eo-home-carousel-controls button {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	padding: 0;
	border: 1px solid #cfb6a2;
	border-radius: 50%;
	background: #fffaf6;
	color: #513726;
}

.eo-home-carousel-controls button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.eo-home-carousel-controls button:disabled { opacity: .4; cursor: default; }
.eo-home-carousel-controls button:not(:disabled):hover,
.eo-home-carousel-controls button[aria-pressed="true"] { background: var(--eo-gold-wash); border-color: var(--eo-gold); color: var(--eo-ink); }

.eo-home-products {
	padding-block: clamp(2rem, 5vw, 4.75rem);
	background: #f8f2ec;
}

.eo-home-products .eo-home-products-inner {
	width: min(100% - 2 * var(--eo-gutter), 1510px);
	margin-inline: auto;
}

.eo-home-products .eo-home-products-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: .75rem;
	row-gap: .15rem;
	justify-items: start;
	margin-block-end: clamp(1rem, 3vw, 2rem);
	padding: 0;
	text-align: start;
}
.eo-home-products .eo-home-products-heading h2 {
	color: var(--eo-ink);
	font-size: clamp(1.8rem, 4.1vw, 3.5rem);
	line-height: 1.02;
	text-transform: none;
}
.eo-home-products .eo-home-shop-link {
	grid-column: 1;
	color: #654a39;
	text-decoration: underline;
	text-transform: none;
}
.eo-home-products .eo-home-carousel-controls { grid-area: 1 / 2 / span 2; align-self: center; }

.eo-home .eo-home-products .eo-home-products-carousel ul.products {
	--eo-home-columns: 4;
	--eo-home-product-gap: clamp(1rem, 2vw, 1.65rem);
	margin: 0;
	padding: 4px 4px .6rem;
	scroll-padding-inline: 4px;
}
.eo-home .eo-home-products .eo-home-products-carousel ul.products > li.product { align-items: flex-start; text-align: start; }
.eo-home .eo-home-products .eo-product-image { background: var(--eo-champagne); }
.eo-home .eo-home-products ul.products li.product a.woocommerce-LoopProduct-link { margin-block-end: .15rem; }
.eo-home .eo-home-products ul.products li.product .woocommerce-loop-product__title {
	padding: .7rem 0 .25rem;
	color: #513726;
	font-size: clamp(1.15rem, 1.7vw, 1.5rem);
	font-weight: 600;
	line-height: 1.13;
}
.eo-home .eo-home-products ul.products li.product .price { color: #654a39; font-size: .91rem; }
.eo-home .eo-home-products .eo-home-products-carousel ul.products li.product > .button:not(.alt) {
	position: static;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	margin-block: auto 0;
	padding: .35rem .15rem .35rem 0;
	background: transparent;
	color: #513726;
	font-size: .88rem;
	text-decoration: underline;
	text-transform: none;
	opacity: 1;
	pointer-events: auto;
}
.eo-home .eo-home-products ul.products li.product > .button:hover { color: #765625; }
.eo-home-carousel-progress {
	width: min(9rem, 100%);
	height: 2px;
	margin-block-start: .65rem;
	background: var(--eo-champagne);
}
.eo-home-carousel-progress::before {
	display: block;
	height: 100%;
	transform: scaleX(var(--eo-carousel-progress, 0));
	transform-origin: left;
	background: #956b4e;
	content: "";
}

.eo-home-about {
	padding-block: clamp(2.7rem, 6vw, 6rem);
	background: #fffdf9;
	color: #513c30;
}

.eo-home-about-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .76fr);
	column-gap: clamp(2rem, 7vw, 7rem);
	row-gap: clamp(1.1rem, 2.5vw, 2rem);
	align-items: start;
	max-width: 1220px;
}

.eo-home-about .eo-home-about-intro h2 {
	margin: 0 0 .55em;
	color: var(--eo-ink);
	font-size: clamp(2.35rem, 5vw, 4.5rem);
	line-height: .98;
	text-transform: none;
}

.eo-home-about-intro p {
	max-width: 58ch;
	margin: 0;
	color: #513726;
	font-size: clamp(1.03rem, 1.45vw, 1.16rem);
	line-height: 1.65;
}

.eo-home-about-story p { max-width: 62ch; margin: 0 0 1rem; line-height: 1.68; }
.eo-home-about-story .eo-home-about-closing {
	margin: 1.25rem 0 0;
	color: #704f35;
	font: 600 clamp(1.45rem, 2.7vw, 2.1rem)/1.12 var(--eo-serif);
}

.eo-home-portrait {
	position: relative;
	grid-area: 1 / 2 / span 2;
	align-self: center;
	justify-self: center;
	width: calc(100% - 16px);
	max-width: 460px;
	margin: 0;
	isolation: isolate;
}
.eo-home-portrait::before {
	position: absolute;
	z-index: -1;
	inset: 9px -9px -9px 9px;
	border: 1px solid #bc9a75;
	border-radius: inherit;
	content: "";
}
.eo-home-portrait, .eo-home-about-image { border-radius: 48% 48% 7px 7px / 24% 24% 7px 7px; }
.eo-home-about-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}
.eo-home-about-inner:not(:has(.eo-home-portrait)) { grid-template-columns: minmax(0, 1fr); }

.eo-home-values {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 3vw, 2rem);
	margin-block-start: clamp(1rem, 3.5vw, 2.75rem);
	padding-block-start: clamp(1.2rem, 3.5vw, 2.6rem);
	border-top: 1px solid #e5d6cb;
}
.eo-home-values svg {
	width: 28px;
	height: 28px;
	margin-block-end: .55rem;
	fill: none;
	stroke: #926844;
	stroke-width: 1.35;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.eo-home-values h3 { margin: 0 0 .35rem; color: #513726; font-size: 1.5rem; }
.eo-home-values p { margin: 0; font-size: .94rem; line-height: 1.62; }

@media (prefers-reduced-motion: no-preference) {
	.eo-home-motion .eo-home-about [data-eo-reveal].is-revealed {
		animation: eo-products-arrive .5s cubic-bezier(.25, 1, .5, 1) both;
	}

	.eo-home-motion .eo-home-products-carousel.is-revealed ul.products {
		animation: eo-products-arrive .5s cubic-bezier(.25, 1, .5, 1) both;
	}

	@keyframes eo-products-arrive {
		from { transform: translateY(8px); opacity: .65; }
		to { transform: translateY(0); opacity: 1; }
	}
}

@media (max-width: 1703px) {
	.eo-home-collection h2 {
		font-size: 12px;
	}
}

@media (max-width: 1460px) {
	.eo-home-collection h2 {
		font-size: 11px;
	}
}

@media (max-width: 999px) {
	.eo-home .eo-home-products .eo-home-products-carousel ul.products { --eo-home-columns: 3; }

	.eo-home-collections,
	.eo-home-promises {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eo-home-about-inner { column-gap: 2rem; }
}

@media (max-width: 700px) {
	.eo-home-collection h2 {
		padding: 7px 12px;
		font-size: 14px;
	}
}

@media (max-width: 690px) {
	.eo-home .eo-home-products .eo-home-products-carousel ul.products { --eo-home-columns: 1.24; }
	.eo-home-products .eo-home-carousel-controls button { width: 36px; height: 40px; }

	.eo-home-collections,
	.eo-home-promises,
	.eo-home-values {
		grid-template-columns: minmax(0, 1fr);
	}

	.eo-home-collection {
		aspect-ratio: 4 / 3;
	}

	.eo-home-about-inner { grid-template-columns: minmax(0, 1fr); }
	.eo-home-portrait { grid-area: auto; max-width: 330px; margin-block: .2rem .5rem; }
	.eo-home-values > div + div { padding-block-start: 1rem; border-top: 1px solid #e5d6cb; }
}

@media (prefers-reduced-motion: reduce) {
	.eo-home-collection img,
	.eo-home-collection::after {
		transition: none;
	}
}
