/**
 * Camp Crossways global header.
 *
 * This component intentionally only owns the header. Page-specific hero
 * treatment remains in Elementor so it can be adjusted independently.
 */
:root {
	--cc-green: #323f2f;
	--cc-orange: #ff920d;
	--cc-header-height: 150px;
}

#site-header.campcrossways-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	min-height: var(--cc-header-height);
	padding: 24px clamp(24px, 4vw, 76px);
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 72px);
	background: linear-gradient(180deg, rgba(24, 32, 28, 0.38) 0%, rgba(24, 32, 28, 0) 100%);
	color: #fff;
	z-index: 1000;
	transition:
		min-height 220ms ease,
		padding 220ms ease,
		background-color 220ms ease,
		box-shadow 220ms ease,
		backdrop-filter 220ms ease;
}

.campcrossways-header .site-branding {
	flex: 0 0 auto;
}

.campcrossways-header .site-branding .custom-logo-link,
.campcrossways-header .site-branding #logo {
	display: block;
}

.campcrossways-header .site-branding .custom-logo,
.campcrossways-header .site-branding #logo img {
	display: block;
	width: clamp(178px, 12vw, 265px);
	max-height: 84px;
	object-fit: contain;
	object-position: left center;
	transition: width 220ms ease, max-height 220ms ease;
}

.campcrossways-header .site-navigation {
	margin: 0;
	flex: 1 1 auto;
}

.campcrossways-header .site-navigation ul.menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 1.9vw, 42px);
	margin: 0;
	padding: 0;
}

.campcrossways-header .site-navigation ul.menu > li {
	margin: 0;
	padding: 0;
}

.campcrossways-header .site-navigation ul.menu > li > a {
	padding: 12px 0;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	transition: color 160ms ease, padding 220ms ease, font-size 220ms ease;
}

.campcrossways-header .site-navigation ul.menu > li > a:hover,
.campcrossways-header .site-navigation ul.menu > li > a:focus,
.campcrossways-header .site-navigation .current-menu-item > a {
	color: var(--cc-orange);
}

.campcrossways-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(14px, 1.5vw, 34px);
	flex: 0 0 auto;
}

.campcrossways-header__cart,
.campcrossways-header__account,
.campcrossways-header__booking {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.campcrossways-header__cart {
	position: relative;
	width: 51px;
	height: 51px;
	border-radius: 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--cc-green);
}

.campcrossways-header__cart i {
	font-size: 23px;
}

.campcrossways-header__cart-count {
	position: absolute;
	top: 5px;
	right: 4px;
	min-width: 17px;
	height: 17px;
	padding: 0 3px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--cc-orange);
	color: var(--cc-green);
	font-size: 10px;
	font-weight: 800;
}

.campcrossways-header__account {
	min-height: 52px;
	padding: 0 clamp(18px, 1.35vw, 25px);
	border: 2px solid #fff;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	gap: 13px;
	color: #fff;
}

.campcrossways-header__account i {
	font-size: 24px;
}

.campcrossways-header__booking {
	min-height: 51px;
	padding: 0 clamp(22px, 1.65vw, 31px);
	border: 2px solid #fff;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--cc-green);
}

.campcrossways-header__cart:hover,
.campcrossways-header__cart:focus,
.campcrossways-header__booking:hover,
.campcrossways-header__booking:focus {
	background: var(--cc-orange);
	border-color: var(--cc-orange);
	color: var(--cc-green);
	transform: translateY(-2px);
}

.campcrossways-header__account:hover,
.campcrossways-header__account:focus {
	background: #fff;
	color: var(--cc-green);
	transform: translateY(-2px);
}

body:not(.home) #sub-header-wrapper,
body:not(.home) main#content {}

body.sticky-active:not(.menu-active) #site-header.campcrossways-header {
	--cc-header-height: 96px;
	min-height: var(--cc-header-height);
	padding-top: 16px;
	padding-bottom: 16px;
	background: var(--cc-green);
	box-shadow: 0 12px 34px rgba(12, 18, 14, .16);
	backdrop-filter: blur(10px);
}

body.sticky-active #site-header.campcrossways-header .site-branding .custom-logo,
body.sticky-active #site-header.campcrossways-header .site-branding #logo img {
	width: clamp(156px, 9.5vw, 205px);
	max-height: 62px;
}

body.sticky-active:not(.menu-active) #site-header.campcrossways-header .site-navigation ul.menu > li > a {
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 16px;
}

body.sticky-active:not(.menu-active) #site-header.campcrossways-header .campcrossways-header__cart {
	width: 47px;
	height: 47px;
	border-radius: 13px;
}

body.sticky-active:not(.menu-active) #site-header.campcrossways-header .campcrossways-header__cart i {
	font-size: 20px;
}

body.sticky-active:not(.menu-active) #site-header.campcrossways-header .campcrossways-header__account,
body.sticky-active:not(.menu-active) #site-header.campcrossways-header .campcrossways-header__booking {
	min-height: 47px;
	border-radius: 13px;
}

@media (min-width: 1371px) and (max-width: 1560px) {
	#site-header.campcrossways-header {
		padding-right: clamp(28px, 3vw, 48px);
		padding-left: clamp(28px, 3vw, 48px);
		gap: clamp(20px, 2vw, 42px);
	}

	.campcrossways-header .site-branding .custom-logo,
	.campcrossways-header .site-branding #logo img {
		width: clamp(178px, 11vw, 220px);
	}

	.campcrossways-header .site-navigation ul.menu {
		gap: clamp(16px, 1.35vw, 24px);
	}

	.campcrossways-header .site-navigation ul.menu > li > a {
		font-size: clamp(15px, 1vw, 17px);
	}

	.campcrossways-header__actions {
		gap: clamp(12px, 1vw, 18px);
	}

	.campcrossways-header__account {
		padding: 0 18px;
	}

	.campcrossways-header__booking {
		padding: 0 22px;
	}
}

@media (max-width: 1370px) {
	:root { --cc-header-height: 104px; }

	#site-header.campcrossways-header {
		min-height: var(--cc-header-height);
		padding: 14px 24px;
		gap: 18px;
	}

	.campcrossways-header .site-branding .custom-logo,
	.campcrossways-header .site-branding #logo img {
		width: 168px;
		max-height: 60px;
	}

	#site-header.campcrossways-header .site-navigation {
		order: 4;
		flex: 0 0 0;
		width: 0;
		margin: 0;
	}

	.campcrossways-header__actions {
		order: 2;
		margin-left: auto;
		padding-left: 0;
	}

	.campcrossways-header .mobile-nav {
		order: 3;
		margin-left: 0;
		display: flex !important;
		align-items: center;
		color: #fff;
	}

	.campcrossways-header .mobile-nav .nav-heading,
	.campcrossways-header .mobile-button.burger,
	.campcrossways-header .mobile-button.burger:hover,
	.campcrossways-header .mobile-button.burger:focus {
		color: #fff;
	}

	.campcrossways-header .mobile-button.burger,
	.campcrossways-header .mobile-button.burger:visited,
	.campcrossways-header .mobile-button.burger:active,
	.campcrossways-header .mobile-button.burger:hover,
	.campcrossways-header .mobile-button.burger:focus {
		border: 2px solid rgba(255, 255, 255, .72);
		background: transparent;
	}

	.campcrossways-header .mobile-button.burger span {
		background: #fff !important;
	}

	#site-header.campcrossways-header .menu-main-menu-container {
		--drawer-width: min(88vw, 430px);
		--drawer-header-height: 92px;
		box-sizing: border-box;
		position: fixed;
		top: 0;
		right: 0;
		left: auto;
		width: var(--drawer-width);
		height: 100dvh;
		z-index: 999;
		background:
			radial-gradient(circle at 100% 0, rgba(255,146,13,.18), transparent 34%),
			linear-gradient(180deg, rgba(18,27,20,.98), var(--cc-green));
		color: #fff;
		box-shadow: none;
		transform: translate3d(102%, 0, 0);
		transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	}

	#site-header.campcrossways-header .drawer-header {
		height: var(--drawer-header-height);
		padding: 20px 18px 16px 24px;
		border-bottom: 1px solid rgba(255,255,255,.12);
		background: transparent;
	}

	#site-header.campcrossways-header .drawer-close,
	#site-header.campcrossways-header .drawer-close:hover,
	#site-header.campcrossways-header .drawer-close:focus {
		width: 50px;
		min-width: 50px;
		height: 50px;
		padding: 0;
		border: 1px solid #fff;
		border-radius: 16px;
		background: transparent;
		box-shadow: 0 10px 28px rgba(10,15,11,.20);
	}

	#site-header.campcrossways-header .drawer-close span,
	#site-header.campcrossways-header .drawer-close span::before {
		width: 22px;
		height: 2px;
		background: #fff;
	}

	#site-header.campcrossways-header .menu-main-menu-container ul.menu,
	#site-header.campcrossways-header .menu-main-menu-container ul.sub-menu {
		display: block;
		width: var(--drawer-width);
		height: calc(100dvh - var(--drawer-header-height) - var(--drawer-footer-height));
		top: var(--drawer-header-height);
		padding: 15px;
		background: transparent;
	}

	#site-header.campcrossways-header .menu-main-menu-container ul.sub-menu {
		top: 0 !important;
		height: calc(100dvh - var(--drawer-header-height) - var(--drawer-footer-height)) !important;
		padding-top: 18px;
		background:
			radial-gradient(circle at 100% 0, rgba(255,146,13,.18), transparent 34%),
			linear-gradient(180deg, rgba(18,27,20,.98), var(--cc-green));
	}

	#site-header.campcrossways-header .menu-main-menu-container ul.menu li,
	#site-header.campcrossways-header .menu-main-menu-container ul.sub-menu li,
	#site-header.campcrossways-header .site-navigation ul.menu li {
		margin: 0 0 10px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		overflow: hidden;
	}

	#site-header.campcrossways-header .menu-main-menu-container ul.menu li a,
	#site-header.campcrossways-header .menu-main-menu-container ul.sub-menu li a,
	#site-header.campcrossways-header .menu-main-menu-container ul li.menu-item-has-children ul.sub-menu li a {
		justify-content: center;
		min-height: 50px;
		padding: 10px 20px;
		color: #fff;
		font-family: var(--cc-serif, "Cormorant Garamond", Georgia, serif);
		font-size: 26px;
		font-weight: 700;
		line-height: 1.2;
		text-align: center;
	}

	#site-header.campcrossways-header .menu-main-menu-container ul.menu li a:hover,
	#site-header.campcrossways-header .menu-main-menu-container ul.menu li a:focus,
	#site-header.campcrossways-header .menu-main-menu-container ul.sub-menu li a:hover,
	#site-header.campcrossways-header .menu-main-menu-container ul.sub-menu li a:focus {
		background: rgba(255,255,255,.94);
		color: var(--cc-green);
	}

	#site-header.campcrossways-header .drawer-next {
		width: 58px;
		min-width: 58px;
		min-height: 62px;
		background: rgba(255,255,255,.08);
		border-left: 1px solid rgba(255,255,255,.10);
	}

	#site-header.campcrossways-header .drawer-next:hover,
	#site-header.campcrossways-header .drawer-next:focus {
		background: rgba(255,255,255,.18);
	}

	#site-header.campcrossways-header .drawer-next span {
		border-color: #fff;
	}

	#site-header.campcrossways-header .drawer-back-item {
		margin-bottom: 14px;
		border-color: rgba(255,255,255,.14);
		background: rgba(255,255,255,.12);
		box-shadow: none;
	}

	#site-header.campcrossways-header .drawer-back,
	#site-header.campcrossways-header .drawer-back:hover,
	#site-header.campcrossways-header .drawer-back:focus {
		min-height: 58px;
		padding: 0 18px;
		background: transparent !important;
		color: #fff !important;
	}

	#site-header.campcrossways-header .drawer-back strong {
		font-family: "Inter", sans-serif;
		font-size: 15px;
		font-weight: 800;
		letter-spacing: .04em;
	}

	body.menu-active #site-header.campcrossways-header .menu-main-menu-container {
		box-shadow: -30px 0 70px rgba(12,18,14,.32);
		transform: translate3d(0, 0, 0);
	}

	.campcrossways-header__actions { gap: 12px; }
	.campcrossways-header__account { padding: 0 17px; }
	.campcrossways-header__booking { padding: 0 20px; }

	body.sticky-active:not(.menu-active) #site-header.campcrossways-header {
		--cc-header-height: 88px;
		min-height: var(--cc-header-height);
		padding-top: 12px;
		padding-bottom: 12px;
	}

	body.sticky-active #site-header.campcrossways-header .site-branding .custom-logo,
	body.sticky-active #site-header.campcrossways-header .site-branding #logo img {
		width: 150px;
		max-height: 54px;
	}
}

@media (min-width: 771px) {
	.menu-main-menu-container .drawer-actions {
		display: none;
	}

	.menu-main-menu-container .drawer-footer:not(:has(> .drawer-cta)):not(:has(> .drawer-socials)) {
		display: none;
	}
}

@media (max-width: 770px) {
	.campcrossways-header__account,
	.campcrossways-header__booking {
		display: none;
	}

	#site-header.campcrossways-header .menu-main-menu-container {
		--drawer-footer-height: 152px;
	}

	.menu-main-menu-container .drawer-footer {
		display: block;
		background:
			linear-gradient(180deg, rgba(50,63,47,.04), rgba(50,63,47,.10)),
			#f4f0e8;
		border-top: 1px solid rgba(255,255,255,.12);
		box-shadow: 0 -18px 36px rgba(10,15,11,.20);
	}

	.menu-main-menu-container .drawer-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.menu-main-menu-container .drawer-actions .drawer-cta {
		min-height: 52px;
		padding: 14px 18px;
		border-radius: 15px;
		font-family: "Inter", sans-serif;
		font-size: 15px;
		font-weight: 800;
		line-height: 1;
	}

	.menu-main-menu-container .drawer-actions .drawer-cta--secondary {
		border: 2px solid var(--cc-green);
		background: #fff;
		color: var(--cc-green) !important;
	}

	.menu-main-menu-container .drawer-actions .drawer-cta--primary {
		border: 2px solid var(--cc-green);
		background: var(--cc-green);
		color: #fff !important;
	}
}

@media (max-width: 992px) {
	#site-header.header-woo.campcrossways-header {
		padding: 20px 30px;
	}

	.campcrossways-header__actions {
		gap: 10px;
	}

	.campcrossways-header__cart {
		width: 46px;
		height: 46px;
		border-radius: 13px;
	}

	.campcrossways-header__cart i {
		font-size: 20px;
	}

	.campcrossways-header__account {
		min-height: 46px;
		padding: 0 14px;
		border-radius: 12px;
		gap: 9px;
		font-size: 14px;
	}

	.campcrossways-header__account i {
		font-size: 20px;
	}

	.campcrossways-header__booking {
		min-height: 46px;
		padding: 0 16px;
		border-radius: 12px;
		font-size: 14px;
	}

	body.sticky-active:not(.menu-active) #site-header.header-woo.campcrossways-header {
		padding: 12px 30px;
	}
}

@media (max-width: 767px) {
	:root { --cc-header-height: 84px; }

	#site-header.campcrossways-header { padding: 12px 18px; }
	.campcrossways-header .site-branding .custom-logo,
	.campcrossways-header .site-branding #logo img { width: 137px; max-height: 48px; }
	.campcrossways-header__cart { width: 43px; height: 43px; border-radius: 12px; }
	.campcrossways-header__cart i { font-size: 19px; }
	.campcrossways-header__account { display: none; }
	.campcrossways-header__booking { min-height: 43px; padding: 0 13px; border-radius: 12px; font-size: 13px; }

	body.sticky-active:not(.menu-active) #site-header.campcrossways-header {
		--cc-header-height: 76px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	body.sticky-active #site-header.campcrossways-header .site-branding .custom-logo,
	body.sticky-active #site-header.campcrossways-header .site-branding #logo img {
		width: 128px;
		max-height: 44px;
	}
}
