/* 
Theme Name: Whole Earth Foods
Theme URI: https://github.com/elementor/hello-theme/
Description: Whole Earth Foods child theme for Hello Elementor.
Author: Whole Earth Foods
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Optional product award/stamp, populated from the Product Details ACF field. */
.wef-product-stamp {
	pointer-events: none;
	z-index: 6;
}

.wef-product-stamp img {
	display: block;
	filter: drop-shadow(-10px 10px 8px rgba(0, 0, 0, 0.35));
}

@media (max-width: 767px) {
	/* Enlarge the pack visually without pushing the flanking artwork out of the viewport. */
	.we-single-rh-col {
		padding-top: 45px !important;
		padding-bottom: 50px !important;
	}

	.we-single-rh-col > .product img {
		transform: scale(1.75);
		transform-origin: center bottom;
	}

	.we-single-rh-col > .wef-product-stamp {
		right: 110px !important;
	}
}

/*
    Add your custom styles here
*/

body .site-main,
body .page-content,
body .entry-content {
	max-width: none;
	padding: 0;
}

body .page-header,
body .entry-title {
	display: none;
}

body .site-header,
body .site-footer {
	display: none;
}

body {
	background: #f4efe5;
	background-image: url("inc/img/whole-earth-pattern.webp");
	background-repeat: repeat;
	background-size: auto;
	color: #26342c;
	overflow-x: hidden;
}

html {
	overflow-x: hidden;
}


/*
.elementor-location-archive,
.elementor-location-single,
.elementor-page .entry-content {
	background: #f4efe5;
	background-image: url("inc/img/whole-earth-pattern.webp");
	background-repeat: repeat;
	background-size: auto;
	overflow: hidden;
}

.elementor-location-header {
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	position: relative;
	z-index: 10;
}

.elementor-location-header .elementor-widget-theme-site-logo img {
	display: block;
	height: auto;
	max-height: 118px;
	object-fit: contain;
	width: auto;
}

.elementor-location-header .elementor-widget-wp-widget-nav_menu {
	display: flex;
	justify-content: flex-end;
}

.elementor-location-header .elementor-widget-wp-widget-nav_menu ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.elementor-location-header .elementor-widget-wp-widget-nav_menu a {
	color: #22332b;
	display: block;
	max-width: 118px;
	text-decoration: none;
}

.elementor-location-header .elementor-widget-wp-widget-nav_menu a:hover {
	color: #006b3f;
}

.wef-site-header .elementor-container {
	align-items: center;
}

.wef-distributor-note {
	margin-bottom: 4px;
}

.wef-distributor-note,
.wef-distributor-note p {
	color: #4f554c;
	margin: 0;
}

.wef-shop-button .elementor-button {
	background: #9bb918;
	border-radius: 0;
	color: #fff;
	padding: 12px 16px;
}

.elementor-location-footer {
	background: #006b3f;
	color: #fff;
	position: relative;
}

.elementor-location-footer:before {
	background: #f4efe5;
	border-radius: 0 0 50% 50%;
	content: "";
	height: 70px;
	left: -5%;
	position: absolute;
	right: -5%;
	top: -42px;
}

.wef-site-footer .elementor-widget-wp-widget-nav_menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	justify-content: center;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.wef-site-footer .elementor-widget-wp-widget-nav_menu a,
.wef-footer-legal,
.wef-footer-legal p {
	color: #fff;
	text-decoration: none;
}

.wef-footer-legal p {
	opacity: 0.82;
}

.wef-green-panel {
	position: relative;
}

.wef-green-panel:before {
	background: rgba(255, 255, 255, 0.07);
	border-radius: 52% 48% 55% 45%;
	content: "";
	height: 78%;
	position: absolute;
	right: -9%;
	top: 6%;
	transform: rotate(-8deg);
	width: 58%;
}

.wef-green-panel:after {
	background: #f4efe5;
	border-radius: 50% 50% 0 0;
	bottom: -84px;
	content: "";
	height: 150px;
	left: -8%;
	position: absolute;
	right: -8%;
	z-index: 0;
}

.wef-green-panel .elementor-container,
.wef-green-panel .elementor-widget {
	position: relative;
	z-index: 1;
}

.wef-kicker .elementor-heading-title,
.wef-single-range .elementor-heading-title {
}

.wef-hero-title .elementor-heading-title,
.wef-display-heading .elementor-heading-title,
.wef-related-heading .elementor-heading-title {
}

.wef-hero-title .elementor-heading-title {
}

.wef-display-heading .elementor-heading-title {
}

.wef-left-display .elementor-heading-title {
}

.wef-home-hero {
	margin: 64px auto 56px;
	max-width: 1080px;
	overflow: visible;
}

.wef-home-hero .elementor-heading-title {
}

.wef-home-hero-product img {
	filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.18));
	max-height: 320px;
	object-fit: contain;
	width: auto;
}

.wef-white-card {
	border-radius: 7px;
	box-shadow: 0 1px 0 rgba(37, 31, 22, 0.08);
	margin-left: auto;
	margin-right: auto;
}

.wef-centered-card {
	margin-bottom: 54px;
}

.wef-centered-card .elementor-widget-text-editor {
	margin-left: auto;
	margin-right: auto;
	max-width: 620px;
}

.wef-product-pair .elementor-column:last-child .elementor-widget-wrap {
	align-items: flex-end;
	display: flex;
	gap: 14px;
	justify-content: center;
}

.wef-pair-product {
	width: 45%;
}

.wef-pair-product img {
	max-height: 320px;
	object-fit: contain;
	width: auto;
}

.wef-green-story {
	border-radius: 0 0 7px 7px;
	margin-bottom: 88px;
}

.wef-panel-heading .elementor-heading-title,
.wef-card-heading .elementor-heading-title,
.wef-range-heading .elementor-heading-title,
.wef-detail-heading .elementor-heading-title,
.wef-usage-heading .elementor-heading-title {
}

.wef-panel-heading .elementor-heading-title {
}

.wef-grown-card {
	margin-bottom: 86px;
}

.wef-card-product img {
	max-height: 220px;
	object-fit: contain;
	width: auto;
}

.wef-partnership-band {
	margin-bottom: 28px;
}

.wef-partnership-product img {
	max-height: 330px;
	object-fit: contain;
	width: auto;
}

.wef-partnership-cta {
	align-items: center;
	margin-bottom: 42px;
}

.wef-social-grid {
	margin-bottom: 30px;
}

.wef-social-image img {
	aspect-ratio: 1 / 1;
	background: #fff;
	border-radius: 8px;
	height: auto;
	object-fit: contain;
	padding: 20px;
	width: 100%;
}

.wef-archive-hero {
	margin-bottom: 12px;
}

.wef-archive-hero .elementor-column:last-child .elementor-widget-wrap {
	align-items: flex-end;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}

.wef-archive-hero-product {
	display: inline-block;
	margin-right: -22px;
	width: 48%;
}

.wef-archive-hero-product img {
	filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.18));
	max-height: 360px;
	object-fit: contain;
	width: auto;
}

.wef-range-section {
	position: relative;
	z-index: 1;
}

.wef-range-heading .elementor-heading-title {
	color: #007a44;
	margin-bottom: 18px;
}

.wef-product-grid .elementor-post {
}

.wef-product-grid .elementor-post__card,
.wef-product-grid .elementor-post {
	background: transparent !important;
	box-shadow: none !important;
}

.wef-product-grid .elementor-post__title,
.wef-product-grid .elementor-post__title a {
	color: #1f2d25;
	text-decoration: none;
}

.wef-product-grid .elementor-post__thumbnail__link {
	height: 290px;
}

.wef-single-hero {
	margin-bottom: 32px;
}

.wef-single-title .elementor-heading-title {
	max-width: 600px;
}

.wef-single-excerpt {
	max-width: 430px;
}

.wef-single-product-image img {
	filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.18));
	max-height: 455px;
	object-fit: contain;
	width: auto;
}

.wef-single-intro {
	position: relative;
	z-index: 1;
}

.wef-product-story,
.wef-product-story p {
	color: #26342c;
}

.wef-benefit-list ul {
	list-style: none;
	margin: 34px 0 0;
	padding: 0;
}

.wef-benefit-list li {
	color: #007a44;
	margin: 0 0 17px;
	padding-left: 44px;
	position: relative;
}

.wef-benefit-list li:before {
	background: #007a44;
	border-radius: 50%;
	content: "";
	height: 18px;
	left: 4px;
	position: absolute;
	top: 6px;
	width: 30px;
}

.wef-usage-heading .elementor-heading-title {
	color: #26342c;
}

.wef-usage-list ul {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.wef-usage-list li {
	color: #26342c;
}


.wef-detail-heading .elementor-heading-title,
.wef-nutrition-table h4 {
	color: #26342c;
	font-size: clamp(1.05rem, 1rem + 0.18vw, 1.2rem) !important;
	line-height: 1.1;
}

.wef-detail-copy,
.wef-detail-copy p,
.wef-nutrition-table,
.wef-nutrition-table li {
	color: #26342c;
}

.wef-nutrition-table ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wef-nutrition-table li {
	border-bottom: 1px solid rgba(38, 52, 44, 0.22);
	padding: 8px 0;
}

.wef-store-section {
	position: relative;
	z-index: 1;
}

.wef-store-label p {
	margin: 0 0 14px;
}

.wef-store-strip {
	background: #fff;
	border-radius: 4px;
	padding: 28px 34px;
}

.wef-store-strip p,
.wef-store-grid {
	align-items: center;
	display: grid;
	gap: clamp(18px, 3vw, 34px);
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	margin: 0;
}

.wef-store-strip strong {
	color: #007a44;
}

.wef-store-grid__link {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 70px;
	padding: 4px;
	width: 100%;
}

.wef-store-grid__link img {
	display: block;
	height: 100%;
	max-height: 58px;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

@media (min-width: 768px) {
	.wef-store-grid {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	}
}

@media (min-width: 1025px) {
	.wef-store-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.wef-related-heading .elementor-heading-title {
	color: #26342c;
	margin-bottom: 28px;
}

.elementor-posts .elementor-post__thumbnail__link {
	align-items: center;
	display: flex !important;
	height: 300px;
	justify-content: center;
	margin-bottom: 18px;
	overflow: visible !important;
	width: 100%;
}

.elementor-posts .elementor-post__thumbnail {
	align-items: center;
	display: flex;
	height: 100% !important;
	justify-content: center;
	padding-bottom: 0 !important;
	width: 100%;
}

.elementor-posts .elementor-post__thumbnail img {
	height: auto !important;
	left: auto !important;
	max-height: 100% !important;
	max-width: 100% !important;
	object-fit: contain !important;
	position: static !important;
	top: auto !important;
	transform: none !important;
	width: auto !important;
}

@media (max-width: 1024px) {
	.elementor-location-header .elementor-nav-menu--dropdown a br,
	.elementor-location-header .elementor-widget-wp-widget-nav_menu a br {
		display: none !important;
	}

	.elementor-location-header .elementor-nav-menu--dropdown a .we-mobile-menu-space,
	.elementor-location-header .elementor-widget-wp-widget-nav_menu a .we-mobile-menu-space {
		display: inline;
	}
}

@media (max-width: 767px) {
	.elementor-location-header .elementor-container,
	.wef-site-header .elementor-container {
		gap: 14px;
	}

	.elementor-location-header .elementor-widget-theme-site-logo img {
		max-height: 80px;
	}

	.elementor-location-header .elementor-widget-wp-widget-nav_menu ul {
		gap: 12px;
		justify-content: center;
	}

	.elementor-location-header .elementor-widget-wp-widget-nav_menu a {
		max-width: 90px;
	}

	.elementor-location-header .elementor-nav-menu--dropdown,
	.elementor-location-header .elementor-widget-nav-menu {
		position: relative;
		z-index: 1000;
	}

	.elementor-location-header .we-site-header-main {
		position: relative;
		z-index: 1002 !important;
	}

	.elementor-location-header .we-header-cloud {
		pointer-events: none;
		position: relative;
		z-index: 0 !important;
	}

	.elementor-location-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active,
	.elementor-location-header .elementor-nav-menu--dropdown .current-menu-item > a,
	.elementor-location-header .elementor-nav-menu--dropdown .current_page_item > a {
		background-image: none !important;
	}

	.wef-distributor-note,
	.wef-shop-button {
	}

	.wef-hero-title .elementor-heading-title,
	.wef-single-title .elementor-heading-title {
	}

	.wef-green-panel:after {
		bottom: -48px;
		height: 88px;
	}

	.wef-home-hero,
	.wef-archive-hero {
		margin-top: 24px;
	}

	.wef-product-pair .elementor-column:last-child .elementor-widget-wrap,
	.wef-store-strip p {
		display: block;
	}

	.wef-pair-product {
		width: 100%;
	}

	.wef-usage-list ul {
		grid-template-columns: 1fr;
	}

	.wef-benefit-list li {
	}

	.wef-site-footer .elementor-widget-wp-widget-nav_menu ul {
		display: block;
	}

	.wef-site-footer .elementor-widget-wp-widget-nav_menu li {
		margin: 0 0 10px;
	}

	.elementor-posts .elementor-post__thumbnail__link {
		height: 240px;
	}
}
*/
