/* ==========================================================================
   Custom Sticky Header for Elementor
   ========================================================================== */

.che-header {
	width: 100%;
	background-color: #F5EFE3;
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
	position: relative;
	z-index: 999;
}

.che-sticky-enabled {
	position: sticky;
	top: 0;
}

.che-header.is-sticky {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.che-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
}

/* Logo */
.che-logo a {
	display: inline-flex;
	align-items: center;
}

.che-logo img {
	width: 90px;
	height: auto;
	display: block;
}

/* Desktop nav */
.che-nav-desktop {
	flex: 1;
	display: flex;
	justify-content: center;
}

.che-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.che-menu > li {
	margin-right: 32px;
	position: relative;
}

.che-menu > li:last-child {
	margin-right: 0;
}

.che-menu a {
	text-decoration: none;
	color: #2f2f2f;
	font-size: 16px;
	font-weight: 500;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.che-menu a:hover {
	color: #a99568;
}

/* Sub-menu (basic dropdown support) */
.che-menu ul.sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	min-width: 180px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	padding: 10px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.2s ease;
	z-index: 10;
}

.che-menu li:hover > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.che-menu ul.sub-menu li {
	margin: 0;
	padding: 0 20px;
}

.che-menu ul.sub-menu a {
	display: block;
	padding: 8px 0;
}

/* Right side: button + hamburger */
.che-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.che-btn {
	display: inline-block;
	background-color: #26331f;
	color: #ffffff;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.che-btn:hover {
	background-color: #3c4f30;
	color: #ffffff;
	transform: translateY(-1px);
}

/* Hamburger (hidden by default; shown below the breakpoint via inline <style>) */
.che-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 34px;
	height: 34px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	gap: 6px;
}

.che-hamburger span {
	display: block;
	width: 26px;
	height: 2px;
	background-color: #26331f;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.che-hamburger.is-active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.che-hamburger.is-active span:nth-child(2) {
	opacity: 0;
}

.che-hamburger.is-active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Overlay behind the slide-in panel */
.che-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
	z-index: 1000;
}

.che-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

/* Slide-in mobile panel (from the right) */
.che-mobile-panel {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 320px;
	max-width: 90%;
	background-color: #F5EFE3;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.35s ease;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	padding: 70px 30px 30px;
	overflow-y: auto;
}

.che-mobile-panel.is-open {
	transform: translateX(0);
}

.che-panel-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #2f2f2f;
}

.che-menu-mobile {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}

.che-menu-mobile li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.che-menu-mobile a {
	display: block;
	padding: 16px 0;
	text-decoration: none;
	color: #2f2f2f;
	font-size: 17px;
	font-weight: 500;
}

.che-menu-mobile ul.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 10px 15px;
}

.che-menu-mobile ul.sub-menu a {
	padding: 10px 0;
	font-size: 15px;
	opacity: 0.85;
}

.che-btn-mobile {
	text-align: center;
	margin-top: auto;
}

/* Lock background scroll while the panel is open */
body.che-menu-open {
	overflow: hidden;
}
