@media (min-width: 801px) {
  .mb-nav {
    display: none;
  }
}

.mb-nav {
    display: none;
  width: 100%;             /* Full width */
  max-width: none;         /* Remove max-width */
  left: 0;                 /* Align left edge */
  transform: none;         /* Remove center transform */
  background: rgba(255, 255, 255, 0.9); /* White with 90% opacity */
  border-radius: 0;        /* No rounded corners for full width */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: fixed;         /* Fix on screen */
  top: 0;                  /* Stick at top */
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
  transition: all 0.3s ease;
}


.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-header);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}
.has-submenu .submenu {
  display: none;
  background: #f9f9f9;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.menu-header .clsbtn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.categories {
  max-height: 400px;
  overflow-y: auto;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid #eee;
}

.mobile-menu-list li:last-child {
  border-bottom: none;
}

.mobile-menu-list a {
  display: block;
  padding: 12px 16px;
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu-list a:hover {
  background: #f0f0f0;
  color: #007bff;
}

/* Mobile submenu styling */
.has-submenu > a {
  position: relative;
  padding-right: 30px;
}

.has-submenu .submenu {
  display: none;
  background: #f9f9f9;
  list-style: none;
  padding: 0;
  margin: 0;
}

.has-submenu .submenu li a {
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
}

.has-submenu.open .submenu {
  display: block;
}

.has-submenu > a::after {
  content: "▼";
  position: absolute;
  right: 16px;
  font-size: 12px;
}

/* Optional for touch */
.has-submenu > a {
  cursor: pointer;
}


/* footer it start */
#loginSidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    padding: 30px 20px;
    transition: right 0.4s ease;
    z-index: 9999;
}
#loginSidebar.active {
    right: 0;
}
.login-content {
    text-align: center;
}
.login-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}
.login-btn.fb {
    background: #3b5998;
}
.login-btn.google {
    background: #db4437;
}
.close-btn {
    background: #ccc;
    color: #000;
    margin-top: 20px;
    padding: 8px;
    width: 100%;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}