.megamenu-slider{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	max-width: calc(var(--max-width) + 400px);
	margin: 0 auto;
}

.homepage-categories.megamenu-slider{
	margin: -40px auto;
	margin-top: -100px;
}

.megamenu-categories.megamenu-slider a{
	max-height: 150px;
}

.megamenu-slider > div{
	width: calc((100% - (20px * 4)) / 5);
}

.fly-megamenu{
	display: flex;
	gap: 20px;
	flex-direction: column;
	transition: opacity 0.3s;
}

.fly-megamenu > a{
	aspect-ratio: 1 / 1;
	max-height: 320px;
	position: relative;
	background: #ECF2DD;
	border-radius: 12px;
}

.fly-megamenu .subcategories-list{
	display: flex;
	flex-direction: column;
}

.fly-megamenu .subcategories-list a{
	font-weight: 500;
	font-size: 14.5px;
	line-height: 36px;
	color: #454648;
}

.fly-megamenu p{
	position: absolute;
	top: 0;
	color: #667C29;
	padding: 20px 25px;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 24.5px;
}

.fly-megamenu p span{
	margin-top: 10px;
	text-transform: uppercase;
	color: #374219;
	font-size: 23px;
	line-height: 100%;
}

.megamenu-categories .fly-megamenu p{
	text-transform: uppercase;
	font-size: 18px;
	line-height: 100%;
}

.fly-megamenu img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom;
	border-radius: 8px;
}

@media screen and (max-width: 1300px){
	.megamenu-slider > div{
		width: calc((100% - (20px * 2)) / 3);
	}
	
	.fly-megamenu{
		gap: 10px;
	}
	
	.megamenu-slider{
		gap: 15px;
		padding: 0px;
	}
}

@media screen and (max-width: 849px){
	.megamenu-slider > div{
		width: calc((100% - 15px) / 2);
	}
	
	.megamenu-slider{
		gap: 15px;
		padding: 0px;
	}
	
	.fly-megamenu p{
		padding: 10px 15px;
	}
}

@media screen and (max-width: 549px){
	.homepage-categories.megamenu-slider{
		margin: 0px auto;
	}
	
	.fly-megamenu p span{
		font-size: 17px;
	}
	
	.kiwi-megamenu__odd > div:last-child{
		width: 100%;
	}
	
	.kiwi-megamenu__odd > div:last-child img{
		object-position: bottom right;
	}
	
	.fly-megamenu > a{
		max-height: 190px;
	}
}