

/* Mobile toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }
  
  /* Slide menu mobile */
  .mobile-slide-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
  }
  
  .mobile-slide-menu.active {
    right: 0;
  }
  
  .mobile-slide-menu .close-btn {
    background: none;
    border: none;
    font-size: 22px;
    align-self: flex-end;
    cursor: pointer;
  }
  
  .mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
  }
  
  .mobile-menu-items a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
  }
  
  .mobile-menu-items a:hover {
    background: #f2f2f2;
  }
  
  /* Show hamburger only on mobile */
  @media (max-width: 768px) {
    .menu-toggle {
      display: inline-block;
    }
  }
  
  
  
  /* Align menu toggle to the right side */
  .menu-toggle {
    margin-left: auto;
  }
  
  /* Ensure desktop menu is shown when large */
  @media (min-width: 769px) {
    .desktop-menu {
      display: flex !important;
      gap: 24px;
      align-items: center;
      margin-left: 20px; /* Giúp menu gần logo hơn */
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 500;
    }
  
    .desktop-menu a {
      text-decoration: none;
      color: #333;
      padding: 6px 10px;
      border-radius: 4px;
      transition: background-color 0.2s ease;
    }
  
    .desktop-menu a:hover {
      background-color: #f0f0f0;
    }
  }
  
  
  @media (max-width: 768px) {
    .desktop-menu {
      display: none !important;
    }
  }