@media (max-width: 900px) {
  header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.7rem 1rem;
    background: var(--luxury-dark);
    max-height:var(--header-height); ;
  }

header .logo img#company_logo{
 margin-left: 15dvw;
  height: 90px;
}
  .filter-icon {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    width: 29px;
    height: 0px;
    font-size: 2rem;
    margin-right: 1rem;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
  }

  .logo {
    display: flex;
    align-items: center;
    flex: 1;
  }

  .menu-icon {
    margin-left: auto;
    font-size: 2rem;
    display: block;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
  }

 

  nav ul li a.active {
    color: var(--gold-accent);
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border: 2px solid var(--gold-accent);
    margin: 0 10px 0 10px;
    width: auto;
  }

  header .logo {
    font-size: 1.5rem;
  }

  header nav {
    position: fixed;
    top: 0;
    right: -260px;
    width: 240px;
    height: 100vh;
    background: linear-gradient(
      to bottom,
      var(--luxury-dark),
      var(--royal-blue)
    );
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 4.5rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 101;
    margin-left: auto;
    overflow: hidden;
  }

  header nav.open {
    right: 0;
  }

  header nav ul {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    padding-left: 0;
  }

  header nav ul li {
    width: 100%;
  }

  header nav ul li a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0;
  }

  .menu-icon {
    display: block;
    z-index: 2100;
  }

  #category-sidebar-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s;
  }

  #category-sidebar-overlay.active {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100vh;
    background: var(--luxury-dark, #002147);
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.18);
    z-index: 2100;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 3.5rem;
    overflow-y: auto;
  }

  .sidebar.open {
    left: 0;
  }

  .sidebar .close-btn {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
  }

  .close-menu-btn {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 2300;
  }
}

#sidebar-overlay {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  /* <-- Cover the whole screen */
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s;
}

#sidebar-overlay.active {
  display: block;
}

header nav.open,
.sidebar.open {
  z-index: 2200;
}

header nav {
  z-index: 2200;
}
