/* Mantu Mobile Menu CSS */
.mn-mobile-menu-overlay {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(24, 30, 40, 0.5);
  z-index: 99998;
}

.mn-mobile-menu {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  width: 340px;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  opacity: 0;
  padding: 30px;
  background: linear-gradient(145deg, #181e28 0%, #1e2530 100%);
  z-index: 99999;
  overflow: auto;
}

.mn-mobile-menu::-webkit-scrollbar {
  background-color: transparent;
  width: 7px;
  height: 7px;
  position: absolute;
}

.mn-mobile-menu::-webkit-scrollbar-thumb {
  background-color: rgba(80, 93, 113, 0.5);
  border-radius: 5px;
}

.mn-mobile-menu .mn-menu-title {
  width: 100%;
  padding: 0 0 10px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.mn-mobile-menu .mn-menu-title .menu_title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
}

.mn-mobile-menu .mn-menu-title .mn-close-menu {
  position: relative;
  border: 0;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  background-color: transparent;
  border: 0;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul {
  padding: 0;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li {
  position: relative;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li a {
  margin-bottom: 12px;
  padding: 12px 12px;
  display: block;
  color: #f1f4f7;
  text-decoration: none;
  border-bottom: 1px solid #293343;
  font-size: 15px;
  font-weight: 500;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li a:last-child() {
  margin-bottom: 0;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li .menu-toggle {
  width: 100%;
  height: 45px;
  padding-right: 10px;
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li .menu-toggle::before {
  content: "+";
  margin-left: auto;
  font-weight: 500;
  color: #f1f4f7;
  font-size: 19px;
}

/* Prevent duplicate menu-toggle issues */
.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li .menu-toggle + .menu-toggle {
  display: none !important;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li .sub-menu {
  width: 100%;
  min-width: auto;
  padding: 0;
  margin: 0;
  position: relative;
  top: auto;
  left: auto;
  border: 0;
  background-color: transparent;
  display: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li .sub-menu li a {
  margin-bottom: 0;
  padding-left: 15px;
  padding-right: 0px;
  font-weight: 400;
  font-size: 14px;
  color: #949aa5;
  background-color: transparent;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 0;
  border-radius: 0;
}

.mn-mobile-menu .mn-menu-inner .mn-menu-content ul li .sub-menu li .sub-menu li a {
  font-weight: 400;
  padding-left: 30px;
  font-size: 14px;
  color: #949aa5;
}

.mn-mobile-menu.mn-menu-open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

/* Responsive */
@media only screen and (max-width: 575px) {
  .mn-mobile-menu {
    width: 300px;
  }
}

/* Show hamburger on mobile */
.mn-toggle-menu {
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 10px;
}

.mn-toggle-menu .header-icon {
  color: #313b50;
}

.mn-toggle-menu .header-icon i {
  font-size: 22px;
}

/* Top Navigation Styles - Mantu Theme */
nav#top {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
  margin: 0;
  min-height: 45px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav#top .container {
  padding: 0 20px;
}

nav#top .btn-link,
nav#top #top-links li,
nav#top #top-links a {
  color: #313b50;
  text-shadow: none;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 13px;
}

nav#top .btn-link:hover,
nav#top #top-links a:hover {
  color: #3a4ee5;
}

nav#top .btn-link {
  padding: 6px 12px;
  border-radius: 8px;
}

nav#top .btn-link:hover {
  background-color: #f8f9fa;
}

nav#top .btn-link strong {
  font-size: 15px;
  line-height: 15px;
  font-weight: 600;
  color: #3a4ee5;
}

nav#top #top-links {
  padding-top: 2px;
}

nav#top #top-links a + a {
  margin-left: 15px;
}

nav#top #top-links li i {
  margin-right: 5px;
  font-size: 15px;
  color: #313b50;
  transition: all 0.3s ease;
}

nav#top #top-links li a:hover i {
  color: #3a4ee5;
}

nav#top .dropdown-toggle .caret {
  border-top-color: #313b50;
  margin-left: 5px;
}

nav#top .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-top: 8px;
}

nav#top .dropdown-menu a {
  color: #313b50;
  padding: 10px 20px;
  transition: all 0.3s ease;
  font-size: 13px;
}

nav#top .dropdown-menu a:hover {
  color: #3a4ee5;
  background-color: #f8f9fa;
}

nav#top #form-currency .currency-select,
nav#top #form-language .language-select {
  text-align: left;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #313b50;
  font-size: 13px;
}

nav#top #form-currency .currency-select:hover,
nav#top #form-language .language-select:hover {
  text-shadow: none;
  color: #3a4ee5;
  background-color: #f8f9fa;
  background-image: none;
}

nav#top #form-currency .dropdown-menu,
nav#top #form-language .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-top: 8px;
  min-width: 180px;
}

nav#top #form-currency .dropdown-menu li,
nav#top #form-language .dropdown-menu li {
  border-bottom: 1px solid #f1f4f7;
}

nav#top #form-currency .dropdown-menu li:last-child,
nav#top #form-language .dropdown-menu li:last-child {
  border-bottom: none;
}

nav#top #form-currency .dropdown-menu button,
nav#top #form-language .dropdown-menu button {
  color: #313b50;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
}

nav#top #form-currency .dropdown-menu button:hover,
nav#top #form-language .dropdown-menu button:hover {
  color: #3a4ee5;
  background-color: #f8f9fa;
}

nav#top #form-language img {
  margin-right: 8px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 20px;
  height: 14px;
  object-fit: cover;
}

nav#top .pull-left {
  margin-right: 20px;
}

/* Hide desktop menu on mobile */
@media (max-width: 991px) {
  #mn-main-menu-desk {
    display: none !important;
  }
  
  /* Hide top navigation on mobile */
  nav#top {
    display: none !important;
  }
}

/* Fix homepage category card h3 z-index */
.mn-cat .mn-cat-card h3 {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.mn-cat .mn-cat-card h3 a {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

/* Ensure category cards don't interfere with mobile menu */
.mn-cat .mn-cat-card {
  position: relative !important;
  z-index: 1 !important;
}

/* Hide hamburger on desktop */
@media (min-width: 992px) {
  .mn-toggle-menu {
    display: none !important;
  }
}
