/* Shared header / footer. Theme-owned nav replaces the Elementor product menu. */

.elementor-location-header,
.fl-page-header,
.fl-page-header-wrap {
	background: #f6f1e7 !important;
}

.elementor-location-header .elementor-nav-menu > li > a,
.fl-page-nav .navbar-nav > li > a {
	color: #1e3a2b !important;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 13px;
}

.elementor-location-header .elementor-nav-menu > li > a:hover,
.elementor-location-header .elementor-nav-menu > li > a:focus,
.fl-page-nav .navbar-nav > li > a:hover,
.fl-page-nav .navbar-nav > li > a:focus {
	color: #2c4a35 !important;
}

body:has(#header_menu_cart) #side_cart .elementor-menu-cart__toggle_wrapper,
body:has(#cf_header_cart) #side_cart .elementor-menu-cart__toggle_wrapper,
body:has(#cf_header_cart) #header_menu_cart {
	display: none !important;
}

body:has(.cf-site-header) .elementor-location-header,
body:has(.cf-site-header) .fl-page-header,
body:has(.cf-site-header) .fl-page-bar {
	display: none !important;
}

.elementor-location-footer {
	background: #1e3a2b;
	color: #f4f1ea;
}

.elementor-location-footer a {
	color: #f4f1ea;
}

.elementor-location-footer .elementor-heading-title,
.elementor-location-footer h2,
.elementor-location-footer h3,
.elementor-location-footer h4 {
	color: #f4f1ea;
}

.elementor-location-footer .elementor-icon-list-items {
	gap: 6px;
}

.cf-site-version {
	color: #c8d2c4;
}

body > .cf-site-version {
	left: 12px;
	right: auto;
}

.cf-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #f6f1e7;
	border-bottom: 1px solid #ece8df;
	font-family: Roboto, Helvetica, Arial, sans-serif;
	overflow-x: clip;
}

.cf-site-header__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.cf-site-header__brand {
	flex: 0 0 auto;
}

.cf-site-header__brand .custom-logo,
.cf-site-header__brand img {
	display: block;
	height: 48px;
	width: auto;
	max-width: 180px;
}

.cf-site-header__logo-link--mark {
	display: inline-flex;
	align-items: center;
	background: #1e3a2b;
	padding: 6px 10px;
	border-radius: 4px;
}

.cf-site-header__toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border: 1px solid #1e3a2b;
	border-radius: 4px;
	background: transparent;
	color: #1e3a2b;
}

.cf-site-header__toggle-bars,
.cf-site-header__toggle-bars:before,
.cf-site-header__toggle-bars:after {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: currentColor;
	content: "";
}

.cf-site-header__toggle-bars:before,
.cf-site-header__toggle-bars:after {
	margin-top: 4px;
}

.cf-site-header__nav {
	flex: 1 1 auto;
}

.cf-site-header__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 18px;
	margin: 0;
	padding: 0;
}

.cf-site-header__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #1e3a2b !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none !important;
	min-height: 40px;
}

.cf-site-header__item.is-current > .cf-site-header__link,
.cf-site-header__link:hover,
.cf-site-header__link:focus {
	color: #2c4a35 !important;
}

.cf-site-header__link:focus-visible {
	outline: 2px solid #2c4a35;
	outline-offset: 3px;
}

.cf-site-header__caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}

.cf-site-header__item--has-children {
	position: relative;
}

.cf-site-header__sub {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #ece8df;
	box-shadow: 0 10px 24px rgba(28, 28, 28, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
	z-index: 20;
}

.cf-site-header__item--has-children:hover > .cf-site-header__sub,
.cf-site-header__item--has-children:focus-within > .cf-site-header__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.cf-site-header__sub a {
	display: block;
	padding: 10px 16px;
	color: #1e3a2b !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
}

.cf-site-header__sub a:hover,
.cf-site-header__sub a:focus {
	background: #f6f1e7;
}

.cf-site-header__location {
	display: inline-flex;
	align-items: center;
	flex: 0 1 auto;
	gap: 8px;
	max-width: 280px;
	min-width: 0;
	min-height: 44px;
	margin: 0 4px 0 0;
	padding: 4px 14px 4px 8px;
	border: 0;
	border-right: 1px solid #ece8df;
	border-radius: 0;
	background: transparent;
	color: #1e3a2b;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
	font-family: inherit;
}

.cf-site-header__location--progress {
	align-items: flex-start;
	flex: 0 1 360px;
	width: min(360px, 100%);
	max-width: 380px;
	min-width: 0;
	padding-top: 6px;
	padding-bottom: 6px;
}

.cf-site-header__location--progress .cf-del-progress {
	max-width: 100%;
}

.cf-site-header__location--progress .cf-del-progress__scale-cart,
.cf-site-header__location--progress .cf-del-progress__scale-min,
.cf-site-header__location--progress .cf-del-progress__scale-free {
	flex: 1 1 0;
	min-width: 0;
	max-width: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cf-site-header__location:hover,
.cf-site-header__location:focus {
	background: #efe8d8;
}

.cf-site-header__location:focus-visible {
	outline: 2px solid #2c4a35;
	outline-offset: 2px;
}

.cf-site-header__location-pin {
	flex: 0 0 auto;
	color: #1e3a2b;
}

.cf-site-header__location--alert .cf-site-header__location-pin {
	color: #b42318;
}

.cf-site-header__location-copy {
	min-width: 0;
	display: block;
	flex: 1 1 auto;
}

.cf-site-header__location--progress .cf-site-header__location-pin {
	margin-top: 2px;
}

.cf-site-header__location-primary-row {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.cf-site-header__location-primary {
	display: block;
	min-width: 0;
	color: #1e3a2b;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cf-site-header__location-secondary {
	display: block;
	min-width: 0;
	color: #5a6454;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cf-site-header__location-chevron {
	flex: 0 0 auto;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}

.cf-site-header__tools {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 12px;
	margin-left: auto;
}

.cf-site-header__icon-btn,
.cf-site-header__cart,
.cf-site-header__account {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	color: #1e3a2b !important;
	text-decoration: none !important;
	background: transparent;
	border: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.cf-site-header__cart {
	position: relative;
}

.cf-site-header__cart-count {
	position: absolute;
	top: 0;
	right: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #2c4a35;
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}

@media (max-width: 980px) {
	.cf-site-header--has-location .cf-site-header__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"brand toggle tools"
			"location location location";
		align-items: center;
		gap: 0 12px;
		padding: 8px 16px 0;
	}

	.cf-site-header__brand {
		grid-area: brand;
	}

	.cf-site-header__toggle {
		grid-area: toggle;
		justify-self: end;
		margin-left: 0;
	}

	.cf-site-header__tools {
		grid-area: tools;
		margin-left: 0;
	}

	.cf-site-header__location {
		grid-area: location;
		display: flex;
		flex: 1 1 auto;
		max-width: none;
		width: calc(100% + 32px);
		margin: 0 -16px;
		padding: 6px 16px;
		border-right: 0;
		border-top: 1px solid #ece8df;
		min-height: 40px;
		border-radius: 0;
	}

	.cf-site-header__location--progress {
		max-width: none;
		padding-top: 5px;
		padding-bottom: 6px;
	}

	.cf-site-header__location--progress .cf-del-progress__scale {
		display: none;
	}

	.cf-site-header__location--progress .cf-del-progress__track {
		height: 4px;
		margin-bottom: 4px;
	}

	.cf-site-header__location--progress .cf-del-progress__headline {
		color: #1e3a2b;
		font-size: 13px;
		font-weight: 700;
		line-height: 1.25;
	}

	.cf-site-header__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.cf-site-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		grid-area: unset;
		background: #f6f1e7;
		border-bottom: 1px solid #ece8df;
		padding: 8px 20px 20px;
	}

	.cf-site-header.is-open .cf-site-header__nav {
		display: block;
	}

	.cf-site-header__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.cf-site-header__sub {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		box-shadow: none;
		border: 0;
		background: transparent;
		padding-left: 12px;
	}

	.cf-site-header__item--has-children.is-expanded > .cf-site-header__sub {
		display: block;
	}

	.cf-site-header__tools {
		margin-left: 0;
	}
}

.cf-site-header--staging {
	background: #fff;
}

.cf-site-header--staging .cf-site-header__link {
	color: #243028 !important;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.cf-site-status {
	background: #1a3326;
	color: #f7f4ee;
}

.cf-site-status .cf-site-header__location,
.cf-site-status .cf-site-header__location--progress {
	display: flex;
	align-items: center;
	flex: none;
	gap: 12px;
	width: 100%;
	max-width: 1240px;
	min-width: 0;
	min-height: 52px;
	margin: 0 auto;
	padding: 8px 24px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-sizing: border-box;
	color: #f7f4ee;
}

.cf-site-status .cf-site-header__location:hover,
.cf-site-status .cf-site-header__location:focus {
	background: rgba(255, 255, 255, 0.06);
}

.cf-site-status .cf-site-header__location:focus-visible {
	outline: 2px solid #f7f4ee !important;
	outline-offset: -2px;
}

.cf-site-status .cf-site-header__location-pin,
.cf-site-status .cf-site-header__location--alert .cf-site-header__location-pin {
	color: #f7f4ee;
}

.cf-site-status .cf-site-header__location--alert .cf-site-header__location-pin {
	color: #ffb4a8;
}

.cf-site-status .cf-site-header__location-copy {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	gap: 8px 20px;
	min-width: 0;
}

.cf-site-status .cf-site-header__location-primary-row {
	flex: 0 0 auto;
}

.cf-site-status .cf-site-header__location-primary {
	color: #f7f4ee;
}

.cf-site-status .cf-del-progress--header .cf-del-progress__headline {
	display: block;
	margin: 4px 0 0;
	color: #f7f4ee;
}

.cf-site-status .cf-site-header__location-secondary,
.cf-site-status .cf-del-progress__scale {
	color: #d5dfd2;
}

.cf-site-status .cf-del-progress--header,
.cf-site-status .cf-del-progress--header.is-need_min,
.cf-site-status .cf-del-progress--header.is-need_free,
.cf-site-status .cf-del-progress--header.is-free,
.cf-site-status .cf-del-progress--header.is-off,
.cf-site-status .cf-del-progress--header.is-pickup {
	flex: 1 1 280px;
	min-width: 180px;
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
}

.cf-site-status .cf-site-header__location--progress .cf-del-progress__scale {
	display: flex;
	color: #e7f0e4;
	font-size: 12px;
}

.cf-site-status .cf-del-progress--header .cf-del-progress__track {
	height: 8px;
	margin: 6px 4px 0;
	background: rgba(255, 255, 255, 0.28);
}

.cf-site-status .cf-del-progress__fill {
	background: #f3e6c0;
}

.cf-site-status .cf-del-progress__marker {
	background: #f7f4ee;
	border-color: #1a3326;
	box-shadow: none;
}

@media (max-width: 1180px) {
	.cf-site-header--staging .cf-site-header__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "brand toggle tools";
		align-items: center;
		gap: 0 12px;
	}

	.cf-site-header--staging .cf-site-header__brand {
		grid-area: brand;
	}

	.cf-site-header--staging .cf-site-header__toggle {
		display: inline-flex;
		grid-area: toggle;
		justify-self: end;
		margin-left: 0;
		align-items: center;
		justify-content: center;
	}

	.cf-site-header--staging .cf-site-header__tools {
		grid-area: tools;
		margin-left: 0;
	}

	.cf-site-header--staging .cf-site-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid #e7e1d6;
		padding: 8px 20px 20px;
	}

	.cf-site-header--staging.is-open .cf-site-header__nav {
		display: block;
	}

	.cf-site-header--staging .cf-site-header__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
}

@media (max-width: 680px) {
	.cf-site-status .cf-site-header__location,
	.cf-site-status .cf-site-header__location--progress {
		align-items: flex-start;
		padding: 8px 16px;
		min-height: 0;
	}

	.cf-site-status .cf-site-header__location-copy {
		flex-direction: column;
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 2px 12px;
	}

	.cf-site-status .cf-site-header__location-primary,
	.cf-site-status .cf-site-header__location-secondary,
	.cf-site-status .cf-del-progress__headline {
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
	}

	.cf-site-status .cf-del-progress--header,
	.cf-site-status .cf-del-progress--header.is-need_min,
	.cf-site-status .cf-del-progress--header.is-need_free,
	.cf-site-status .cf-del-progress--header.is-free,
	.cf-site-status .cf-del-progress--header.is-off,
	.cf-site-status .cf-del-progress--header.is-pickup {
		flex: 0 1 auto;
		width: 100%;
		height: auto;
		min-width: 0;
	}

	.cf-site-status .cf-site-header__location--progress .cf-del-progress__scale {
		display: none;
	}
}

@media (max-width: 767px) {
	body:has(.cf-site-header) div#shop-page-filter {
		top: var(--cf-header-height, 96px);
		height: calc(100dvh - var(--cf-header-height, 96px));
		z-index: 1001;
	}

	body:has(.cf-site-header).overlay-added::before {
		top: var(--cf-header-height, 96px);
		height: calc(100dvh - var(--cf-header-height, 96px));
		z-index: 1000;
	}
}
