/* =========================================================
   LFD Editorial Header v12
   Desktop CTA from featured menu, larger nav text, larger mobile logo
   ========================================================= */

body.lfd-custom-header-enabled .edgtf-page-header,
body.lfd-custom-header-enabled .edgtf-mobile-header,
body.lfd-custom-header-enabled .edgtf-sticky-header {
	display: none !important;
}

body.lfd-custom-header-enabled .edgtf-login-register-widget,
body.lfd-custom-header-enabled .edgtf-user-icon,
body.lfd-custom-header-enabled .edgtf-header-widget-area,
body.lfd-custom-header-enabled .edgtf-position-right-inner > .widget {
	display: none !important;
}

body.lfd-custom-header-enabled {
	--lfd-black: #0c0c0c;
	--lfd-muted: rgba(12, 12, 12, 0.56);
	--lfd-line: rgba(12, 12, 12, 0.15);
	--lfd-line-2: rgba(12, 12, 12, 0.085);
	--lfd-paper: #ffffff;
	--lfd-panel: #fbfaf8;
	--lfd-gold: #b39258;
}

body.lfd-custom-header-enabled .edgtf-content {
	padding-top: 0 !important;
}

.lfd-site-header {
	position: relative;
	z-index: 99999;
	width: 100%;
	background: #fff;
	color: var(--lfd-black);
	border-bottom: 1px solid var(--lfd-line-2);
	overflow: visible !important;
	isolation: isolate;
}

.lfd-header-line {
	position: relative;
	z-index: 99999;
	width: min(1560px, calc(100% - 56px));
	margin: 0 auto;
	min-height: 88px;
	display: grid;
	grid-template-columns: 285px minmax(0, 1fr) auto;
	align-items: center;
	gap: 30px;
	overflow: visible !important;
}

.lfd-header-brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	height: 100%;
}

.lfd-header-brand-link {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	color: var(--lfd-black);
	text-decoration: none;
	transform: translateY(1px);
}

.lfd-header-brand .edgtf-logo-wrapper,
.lfd-header-brand .edgtf-normal-logo,
.lfd-header-brand .edgtf-dark-logo,
.lfd-header-brand .edgtf-light-logo {
	display: block;
}

.lfd-header-brand img {
	display: block !important;
	width: auto !important;
	max-width: 255px !important;
	max-height: 54px !important;
	object-fit: contain !important;
}

.lfd-header-nav {
	position: relative;
	z-index: 100000;
	justify-self: center;
	min-width: 0;
	overflow: visible !important;
}

.lfd-primary-menu {
	position: relative;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(20px, 2.35vw, 44px);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: visible !important;
}

.lfd-primary-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: visible !important;
}

.lfd-primary-menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	font-size: 12px;
	line-height: 1;
	font-weight: 850;
	color: var(--lfd-black);
	white-space: nowrap;
}

.lfd-primary-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: var(--lfd-black);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.2s ease;
}

.lfd-primary-menu > li:hover > a::after,
.lfd-primary-menu .current-menu-item > a::after,
.lfd-primary-menu .current-menu-ancestor > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.lfd-primary-menu > .menu-item-has-children > a {
	padding-right: 15px;
}

.lfd-primary-menu > .menu-item-has-children > a::before {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	line-height: 1;
	font-weight: 700;
	color: var(--lfd-muted);
}

.lfd-primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: -24px;
	min-width: 230px;
	margin: 0;
	padding: 20px 24px 22px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--lfd-line-2);
	box-shadow: 0 24px 65px rgba(0,0,0,0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	z-index: 100001 !important;
	pointer-events: none;
}

.lfd-primary-menu > li:hover > .sub-menu,
.lfd-primary-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.lfd-primary-menu .sub-menu li + li {
	margin-top: 13px;
}

.lfd-primary-menu .sub-menu a {
	min-height: 0;
	display: block;
	font-size: 13px;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-transform: none;
	font-weight: 500;
	color: var(--lfd-black);
	white-space: nowrap;
}

.lfd-primary-menu .sub-menu a:hover {
	color: var(--lfd-gold);
}

.lfd-header-tools {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
}

.lfd-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lfd-black);
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	font-size: 11px;
	line-height: 1;
	font-weight: 850;
}

.lfd-menu-toggle-icon {
	position: relative;
	width: 27px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lfd-menu-toggle-icon span {
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--lfd-black);
	transition: transform 0.22s ease;
}

.lfd-menu-toggle-icon span:first-child {
	transform: translateY(-6px);
}

.lfd-menu-toggle-icon span:last-child {
	transform: translateY(6px);
}

/* Compact desktop dropdown */

.lfd-menu-dropdown[hidden] {
	display: none !important;
}

.lfd-menu-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99998;
	background: transparent;
	color: var(--lfd-black);
}

.lfd-menu-dropdown-inner {
	width: min(1260px, calc(100% - 56px));
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--lfd-line-2);
	border-top: 0;
	box-shadow: 0 28px 80px rgba(0,0,0,0.12);
	transform: translateY(-8px);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

body.lfd-menu-open .lfd-menu-dropdown-inner {
	transform: translateY(0);
	opacity: 1;
}

.lfd-menu-dropdown-head {
	min-height: 58px;
	padding: 0 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--lfd-line-2);
}

.lfd-menu-title {
	display: flex;
	align-items: center;
}

.lfd-menu-title span {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 9px;
	line-height: 1;
	font-weight: 850;
	color: var(--lfd-muted);
}

.lfd-menu-close {
	position: relative;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.lfd-menu-close span {
	position: absolute;
	left: 5px;
	right: 5px;
	top: 50%;
	height: 1px;
	background: var(--lfd-black);
}

.lfd-menu-close span:first-child {
	transform: rotate(45deg);
}

.lfd-menu-close span:last-child {
	transform: rotate(-45deg);
}


.lfd-menu-dropdown-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 34px;
	padding: 30px 28px 32px;
	min-height: 350px;
	max-height: calc(100vh - 150px);
	overflow: auto;
	background: #fff;
}

.lfd-menu-navigation-wrap {
	min-width: 0;
	overflow: visible;
}

.lfd-mega-menu {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 34px;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	overflow: visible;
}

.lfd-mega-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.lfd-mega-menu > li {
	padding-top: 15px;
	border-top: 1px solid var(--lfd-line-2);
	min-width: 0;
}

.lfd-mega-menu > li > a {
	position: relative;
	display: inline-flex;
	margin-bottom: 0;
	padding-right: 18px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	font-size: 13px;
	line-height: 1.15;
	font-weight: 900;
	color: var(--lfd-black);
}

.lfd-mega-menu > .menu-item-has-children > a::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 13px;
	font-weight: 500;
	color: var(--lfd-muted);
}

.lfd-mega-menu > li > a:hover {
	color: var(--lfd-gold);
}

/* Desktop dropdowns inside compact menu */
.lfd-mega-menu > li > .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	min-width: 230px;
	max-width: 280px;
	margin: 0;
	padding: 16px 18px 18px;
	list-style: none;
	display: grid;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--lfd-line-2);
	box-shadow: 0 22px 55px rgba(0,0,0,0.10);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	pointer-events: none;
	z-index: 10;
}

.lfd-mega-menu > li:hover > .sub-menu,
.lfd-mega-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.lfd-mega-menu .sub-menu a {
	display: inline-flex;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.28;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--lfd-muted);
	transition: color 0.18s ease, padding-left 0.18s ease;
}

.lfd-mega-menu .sub-menu a:hover {
	color: var(--lfd-black);
	padding-left: 5px;
}

.lfd-mega-menu > li:not(.menu-item-has-children) > a {
	font-size: 15px;
	line-height: 1.18;
	letter-spacing: -0.01em;
	text-transform: none;
	font-weight: 650;
	padding-right: 0;
}

/* Hide mobile accordion buttons on desktop */
.lfd-submenu-toggle {
	display: none;
}

/* Promo cards */

.lfd-menu-promos {
	border-left: 1px solid var(--lfd-line-2);
	padding-left: 30px;
}

.lfd-menu-promo-list {
	display: grid;
	gap: 12px;
}

.lfd-promo-card {
	display: grid;
	gap: 9px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--lfd-line-2);
	text-decoration: none;
	color: var(--lfd-black);
}

.lfd-promo-card + .lfd-promo-card {
	padding-top: 16px;
}

.lfd-promo-card span {
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 8.5px;
	line-height: 1;
	font-weight: 850;
	color: var(--lfd-muted);
}

.lfd-promo-card strong {
	text-transform: uppercase;
	letter-spacing: -0.025em;
	font-size: 20px;
	line-height: 0.98;
	font-weight: 900;
	color: var(--lfd-black);
}

.lfd-promo-card em {
	font-style: normal;
	font-size: 13px;
	line-height: 1.43;
	color: var(--lfd-muted);
}

.lfd-promo-card b {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	margin-top: 2px;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	font-size: 9px;
	line-height: 1;
	font-weight: 900;
	color: var(--lfd-black);
}

.lfd-promo-card b::after {
	content: "→";
	font-size: 13px;
	line-height: 1;
	font-weight: 400;
	letter-spacing: 0;
}

.lfd-promo-card:hover strong,
.lfd-promo-card:hover b {
	color: var(--lfd-gold);
}

.lfd-menu-dropdown-footer {
	min-height: 54px;
	padding: 0 28px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 28px;
	border-top: 1px solid var(--lfd-line-2);
	background: #fff;
}

.lfd-menu-dropdown-footer a {
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	font-size: 8.5px;
	line-height: 1;
	font-weight: 900;
	color: var(--lfd-muted);
}

.lfd-menu-dropdown-footer a:hover {
	color: var(--lfd-black);
}

/* Tablet */

@media (max-width: 1280px) {
	.lfd-header-line {
		width: min(100% - 34px, 1560px);
		grid-template-columns: 235px minmax(0, 1fr) auto;
		gap: 18px;
	}

	.lfd-header-brand img {
		max-width: 220px !important;
	}

	.lfd-primary-menu {
		gap: clamp(14px, 1.7vw, 25px);
	}

	.lfd-primary-menu a {
		font-size: 10px;
		letter-spacing: 0.11em;
	}

	.lfd-menu-dropdown-inner {
		width: min(1180px, calc(100% - 34px));
	}

	.lfd-mega-menu {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lfd-menu-dropdown-body {
		grid-template-columns: minmax(0, 1fr) 290px;
	}
}

/* Mobile fullscreen panel */

@media (max-width: 1024px) {
	.lfd-header-line {
		min-height: 74px;
		grid-template-columns: 1fr auto;
		width: calc(100% - 28px);
	}

	.lfd-header-nav {
		display: none;
	}

	.lfd-header-brand img {
		max-width: 205px !important;
		max-height: 44px !important;
	}

	.lfd-menu-toggle-text {
		display: none;
	}

	.lfd-menu-toggle-icon {
		width: 27px;
		height: 20px;
	}

	.lfd-menu-dropdown {
		position: fixed;
		inset: 0;
		z-index: 999999 !important;
		background: #fff;
		overflow: auto;
	}

	.admin-bar .lfd-menu-dropdown {
		top: 46px;
	}

	.lfd-menu-dropdown-inner {
		width: calc(100% - 32px);
		min-height: 100vh;
		margin: 0 auto;
		border: 0;
		box-shadow: none;
		display: grid;
		grid-template-rows: auto auto 1fr auto;
	}

	.lfd-menu-dropdown-head {
		min-height: 76px;
		padding: 0;
	}

	.lfd-menu-title span {
		font-size: 10px;
	}


	.lfd-menu-dropdown-body {
		display: block;
		min-height: 0;
		max-height: none;
		overflow: visible;
		padding: 24px 0 36px;
	}

	.lfd-mega-menu {
		display: block;
	}

	.lfd-mega-menu > li {
		position: relative;
		padding-top: 0;
		border-top: 0;
		border-bottom: 1px solid rgba(12, 12, 12, 0.055);
	}

	.lfd-mega-menu > li > a,
	.lfd-mega-menu > li:not(.menu-item-has-children) > a {
		display: flex;
		align-items: center;
		min-height: 64px;
		margin: 0;
		padding-right: 50px;
		font-size: 21px;
		line-height: 1;
		letter-spacing: 0;
		text-transform: uppercase;
		font-weight: 800;
	}

	.lfd-mega-menu > .menu-item-has-children > a::after {
		display: none;
	}

	.lfd-submenu-toggle {
		display: block;
		position: absolute;
		top: 13px;
		right: 0;
		width: 38px;
		height: 38px;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.lfd-submenu-toggle::before,
	.lfd-submenu-toggle::after {
		content: "";
		position: absolute;
		left: 10px;
		right: 10px;
		top: 50%;
		height: 1px;
		background: var(--lfd-black);
		transition: transform 0.2s ease;
	}

	.lfd-submenu-toggle::after {
		transform: rotate(90deg);
	}

	.lfd-mega-menu > li.is-open > .lfd-submenu-toggle::after {
		transform: rotate(0deg);
	}

	.lfd-mega-menu > li > .sub-menu {
		position: static;
		min-width: 0;
		max-width: none;
		display: none;
		gap: 0;
		padding: 0 0 18px;
		margin: 0;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
	}

	.lfd-mega-menu > li.is-open > .sub-menu {
		display: grid;
	}

	.lfd-mega-menu .sub-menu a {
		display: block;
		padding: 8px 0;
		font-size: 16px;
		line-height: 1.35;
		color: var(--lfd-muted);
		letter-spacing: 0;
	}

	.lfd-menu-promos {
		margin-top: 32px;
		border-left: 0;
		border-top: 1px solid var(--lfd-line-2);
		padding-left: 0;
		padding-top: 24px;
	}

	.lfd-promo-card strong {
		font-size: 24px;
	}

	.lfd-menu-dropdown-footer {
		min-height: 92px;
		padding: 20px 0;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 22px;
		align-items: center;
	}
}

@media (max-width: 520px) {
	.lfd-header-line {
		width: calc(100% - 24px);
	}

	.lfd-header-brand img {
		max-width: 178px !important;
		max-height: 40px !important;
	}

	.lfd-menu-dropdown-inner {
		width: calc(100% - 26px);
	}


	.lfd-mega-menu > li > a,
	.lfd-mega-menu > li:not(.menu-item-has-children) > a {
		font-size: 20px;
	}
}


/* =========================================================
   v10 refinements
   ========================================================= */

/* No duplicated quick links in mobile */
.lfd-mobile-quick-links {
	display: none !important;
}

/* Cleaner mobile menu: fewer heavy divider lines */
@media (max-width: 1024px) {
	.lfd-menu-dropdown-head {
		border-bottom: 1px solid rgba(12, 12, 12, 0.055);
	}

	.lfd-mega-menu > li {
		border-bottom: 1px solid rgba(12, 12, 12, 0.055);
	}

	.lfd-menu-dropdown-body {
		padding-top: 18px;
	}

	.lfd-menu-promos {
		border-top: 1px solid rgba(12, 12, 12, 0.06);
		margin-top: 26px;
		padding-top: 22px;
	}

	.lfd-promo-card {
		border-bottom: 0;
		padding-bottom: 8px;
	}

	.lfd-promo-card + .lfd-promo-card {
		border-top: 1px solid rgba(12, 12, 12, 0.055);
		padding-top: 18px;
	}

	.lfd-menu-dropdown-footer {
		border-top: 1px solid rgba(12, 12, 12, 0.055);
	}
}

/* Social links are now output from a WordPress menu */
.lfd-menu-dropdown-footer {
	justify-content: flex-start;
}

.lfd-social-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lfd-social-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lfd-social-menu a {
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	font-size: 8.5px;
	line-height: 1;
	font-weight: 900;
	color: var(--lfd-muted);
}

.lfd-social-menu a:hover {
	color: var(--lfd-black);
}

@media (max-width: 1024px) {
	.lfd-social-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 22px;
		width: 100%;
	}
}


/* =========================================================
   v11 desktop CTA + mobile refinements
   ========================================================= */

/* Desktop: no opened menu button, only editable registration CTA */
.lfd-header-tools {
	gap: 0;
}

.lfd-header-cta {
	display: inline-grid;
	align-content: center;
	min-width: 150px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--lfd-line);
	text-decoration: none;
	color: var(--lfd-black);
	background: #fff;
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.lfd-header-cta span {
	display: block;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 8.5px;
	line-height: 1;
	font-weight: 850;
	color: var(--lfd-muted);
}

.lfd-header-cta strong {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 10px;
	line-height: 1;
	font-weight: 900;
	color: var(--lfd-black);
	white-space: nowrap;
}

.lfd-header-cta:hover {
	border-color: rgba(12, 12, 12, 0.32);
	background: #fbfaf8;
	transform: translateY(-1px);
}

@media (min-width: 1025px) {
	.lfd-menu-toggle {
		display: none !important;
	}

	.lfd-primary-menu a {
		font-size: 12px;
		letter-spacing: 0.13em;
	}

	.lfd-primary-menu .sub-menu a {
		font-size: 14px;
	}

	/* Desktop dropdown panel is disabled because the Menu button is hidden */
	.lfd-menu-dropdown {
		display: none !important;
	}
}

/* Tablet / mobile: keep menu button, hide desktop CTA if space is limited */
@media (max-width: 1024px) {
	.lfd-header-line {
		grid-template-columns: 1fr auto;
	}

	.lfd-header-cta {
		display: none !important;
	}

	.lfd-menu-toggle {
		display: inline-flex !important;
	}

	/* Larger logo in mobile header */
	.lfd-header-brand img {
		max-width: 230px !important;
		max-height: 50px !important;
	}

	/* Larger mobile menu text */
	.lfd-mega-menu > li > a,
	.lfd-mega-menu > li:not(.menu-item-has-children) > a {
		font-size: 24px !important;
		min-height: 68px;
	}

	.lfd-mega-menu .sub-menu a {
		font-size: 17px !important;
		line-height: 1.38;
	}

	.lfd-promo-card strong {
		font-size: 26px;
	}

	.lfd-promo-card em {
		font-size: 15px;
	}

	.lfd-menu-title span {
		font-size: 11px;
	}
}

@media (max-width: 520px) {
	.lfd-header-brand img {
		max-width: 205px !important;
		max-height: 46px !important;
	}

	.lfd-mega-menu > li > a,
	.lfd-mega-menu > li:not(.menu-item-has-children) > a {
		font-size: 22px !important;
	}
}


/* =========================================================
   v12 mobile logo refinement
   ========================================================= */

@media (max-width: 1024px) {
	.lfd-header-line {
		min-height: 82px;
	}

	.lfd-header-brand img {
		max-width: 265px !important;
		max-height: 58px !important;
	}
}

@media (max-width: 520px) {
	.lfd-header-line {
		min-height: 80px;
	}

	.lfd-header-brand img {
		max-width: 235px !important;
		max-height: 54px !important;
	}
}

@media (max-width: 380px) {
	.lfd-header-brand img {
		max-width: 220px !important;
		max-height: 52px !important;
	}
}
