/**********************************************
Toggle Button
**********************************************/
.teech-mega-menu-mobile-toggle {
  color: #171717;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 20px;
}

.teech-mega-menu-mobile-toggle:hover {
  color: #DF9E3D;
}

.teech-mega-menu-mobile-close {
  color: #171717;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  padding-right: 20px;
}

.teech-mega-menu-mobile-close:hover {
  color: #DF9E3D;
}

/**********************************************
Sidebar
**********************************************/
.teech-mega-menu-mobile {
  padding: 10px 0;
}

.teech-mega-menu-mobile > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.teech-mega-menu-mobile-sidebar {
  position: fixed; 
  top: 0;
  right: -320px; 
  width: 320px;
  height: 100%;
  background-color: #fff;
  transition: right 0.3s ease-in-out; 
  z-index: 9999;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.teech-mega-menu-mobile-sidebar-open {
  right: 0;
}

/**********************************************
Body
**********************************************/
.teech-mega-menu-mobile-sidebar-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 20px;
}

.teech-mega-menu-mobile-sidebar-body {
  flex: 1;
}

.teech-mega-menu-mobile-sidebar .teech-mega-menu > li  {
  border-bottom: 1px solid #f1f1f1;
}

.teech-mega-menu-mobile-sidebar .teech-mega-menu > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/**********************************************
Dropdown mega menu (sub-menu)
**********************************************/

.teech-mega-menu-mobile-sidebar .teech-mega-sub-menu-container {
  display: none;
  background-color: #f9f9f9;
  padding: 10px 0;
  box-shadow: inset 0 4px 4px 0 rgba(63, 63, 65, .05);
}

/* reset global container style */
.teech-mega-menu-mobile-sidebar .teech-mega-sub-menu-container > .container {
  padding: 0;
}

/* hide sub-menu column (Level2) */
.teech-mega-menu-mobile-sidebar .teech-mega-sub-menu-container > .container > .sub-menu > li > a {
  display: none;
}

/* sub-menu column (Level3) */
.teech-mega-menu-mobile-sidebar .teech-mega-sub-menu-container > .container > .sub-menu > li > .sub-menu {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.teech-mega-menu-mobile-sidebar .teech-mega-sub-menu-container > .container > .sub-menu > li > .sub-menu > li > a {
  padding: 10px;
  font-size: 0.9rem;
}

.teech-mega-menu-mobile-sidebar .teech-mega-sub-menu-title {
  font-weight: bold;
  color: #DF9E3D;
  font-size: 0.9rem;
  padding: 0 10px;
}

.teech-mega-menu-mobile-sidebar .teech-mega-sub-menu-block {
  display: none;
}

.teech-mega-menu-mobile-sidebar .teech-mega-sub-menu-description {
  display: inline-block;
  font-size: 0.8rem;
  color: #333;
  line-height: 1.5;
}

.teech-mega-menu-mobile-sidebar .teech-mega-menu .sub-menu a {
  display: block;
  border-radius: 5px;
}

.teech-mega-menu-mobile-sidebar .teech-mega-menu .sub-menu a:hover {
  background-color: #f1f1f1;
} 

/**********************************************
Overlay
**********************************************/
.teech-mega-menu-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

/**********************************************
Footer
**********************************************/
.teech-mega-menu-mobile-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
}

