.custom-mega-menu {
	display: flex;
	border-radius: 14px;
	box-shadow: 0 15px 40px rgba(0,0,0,0.08);
	width: auto;
	margin: 0 20px;
	min-height: 725px;
	overflow: hidden;
	position: relative;
	background: transparent;
}
.custom-mega-menu .menu-category .menu-header {
	margin: 0 0 20px;
}
.custom-mega-menu .menu-category .menu-header span {
    font-weight: 600;
}
.custom-mega-menu ul li a {
	text-decoration: none;
	line-height: 1.2;
	padding: 8px 18px;
	border-radius: 100px;
}
.custom-mega-menu ul li a:hover {
	background: #f3deda;
}

/* LEFT */
.menu-brands {
	width: 240px;
	background: #f6f8fb;
	border-right: 1px solid #eee;
	padding: 8px 0 0;
	border-radius: 14px;
	height: 725px;
    overflow-y: auto;
	transition: all 0.2s ease;
}

/* == Scroller css code start here == */
/* Scrollbar width */
.custom-mega-menu .menu-brands::-webkit-scrollbar,
.custom-mega-menu .menu-category::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.custom-mega-menu .menu-brands::-webkit-scrollbar-track,
.custom-mega-menu .menu-category::-webkit-scrollbar-track {
    background: transparent;
}

/* Thumb */
.custom-mega-menu .menu-brands::-webkit-scrollbar-thumb,
.custom-mega-menu .menu-category::-webkit-scrollbar-thumb {
    background: #696973;
    border-radius: 20px;
}

.custom-mega-menu .menu-brands::-webkit-scrollbar-thumb:hover,
.custom-mega-menu .menu-category::-webkit-scrollbar-thumb:hover {
    background: #333;
}
/* == Scroller css code end here == */

.menu-brands li {
	position: relative;
	line-height: 1.2;
	padding: 10px 20px;
	margin: 3px 10px;
	border-radius: 100px;
	cursor: pointer;
}

.menu-category li:hover,
.menu-brands li:hover {
	background: #f3deda;
	color: #051832;
}

.menu-category li::after,
.menu-brands li::after {
    position: absolute;
    content: '';
    top: 14px;
    right: 22px;
    width: 12px;
    height: 12px;
    border: 1px solid transparent;
    border-radius: 100%;
}

.menu-category li.active,
.menu-brands li.active {
	color: #EF5E00;
	background: rgb(239 94 0 / 20%);
}

.menu-category li.active.check::after,
.menu-brands li.active.check::after {
    background: #051832;
}

.menu-category li:hover::after,
.menu-brands li:hover::after {
    border-color: #051832;
}

/* CATEGORY */
.menu-category {
	width: 260px;
	border-right: 1px solid #eee;
	padding: 20px;
	height: 725px;
    overflow-y: auto;
	background: #f6f8fb;
}

.menu-category li {
	position: relative;
	display: none;
	padding: 10px 20px;
	border-radius: 100px;
	line-height: 1.2;
	cursor: pointer;
}

/* MODELS */
.menu-models {
	flex: 1;
	padding: 20px 25px;
	height: 725px;
    overflow-y: auto;
	background: #f6f8fb;
}

/* SEARCH */
.search-box {
	position: relative;
	margin-bottom: 20px;
}

.search-box input {
	width: 100%;
	padding: 10px 40px;
	border-radius: 25px;
	border: none;
	background: #f1f3f6;
}

.search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.clear-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	display: none;
}

/* GRID */
.model-list ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 10px;
}

.model-list li {
	cursor: pointer;
	font-size: 14px;
}

.model-list li:hover {
	color: #051832;
}

.menu-category,
.menu-models {
	transition: all 0.2s ease;
}
/* HIDE INITIALLY */
.menu-category,
.menu-models {
	display: none;
}

/* SHOW STATE */
.custom-mega-menu.active .menu-category,
.custom-mega-menu.active .menu-models {
	display: block;
}

.custom-mega-menu.active {
	background: #f6f8fb;
	overflow: hidden;
}

.custom-mega-menu.active .menu-brands {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}