.ftbw-mega-menu {
	--ftbw-toggle-size: 16px;
	--ftbw-modal-bg: rgba(255, 255, 255, 0.78);
	--ftbw-modal-blur: 20px;
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	z-index: 40;
}

.elementor-widget-ftbw-mega-menu,
.elementor-widget-ftbw-mega-menu > .elementor-widget-container {
	overflow: visible;
}

.ftbw-empty {
	padding: 12px 16px;
	border: 1px dashed #ccc;
	color: #666;
	font-size: 13px;
}

.ftbw-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	background: transparent;
	border: 0;
	padding: 8px 4px;
	margin: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
	line-height: 1;
}

.ftbw-toggle__icon {
	width: var(--ftbw-toggle-size);
	height: 2px;
	background: currentColor;
	position: relative;
	display: inline-block;
}

.ftbw-toggle__icon::before,
.ftbw-toggle__icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: var(--ftbw-toggle-size);
	height: 2px;
	background: currentColor;
}

.ftbw-toggle__icon::before {
	top: calc(var(--ftbw-toggle-size) * -0.32);
}

.ftbw-toggle__icon::after {
	top: calc(var(--ftbw-toggle-size) * 0.32);
}

.ftbw-overlay {
	display: contents;
}

.ftbw-drawer {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 20px;
	min-width: 0;
}

.ftbw-drawer__head {
	display: none;
}

.ftbw-drawer__close {
	display: none;
}

.ftbw-bar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.ftbw-item {
	position: relative;
	margin: 0;
	padding: 0;
}

.ftbw-item > a,
.ftbw-item > .ftbw-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	padding: 10px 0;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	transition: color 0.2s ease;
}

.ftbw-caret {
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	display: inline-block;
	transition: transform 0.2s ease;
}

.ftbw-panel {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	z-index: 9999;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.ftbw-mega-menu[data-ftbw-panel-width="viewport"] .ftbw-panel {
	position: fixed;
	left: 0;
	right: 0;
	width: 100vw;
}

.ftbw-item.is-open > .ftbw-panel,
.ftbw-mega-menu:not(.is-mobile) .ftbw-item--mega:hover > .ftbw-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.ftbw-panel__inner {
	display: flex;
	gap: 32px;
	margin: 0 auto;
	width: 100%;
	align-items: flex-start;
}

.ftbw-columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 28px;
	flex: 1 1 auto;
	min-width: 0;
}

.ftbw-column {
	min-width: 0;
}

.ftbw-column--wide .ftbw-column__list {
	columns: var(--ftbw-subcols, 2);
	column-gap: 28px;
}

.ftbw-column--wide .ftbw-column__list li {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
}

.ftbw-column__title {
	display: block;
	font-weight: 700;
	text-decoration: none;
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
	letter-spacing: 0;
	text-transform: none;
	font-size: 13px;
}

.ftbw-column__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ftbw-column__list li {
	margin: 0;
}

.ftbw-column__list a {
	display: block;
	text-decoration: none;
	padding: 5px 0;
	font-size: 14px;
	line-height: 1.35;
	transition: color 0.15s ease, transform 0.15s ease;
}

.ftbw-column__list a:hover {
	transform: translateX(3px);
}

.ftbw-view-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	margin-top: 12px;
	text-decoration: none;
	padding: 6px 12px;
	border: 1px solid currentColor;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1.2;
}

.ftbw-preview {
	flex: 0 0 auto;
	width: 260px;
}

.ftbw-preview__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.ftbw-preview__media {
	overflow: hidden;
	background: #f3f3f3;
	aspect-ratio: 3 / 4;
}

.ftbw-preview__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.2s ease, transform 0.35s ease;
}

.ftbw-preview__img[src=""],
.ftbw-preview__img:not([src]) {
	display: none;
}

.ftbw-preview__img.is-fading {
	opacity: 0;
}

.ftbw-preview__link:hover .ftbw-preview__img {
	transform: scale(1.04);
}

.ftbw-preview__caption {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.ftbw-socials {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	margin-left: auto;
}

.ftbw-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease, transform 0.2s ease;
}

.ftbw-socials a:hover {
	transform: translateY(-1px);
}

.ftbw-socials svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

html.ftbw-mega-lock,
body.ftbw-mega-lock {
	overflow: hidden;
}

.elementor-widget-ftbw-mega-menu.ftbw-widget-mobile,
.elementor-widget-ftbw-mega-menu.ftbw-widget-mobile > .elementor-widget-container {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.ftbw-mega-menu.is-mobile {
	justify-content: flex-end;
	width: 100%;
}

.ftbw-mega-menu.is-mobile .ftbw-toggle {
	display: inline-flex;
	z-index: 20;
	margin-left: auto;
	font-size: 14px;
	font-weight: 600;
}

.ftbw-mega-menu.is-mobile .ftbw-overlay {
	display: flex;
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.ftbw-mega-menu.is-mobile.is-nav-open .ftbw-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.ftbw-mega-menu.is-mobile .ftbw-drawer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	height: 100%;
	max-height: 100dvh;
	overflow: auto;
	padding: 16px 20px 32px;
	box-sizing: border-box;
	gap: 0;
	background: var(--ftbw-modal-bg, rgba(255, 255, 255, 0.78));
	-webkit-backdrop-filter: blur(var(--ftbw-modal-blur, 20px)) saturate(160%);
	backdrop-filter: blur(var(--ftbw-modal-blur, 20px)) saturate(160%);
}

.ftbw-mega-menu.is-mobile .ftbw-drawer__head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	padding: 4px 48px 16px 0;
	margin-bottom: 8px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	position: relative;
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.ftbw-mega-menu.is-mobile .ftbw-drawer__logo {
	min-width: 0;
	flex: 1 1 auto;
}

.ftbw-mega-menu.is-mobile .ftbw-drawer__logo a,
.ftbw-mega-menu.is-mobile .ftbw-drawer__logo img {
	display: block;
	max-width: 150px;
	height: auto;
}

.ftbw-mega-menu.is-mobile .ftbw-drawer__close {
	display: block;
	position: sticky;
	top: 8px;
	align-self: flex-end;
	z-index: 5;
	margin: 0 0 -40px;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.06);
	cursor: pointer;
	color: inherit;
}

.ftbw-drawer__close span,
.ftbw-drawer__close span::before {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 1.5px;
	background: currentColor;
	content: "";
}

.ftbw-drawer__close span {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ftbw-drawer__close span::before {
	left: 0;
	top: 0;
	transform: rotate(90deg);
	content: "";
}

.ftbw-mega-menu.is-mobile .ftbw-bar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	flex: 1 1 auto;
	gap: 0;
	padding: 0;
	width: 100%;
}

.ftbw-mega-menu.is-mobile .ftbw-item {
	width: 100%;
}

.ftbw-mega-menu.is-mobile .ftbw-item > a,
.ftbw-mega-menu.is-mobile .ftbw-item > .ftbw-trigger {
	width: 100%;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	box-sizing: border-box;
}

.ftbw-mega-menu.is-mobile .ftbw-item.is-open > .ftbw-trigger .ftbw-caret {
	transform: rotate(-135deg) translateY(-1px);
}

.ftbw-mega-menu.is-mobile .ftbw-panel,
.ftbw-mega-menu[data-ftbw-panel-width="viewport"].is-mobile .ftbw-panel {
	position: static;
	width: 100%;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
	border-top: 0;
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	display: none;
}

.ftbw-mega-menu.is-mobile .ftbw-item.is-open > .ftbw-panel {
	display: block;
}

.ftbw-mega-menu.is-mobile .ftbw-panel__inner {
	flex-direction: column;
	padding: 4px 0 16px !important;
	gap: 0;
	background: transparent !important;
}

.ftbw-mega-menu.is-mobile .ftbw-columns {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.ftbw-mega-menu.is-mobile .ftbw-column,
.ftbw-mega-menu.is-mobile .ftbw-column--wide {
	width: 100%;
	grid-column: auto;
}

.ftbw-mega-menu.is-mobile .ftbw-column__title {
	margin: 0;
	padding: 10px 0;
	border-bottom: 0;
	font-size: 14px;
}

.ftbw-mega-menu.is-mobile .ftbw-column__list {
	padding: 0 0 8px;
}

.ftbw-mega-menu.is-mobile .ftbw-column--wide .ftbw-column__list {
	columns: 1;
}

.ftbw-mega-menu.is-mobile .ftbw-column__list a {
	padding: 8px 0;
}

.ftbw-mega-menu.is-mobile .ftbw-column__list a:hover {
	transform: none;
}

.ftbw-mega-menu.is-mobile .ftbw-view-all {
	margin: 0 0 12px;
}

.ftbw-mega-menu.is-mobile .ftbw-preview {
	display: none;
}

.ftbw-mega-menu.is-mobile .ftbw-item--mega:hover > .ftbw-panel {
	display: none;
}

.ftbw-mega-menu.is-mobile .ftbw-item.is-open > .ftbw-panel {
	display: block;
}

.ftbw-mega-menu.is-mobile .ftbw-socials {
	margin: 24px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(17, 17, 17, 0.08);
	justify-content: flex-start;
	flex-wrap: wrap;
}

.ftbw-mega-menu .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
