/* Ekomania — malloftravel mega menü paneli */
.header-megamenu-slot {
	position: relative;
	height: 0;
	min-height: 0;
	padding: 0 !important;
	margin: 0 auto !important;
	overflow: visible;
	border: none;
	z-index: 1080;
}
.header-megamenu-slot > .row,
.header-megamenu-slot > .row > .col-md-12 {
	margin: 0;
	padding: 0;
	min-height: 0;
}
.header-megamenu-slot .megamenu.mega-menu:not(.showed) {
	height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
}

.header-megamenu-slot .megamenu,
.megamenu {
	--mm-accent: #e81932;
	--mm-accent-soft: rgba(232, 25, 50, 0.08);
	--mm-radius: 16px;
	position: absolute !important;
	left: 15px !important;
	width: calc(100% - 30px) !important;
	max-width: 1120px;
	margin-top: 0 !important;
	top: 0 !important;
	z-index: 1088 !important;
	height: auto;
	overflow: hidden;
	padding: 0;
	background: #fff;
	border-radius: var(--mm-radius);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-top: 3px solid var(--mm-accent);
	box-shadow:
		0 28px 80px rgba(15, 23, 42, 0.12),
		0 0 0 1px rgba(255, 255, 255, 0.6) inset;
	visibility: hidden;
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease, box-shadow 0.24s ease;
	-webkit-font-smoothing: antialiased;
}
.megamenu.no-padd {
	padding: 0;
}
.megamenu.showed,
.header-megamenu-slot .megamenu.mega-menu.showed {
	visibility: visible !important;
	opacity: 1 !important;
	display: block !important;
	height: auto !important;
	overflow: visible !important;
	transform: translateY(0);
	pointer-events: auto !important;
}
.megamenu .rw {
	margin: 0;
	width: 100%;
}
.megamenu .flex-menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	min-height: 280px;
}
.megamenu .megamenu-left {
	width: 32%;
	max-width: 300px;
	padding: 20px 14px;
	background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 55%, #e8edf4 100%);
	border-right: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 0 0 0 calc(var(--mm-radius) - 3px);
}
.megamenu .megamenu-left ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.megamenu .megamenu-left ul > li > ul {
	display: none;
}
.megamenu .megamenu-left ul > li > a {
	position: relative;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
	color: #0f172a;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.megamenu .megamenu-left ul > li > a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 3px;
	height: 0;
	margin-top: 0;
	border-radius: 0 3px 3px 0;
	background: var(--mm-accent);
	opacity: 0;
	transform: translateY(-50%);
	transition: height 0.2s ease, opacity 0.2s ease;
}
.megamenu .megamenu-left ul > li > a span {
	margin-left: 0;
	font-weight: 600;
	color: #334155;
}
.megamenu .megamenu-left ul > li > a img {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.9);
}
.megamenu .megamenu-left ul > li > a i {
	margin-left: auto;
	font-size: 12px;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	color: var(--mm-accent);
}
.megamenu .megamenu-left ul > li > a:hover,
.megamenu .megamenu-left ul > li > a:focus-visible {
	background: #fff;
	border-color: rgba(15, 23, 42, 0.06);
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
	outline: none;
}
.megamenu .megamenu-left ul > li > a:hover::before,
.megamenu .megamenu-left ul > li > a:focus-visible::before {
	height: 60%;
	opacity: 1;
}
.megamenu .megamenu-left ul > li > a:hover i,
.megamenu .megamenu-left ul > li > a:focus-visible i {
	opacity: 1;
	transform: translateX(0);
}
.megamenu .megamenu-right {
	flex: 1;
	width: 68%;
	min-width: 0;
	padding: 28px 28px 32px;
	background: #fff;
	border-radius: 0 calc(var(--mm-radius) - 3px) calc(var(--mm-radius) - 3px) 0;
}
.megamenu .megamenu-right .submenu {
	min-height: 120px;
	max-height: min(70vh, 520px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(15, 23, 42, 0.25) transparent;
}
.megamenu .megamenu-right .submenu::-webkit-scrollbar {
	width: 6px;
}
.megamenu .megamenu-right .submenu::-webkit-scrollbar-thumb {
	background: rgba(15, 23, 42, 0.2);
	border-radius: 6px;
}
.megamenu .megamenu-right .submenu > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 28px 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.megamenu .megamenu-right .submenu > ul > li {
	min-width: 140px;
	flex: 1 1 160px;
	max-width: 260px;
}
.megamenu .megamenu-right .submenu > ul li span {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--mm-accent-soft);
	max-width: 12rem;
}
.megamenu .megamenu-right .submenu > ul li ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.megamenu .megamenu-right .submenu > ul li ul li {
	margin: 0 0 4px;
	font-size: 0.9375rem;
	line-height: 1.5;
	font-weight: 400;
	color: #475569;
}
.megamenu .megamenu-right .submenu > ul li ul li a {
	display: inline-block;
	color: inherit;
	text-decoration: none;
	border-radius: 8px;
	padding: 5px 8px;
	margin: 0 -8px;
	transition: color 0.15s ease, background 0.15s ease;
}
.megamenu .megamenu-right .submenu > ul li ul li a:hover {
	color: var(--mm-accent);
	background: var(--mm-accent-soft);
}
.megamenu .megamenu-right .submenu > ul li ul li:last-child {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px dashed rgba(15, 23, 42, 0.1);
}
.megamenu .megamenu-right .submenu > ul li ul li:last-child a {
	font-weight: 600;
	color: var(--mm-accent);
	background: transparent;
	padding-left: 0;
	margin-left: 0;
}
.megamenu .megamenu-right .submenu > ul li ul li:last-child a:hover {
	color: #c41228;
	background: transparent;
}
.megamenu .megamenu-right .submenu > ul li ul li:last-child a:after {
	font: normal normal normal 13px/1 FontAwesome;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	content: "\f061";
	margin-left: 8px;
	opacity: 0.85;
}

@media (min-width: 992px) {
	.ekomania-desktop-nav > ul > li > ul,
	.ekomania-desktop-nav ul.main-nav > li > ul {
		display: none !important;
	}
}

@media (max-width: 991.98px) {
	.header-megamenu-slot,
	.header-megamenu-slot .megamenu,
	.megamenu.showed {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
		opacity: 0 !important;
	}
	#mobileMenu .megamenu,
	#mobileMenu .mega-menu-wrap,
	#mobileMenu .megamenu-container,
	#mobileMenu .megamenu-left,
	#mobileMenu .megamenu-right {
		display: none !important;
	}
}
