/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


.custom-mega-menu .wd-sub-menu > .item-with-label > a {
    background-color: #384a4f;
    border-radius: 15px;
    padding: 8px 12px;
	  width:fit-content;
}
.item-with-label .menu-label{
	  font-size: 10px;
    font-weight: 500;
    line-height: 12px;
    letter-spacing: -0.1px;
    margin-inline-start: unset;
    padding: 4px 8px;
    margin-left: 4px;
	  margin-top:0 !important;
/* 	  background-color:#02A489 !important; */
	  
}
.item-with-label .menu-label:before{
	display:none;
}
.menu-item .woodmart-nav-link span.menu-label{
  position:static !important;
	margin-left:4px;
}
.services-mega-menu .wd-dropdown-menu {
	box-shadow:unset !important;
}
.services-mega-menu .wd-dropdown-menu .container{
	border-radius:25px;
	padding:24px;
	background:#F5F8F9;
}
.services-mega-menu .wd-dropdown-menu .container .wd-sub-menu{
	 column-count: 4; 
  column-gap: 16px;
	display:block !important;
}
.services-mega-menu .wd-dropdown-menu .container .wd-sub-menu li{
	break-inside: avoid;
	flex:unset !important;
}
.services-mega-menu .item-level-1 > a{
	font-size:10px !important;
	line-height:12px !important;
	font-weight:500 !important;
	letter-spacing:-0.1px;
	color:#ffffff !important;
	background:#384a4f;
	width:fit-content;
	padding:8px 12px;
	border-radius:15px;
}
.services-mega-menu .item-level-2 a{
	font-size:14px;
	line-height:20px;
	letter-spacing:-0.28px;
	font-weight:600;
	color:#111111 !important;
}
.services-mega-menu .item-level-1{
	margin-bottom:24px;
}
.about-mega-manu .wd-sub-menu a{
	font-size:14px;
	line-height:20px;
	letter-spacing:-0.28px;
	font-weight:500 ;
	color:#111111 !important;
}

@media(min-width:1024px){
	.menu-description{
		display:none !important;
	}
	.custom-mobile-bottom-menu{
      display:none;
	}
}

.mobile-pages-menu .item-level-0 > a {
	text-transform: none !important;
}

.mobile-nav .wd-nav-mobile li:active > a {
	background-color: #4c5c61;
}

/* Full width mobile & tablet menu for Woodmart */
@media (max-width: 1024px) {
  .mobile-nav {
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .mobile-nav .menu-opener {
    left: 0 !important;
  }

  body.mobile-menu-opened .main-page-wrapper {
    transform: translateX(100vw) !important;
  }

  .mobile-nav .woodmart-close-side {
    right: 15px;
  }
	 .wd-nav-mobile>li>ul li>:is(.wd-sub-menu,.sub-sub-menu){
		display:block !important;
	}
  .services-mega-menu	.wd-sub-menu{
		 column-count:unset;
		 padding:12px;
	}
	.services-mega-menu	 .wd-sub-menu .menu-item-type-custom .wd-nav-opener{
		display:none;
	}
	.services-mega-menu .wd-dropdown-menu .container .wd-sub-menu li{
		break-inside:avoid;
	}
	.services-mega-menu .wd-nav-mobile>li, .wd-nav-mobile>li>ul li{
     	padding:16px;		
	}
	.services-mega-menu .item-level-1{
		background:#F5F8F9;
		border-radius:15px;
		margin:12px 0;
		flex:unset !important;
	}
	.services-mega-menu .item-level-1 > a{
		flex:unset;
	}
	.services-mega-menu .item-level-1{
		float:left;
		width:calc(50% - 8px)
	}
		.services-mega-menu .item-level-1:nth-child(odd){
		 clear:left;
	}
	.services-mega-menu .item-level-1:nth-child(even){
		 clear:right;
		float:right;
	}
	.wd-nav-mobile>li>a{
		border-bottom:none !important;
	}
	.services-mega-menu .item-level-1  a{
		min-height:unset !important;
		border-bottom:none !important;
	  padding:4px;
	}
	.services-mega-menu .item-level-1 >  a{
		padding:8px 12px;
	}
	.services-mega-menu .item-level-1 ul li{
		padding:4px 0 !important; 
	}
	.mobile-pages-menu  .item-level-0 > a{
		background-color:#F5F8F9;
		border-radius:32px;
		padding:24px;
		font-size:16px;
		line-height:24px;
	}
	.mobile-pages-menu  .item-level-0 .wd-nav-opener{
		background-color:#F5F8F9;
		border-radius:0 32px 32px 0;
		border:none !important;
		border-left:1px solid #F5F8F9 !important;
	}
	.mobile-pages-menu{
		padding:12px;
	}
	.mobile-pages-menu  .item-level-0{
		margin-bottom:8px;
		border-radius:32px;
		overflow:hidden;
	}

	.mobile-pages-menu  .item-level-0.opener-page > a{
		background-color:#CADFE5;
		color:#111111;
	}
	.mobile-pages-menu  .item-level-0 .wd-nav-opener:after{
		transform:rotate(90deg);
	}
	.mobile-pages-menu  .item-level-0 .wd-nav-opener.wd-active:after{
			transform:rotate(-90deg);
		  color:#111111;
	}
	.about-mega-manu .item-level-1,.menu-item-account .woocommerce-MyAccount-navigation-link{
		padding:0 !important;
	}
	.about-mega-manu .item-level-1 a,.menu-item-account .woocommerce-MyAccount-navigation-link a{
		min-height:40px !important;
		border:none !important;
		color:#111111;
	}
	.mobile-pages-menu .item-level-0 > a{
		text-transform:capitalize;
	}
	.menu-description{
		display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
	}
	.custom-mobile-bottom-menu{
		background:#ffffff;
	}
	.mobile-pages-menu{
		padding-bottom:70px !important;
	}
	.custom-mobile-bottom-menu{
		position: fixed !important;
        bottom: 0;
        z-index: 100;
        background: #ffffff !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
        border-top: 1px solid #E3E2E1 !important;
        width: 100% !important;
        left: 0 !important;
		padding:12px 32px !important;
    }
	
	.custom-mobile-bottom-menu > a{
		background: #fff;
    display: none !important;
		border-radius:0 !important;
	}
	.custom-mobile-bottom-menu .wd-sub-menu{
		 display:flex !important;
		  width:100%;
		gap:12px;
		flex-wrap:wrap;
	}
	.custom-mobile-bottom-menu .wd-sub-menu li {
		padding:0 !important;
		width:calc(100%/3 - 8px);
	}
		
	.custom-mobile-bottom-menu .wd-sub-menu li a{
		border: 1px solid #111111;
    min-height: auto;
		border-radius:32px;
		color:#111111;
		font-size:14px;
		line-height:20px;
		font-weight:500;
		letter-spacing:-0.28px;
		padding: 13px 24px;
    justify-content: center;
	}
.custom-mobile-bottom-menu .wd-nav-opener{
	display:none !important;
}

.custom-mobile-bottom-menu .wd-sub-menu  .header-bottom-menu-call a{
	color:#605E5C !important;
	border: 1px solid #605E5C !important;
}
.custom-mobile-bottom-menu .wd-sub-menu  .header-bottom-menu-regi a{
	color:#ffffff !important;
	background:var(--wd-primary-color) !important;
	border: 1px solid var(--wd-primary-color) !important;
}
	.mobile-pages-menu  .item-level-0 .wd-nav-opener{
		height: 72px !important;
    position: absolute !important;
    width: 100%;
    top: 0;
    background: transparent;
    border-left: 0 !important;
    justify-content: end !important;
    padding-right: 24px !important;
	}
}


@media(max-width:768px){
	
	.services-mega-menu .item-level-1{
		float:unset !important;
		width:100%;
	}
		.services-mega-menu .item-level-1:nth-child(odd){
		 clear:unset !important;
	}
	.services-mega-menu .item-level-1:nth-child(even){
		 clear:unset !important;
		float:unset !important;
	}
	.services-mega-menu .wd-sub-menu{
		padding:0;
		flex-wrap:wrap;
	}
	.custom-mobile-bottom-menu{
	padding:12px 16px;
	}
	.custom-mobile-bottom-menu .wd-sub-menu  li{
		width:100% !important;
	}
	.mobile-pages-menu {
        padding-bottom: 200px !important;
    }
	.menu-item.menu-item-446 {
		display: none;
	}
}

