.esseys-elementor-hero,
.esseys-elementor-story,
.esseys-elementor-philosophy,
.esseys-elementor-products {
	box-sizing: border-box;
}

.esseys-elementor-hero {
	position: relative;
	display: grid;
	width: 100%;
	padding: clamp(48px, 8vw, 100px) 24px;
	place-items: center;
	background-color: #120649;
	background-position: center;
	background-size: cover;
	text-align: center;
}

.esseys-elementor-hero__inner {
	width: min(100%, 920px);
}

.esseys-elementor-eyebrow {
	margin: 0 0 14px;
	color: #d6b66f;
	font-family: 'Manrope', 'Avenir Next', Avenir, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.esseys-elementor-hero h1,
.esseys-elementor-story h2,
.esseys-elementor-philosophy h2,
.esseys-elementor-products h2 {
	margin: 0 0 18px;
	color: #581b43;
	font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
	font-size: clamp(32px, 4.8vw, 58px);
	font-weight: 500;
	line-height: 1.12;
}

.esseys-elementor-hero h1 {
	color: #fffaf4;
}

.esseys-elementor-hero__description,
.esseys-elementor-story__content,
.esseys-elementor-philosophy__content,
.esseys-elementor-products__intro {
	color: #514a45;
	font-family: 'Cormorant Garamond', 'Bodoni MT', Didot, Georgia, serif;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.6;
}

.esseys-elementor-hero__description {
	max-width: 720px;
	margin: 0 auto 24px;
	color: #fffaf4;
}

.esseys-elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 24px;
	border: 1px solid #d6a52f;
	border-radius: 3px;
	background: #d6a52f;
	color: #120649;
	font-family: 'Manrope', 'Avenir Next', Avenir, Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .07em;
	text-decoration: none;
	text-transform: uppercase;
}

.esseys-elementor-button:hover,
.esseys-elementor-button:focus-visible {
	background: transparent;
	color: #fffaf4;
}

.esseys-elementor-button--light {
	background: #120649;
	color: #fffaf4;
}

.esseys-elementor-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
	gap: clamp(32px, 6vw, 84px);
	align-items: center;
	width: min(100% - 48px, 1180px);
	margin: 0 auto;
	padding: clamp(52px, 8vw, 104px) 0;
}

.esseys-elementor-story--image-left .esseys-elementor-story__image {
	grid-column: 1;
	grid-row: 1;
}

.esseys-elementor-story--image-left .esseys-elementor-story__copy {
	grid-column: 2;
	grid-row: 1;
}

.esseys-elementor-story__copy h2,
.esseys-elementor-products h2 {
	font-size: clamp(30px, 4vw, 44px);
}

.esseys-elementor-story__content > :last-child,
.esseys-elementor-philosophy__content > :last-child {
	margin-bottom: 0;
}

.esseys-elementor-story__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 500px;
	border-radius: 3px;
	object-fit: cover;
	box-shadow: 10px 10px 0 #d6a52f;
}

.esseys-elementor-philosophy {
	width: min(100% - 48px, 1180px);
	margin: 26px auto;
	padding: clamp(48px, 7vw, 84px) clamp(24px, 8vw, 110px);
	text-align: center;
}

.esseys-elementor-philosophy h2,
.esseys-elementor-philosophy .esseys-elementor-eyebrow,
.esseys-elementor-philosophy__content {
	color: inherit;
}

.esseys-elementor-philosophy h2 {
	font-size: clamp(28px, 3.8vw, 42px);
}

.esseys-elementor-philosophy__content {
	max-width: 900px;
	margin: 0 auto;
	font-size: clamp(19px, 2.2vw, 25px);
}

.esseys-elementor-products {
	width: min(100% - 48px, 1280px);
	margin: 0 auto;
	padding: clamp(44px, 7vw, 82px) 0;
	text-align: center;
}

.esseys-elementor-products__intro {
	margin: 0 0 32px;
}

.esseys-elementor-products .esseys-featured-products {
	margin: 0;
}

/* Home page widgets */
.esseys-home-hero,
.esseys-home-benefits,
.esseys-home-collections,
.esseys-home-testimonials {
	box-sizing: border-box;
}

.esseys-home-hero {
	width: 100%;
	padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 80px);
	background: #faf9f6;
}

.esseys-home-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
	width: min(100%, 1440px);
	min-height: 410px;
	margin: 0 auto;
}

.esseys-home-hero__image {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

.esseys-home-hero__image img {
	display: block;
	width: 100%;
	height: clamp(300px, 38vw, 500px);
	object-fit: cover;
	object-position: center;
	box-shadow: 10px 10px 0 #d6a52f;
}

.esseys-home-hero__copy {
	grid-column: 1;
	grid-row: 1;
}

.esseys-home-hero__copy h1 {
	margin: 0 0 20px;
	color: #211810;
	font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
	font-size: clamp(36px, 4.2vw, 58px);
	font-weight: 500;
	line-height: 1.12;
}

.esseys-home-hero__description {
	max-width: 620px;
	margin: 0 0 28px;
	color: #514a45;
	font-family: 'Cormorant Garamond', 'Bodoni MT', Didot, Georgia, serif;
	font-size: clamp(19px, 1.8vw, 23px);
	line-height: 1.6;
}

.esseys-home-benefits {
	width: 100%;
	padding: 20px clamp(18px, 4vw, 64px);
	background: #faf7f1;
	border-top: 1px solid #e9e1d5;
	border-bottom: 1px solid #e9e1d5;
}

.esseys-home-benefits__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	width: min(100%, 1440px);
	margin: 0 auto;
}

.esseys-home-benefit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-width: 0;
	padding: 10px;
}

.esseys-home-benefit__icon {
	flex: 0 0 auto;
	color: #a77b32;
	font-size: 29px;
	line-height: 1;
}

.esseys-home-benefit h3 {
	margin: 0 0 4px;
	color: #211810;
	font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
	font-size: 18px;
	font-weight: 600;
}

.esseys-home-benefit p {
	margin: 0;
	color: #66615b;
	font-size: 13px;
	line-height: 1.45;
}

.esseys-home-collections,
.esseys-home-testimonials {
	width: min(100% - 48px, 1440px);
	margin: 0 auto;
	padding: clamp(54px, 7vw, 88px) 0;
}

.esseys-home-collections {
	background: #fff;
}

.esseys-home-section-heading {
	max-width: 760px;
	margin: 0 auto 38px;
	text-align: center;
}

.esseys-home-section-heading .esseys-elementor-eyebrow {
	margin-bottom: 10px;
}

.esseys-home-section-heading h2 {
	margin: 0 0 12px;
	color: #211810;
	font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 500;
	line-height: 1.2;
}

.esseys-home-section-heading > p:last-child {
	margin: 0;
	color: #66615b;
	font-size: 15px;
	line-height: 1.7;
}

.esseys-home-collections__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.esseys-home-collection-card {
	display: block;
	min-width: 0;
	color: #171717;
	text-align: center;
	text-decoration: none;
	background: #f8f3eb;
	border-radius: 3px;
	overflow: hidden;
	transition: transform .2s ease;
}

.esseys-home-collection-card:hover,
.esseys-home-collection-card:focus-visible {
	transform: translateY(-4px);
}

.esseys-home-collection-card__image {
	display: grid;
	width: 100%;
	aspect-ratio: 1 / 1;
	place-items: center;
	background: #f1e9dd;
	overflow: hidden;
}

.esseys-home-collection-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.esseys-home-collection-card__placeholder {
	color: #a77b32;
	font-family: 'Bodoni Moda', Georgia, serif;
	font-size: 22px;
	letter-spacing: .12em;
}

.esseys-home-collection-card__title,
.esseys-home-collection-card__count {
	display: block;
}

.esseys-home-collection-card__title {
	padding: 15px 8px 4px;
	font-family: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;
	font-size: 18px;
	font-weight: 600;
}

.esseys-home-collection-card__count {
	padding: 0 8px 15px;
	color: #6b6259;
	font-size: 13px;
}

.esseys-home-testimonials {
	width: 100%;
	max-width: none;
	padding-right: max(24px, calc((100% - 1320px) / 2));
	padding-left: max(24px, calc((100% - 1320px) / 2));
	background: #f8f3eb;
}

.esseys-home-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.esseys-home-review {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px;
	background: #fff;
	border: 1px solid #e8dece;
	box-shadow: 0 8px 24px rgba(39, 27, 15, .05);
}

.esseys-home-review__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.esseys-home-review__quote-mark {
	color: #d6a52f;
	font-family: Georgia, serif;
	font-size: 52px;
	line-height: .8;
}

.esseys-home-review__stars {
	color: #b48937;
	letter-spacing: .1em;
}

.esseys-home-review blockquote {
	flex: 1 1 auto;
	margin: 10px 0 25px;
	color: #514a45;
	font-family: 'Cormorant Garamond', 'Bodoni MT', Didot, Georgia, serif;
	font-size: 19px;
	line-height: 1.55;
}

.esseys-home-review footer {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: #211810;
}

.esseys-home-review footer span {
	color: #777067;
	font-size: 12px;
}

/* Match the live Home featured-fragrance section and ESSEYS product cards. */
.homepage .featured-products-section.esseys-elementor-products {
	box-sizing: border-box;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 85px 5%;
	background: #faf9f6;
	text-align: center;
}

.homepage .featured-products-section.esseys-elementor-products .section-heading {
	margin: 0 auto 42px;
	text-align: center;
}

.homepage .featured-products-section.esseys-elementor-products .section-heading h2 {
	margin: 12px 0 14px;
	color: #171717;
	font-family: Arial, sans-serif;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
}

.homepage .featured-products-section.esseys-elementor-products .section-heading > p:last-child {
	max-width: 600px;
	margin: 0 auto;
	color: #66615b;
	font-family: Arial, sans-serif;
	font-size: 14px;
	line-height: 1.8;
}

.esseys-story-content .esseys-home-story-copy > p {
	margin: 0 0 22px;
	color: #292929;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 15px;
	line-height: 1.65;
}

@media (max-width: 767px) {
	.esseys-home-hero__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.esseys-home-hero__image,
	.esseys-home-hero__copy {
		grid-column: 1;
		grid-row: auto;
	}

	.esseys-home-hero__image img {
		height: auto;
		aspect-ratio: 1.3 / 1;
	}

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

	.esseys-home-benefit {
		justify-content: flex-start;
	}

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

	.esseys-home-testimonials__grid {
		grid-template-columns: 1fr;
	}

	.homepage .featured-products-section.esseys-elementor-products {
		padding: 50px 5%;
	}

	.esseys-elementor-story {
		grid-template-columns: 1fr;
		width: min(100% - 36px, 560px);
		gap: 28px;
		padding: 48px 0;
	}

	.esseys-elementor-story--image-left .esseys-elementor-story__image,
	.esseys-elementor-story--image-left .esseys-elementor-story__copy {
		grid-column: auto;
		grid-row: auto;
	}

	.esseys-elementor-philosophy,
	.esseys-elementor-products {
		width: calc(100% - 36px);
	}
}
