*, html{
	outline: none;
}
.sw-product-categories{
	position: relative;
	color: #222;
}

.sw-product-categories .mega-title{
	display: flex;
	align-items: center;
}
.sw-product-categories .mega-title .icon-after-title{
	margin-left: auto;
}
.sw-product-categories .swg-categories-inner{
	position: absolute;
	top: 100%;
	left: 1px;
	right: 1px;
	display: none;
}.sw-product-categories:hover .swg-categories-inner{
	display: block;
	z-index: 1;
	box-shadow: 0px 1px 2px 2px #efefef;
	background: #fff;
}
.sw-product-categories .swg-categories-inner ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.sw-product-categories .swg-categories-inner ul > li{
	
}
.sw-product-categories .swg-categories-inner > ul > li > a{
	display: block;
	padding: 15px 20px;
	position: relative;
	font-size: 14px;
}
.sw-product-categories .swg-categories-inner > ul > li.item-child > a:before{
	content: '';
	position: absolute;
	background: #f7f7f7;
	top: 0;
	left: 0;
	width: calc( 100% + 1px );
	height: 100%;
	display: none;
}
.sw-product-categories .swg-categories-inner > ul > li.item-child:hover > a:before{
	display: block;
}
.sw-product-categories .swg-categories-inner > ul > li.item-child:hover > a .item-title{
	position: relative;
	z-index: 1;
}
.sw-product-categories .swg-categories-inner > ul > li.has-thumbnail > a{
	display: flex;
	align-items: center;
}
.sw-product-categories .swg-categories-inner > ul > li.has-thumbnail > a img{
	max-width: 20px;
	margin-right: 5px;
}
.sw-product-categories .swg-categories-inner > ul > li.item-child > a:after{
	content: '';
    border-right: 1px solid #666;
	border-top: 1px solid #666;
    padding: 3px;
    position: absolute;
    right: 20px;
    top: calc( 50% - 7px );
	transform: rotate(45deg);
}
.sw-product-categories .swg-categories-inner > ul > li .child-category{
	position: absolute;
	left: calc( 100% + 1px );
	top: 0;
	bottom: 0;
	overflow-y: auto;
	visibility: hidden;
	z-index: 999;
	padding: 20px;
	min-width: 200px;
	background: #f7f7f7;
	box-shadow: 12px 12px 12px rgba(0,0,0,0.2);
	display: none;
}
.sw-product-categories .swg-categories-inner > ul > li:hover .child-category {
	visibility: visible;
	display: block;
}
.sw-product-categories .swg-categories-inner > ul > li .child-category .child-category-wrapper{
	display: grid;
	grid-template-columns: repeat( 5, 130px);
	gap: 20px;
	font-size: 14px; 
}
.sw-product-categories .swg-categories-inner > ul > li.item-mega > .child-category .child-category-wrapper{
	display: grid;
	grid-template-columns: 1fr;
	grid-column-gap: 30px;
	grid-row-gap: 30px;
}
.sw-product-categories .swg-categories-inner > ul > li.item-mega.column-2 > .child-category{
	grid-template-columns: repeat(2, 1fr);
}
.sw-product-categories .swg-categories-inner > ul > li.item-mega.column-3 > .child-category{
	grid-template-columns: repeat(3, 1fr);
}
.sw-product-categories .swg-categories-inner > ul > li.item-mega.column-4 > .child-category{
	grid-template-columns: repeat(4, 1fr);
}
.sw-product-categories .swg-categories-inner > ul > li.item-mega.column-5 > .child-category{
	grid-template-columns: repeat(5, 1fr);
}
.sw-product-categories .swg-categories-inner > ul > li.item-mega.column-6 > .child-category{
	grid-template-columns: repeat(6, 1fr);
}
.sw-product-categories .swg-categories-inner > ul > li.item-mega > .child-category > li{
	min-width: 200px;
}
.sw-product-categories .swg-categories-inner > ul > li.item-mega > .child-category > li >a {
	font-weight: bold;
	display: block;
	margin-bottom: 5px;
}
.sw-product-categories .swg-categories-inner > ul > li > .child-category .child-category-heading{
	margin-bottom: 15px;
	display: flex;
	justify-content: space-between;
	font-weight: 700;
}
.sw-product-categories .swg-categories-inner > ul > li > .child-category .child-category-heading > a{
	color: #222;
	font-weight: 400;
	display: flex;
	gap: 5px;
	align-items: center;
	font-size: 14px;
}
.sw-product-categories .swg-categories-inner > ul > li > .child-category .child-category-heading > a:after{
	content: '';
	border-top: 1px solid #222;
	border-right: 1px solid #222;
	padding: 3px;
	transform: rotate(45deg);	
}
.sw-product-categories .swg-categories-inner > ul > li > .child-category li >a{
	display: grid;
	gap: 10px;
	background: #fff;
	padding: 8px 8px 15px;
	border-radius: 3px;
	justify-content: center;
}
.sw-product-categories .swg-categories-inner > ul > li > .child-category li >a img{
	height: 80px;
	width: auto;
	margin: 0 auto;
}
.sw-product-categories .swg-categories-inner > ul > li > .child-category li >a span{
	display: block;
	min-height: 36px;
}
.sw-product-categories .swg-categories-inner > ul > li > .child-category li >a:hover{
	box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

@media ( max-width: 767px ){
	.sw-product-categories .button-collapse{
		display: block;
	}
    .sw-product-categories .block-title h3{
		display: none;
    }
    .sw-product-categories .swg-categories-inner{
		display: none;
        max-height: 60vh;
        overflow-y: scroll;
        min-width: 90vw;
	}
    .home .sw-product-categories .swg-categories-inner{
		display: none;
	}
    .home .sw-product-categories .swg-categories-inner.in{
    	display: block;
    }
	.sw-product-categories .swg-categories-inner > ul > li .child-category{
		position: static;
		visibility: visible;
		padding: 10px 20px;
		box-shadow: none;
		border-bottom: 1px solid #eee;
		border-top: 1px solid #eee;
	}
	.sw-product-categories .swg-categories-inner > ul > li.item-mega > .child-category{
		display: block;
	}
	.sw-product-categories .swg-categories-inner > ul > li.item-mega > .child-category > li > .children{
		margin-left: 10px;
	}
}