/* 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;
}

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

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

.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__tools {
	display: flex;
	align-items: center;
	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__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.cf-site-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		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;
	}
}
