@media only screen and (max-width: 767px) {
  #menu-desktop {
    display: none;
  }

  #menu-container {
    display: block;
  }

  a {
    text-decoration: none;
    color: black;
  }
  ul {
    list-style: none;
  }

  #menu-wrapper #hamburger-menu {
    position: relative;
    width: 25px;
    height: 20px;
    margin: 15px;
  }

  #menu-wrapper #hamburger-menu span {
    opacity: 1;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    border-radius: 10px;
    color: black;
    background-color: #615f5b;
    position: absolute;
    transform: rotate(0deg);
    transition: 0.4s ease-in-out;
  }

  #menu-wrapper #hamburger-menu span:nth-child(1) {
    top: 0;
  }
  #menu-wrapper #hamburger-menu span:nth-child(2) {
    top: 9px;
  }
  #menu-wrapper #hamburger-menu span:nth-child(3) {
    top: 18px;
  }
  #menu-wrapper #hamburger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(135deg);
  }
  #menu-wrapper #hamburger-menu.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-60px);
  }
  #menu-wrapper #hamburger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-135deg);
  }

  #menu-container .menu-list .menu-submenu {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #menu-container .menu-list {
    padding-left: 0;
    display: block;
    position: absolute;
    width: 100%;
    max-width: 350px;
    background: 615f5b;
    box-shadow: rgba(100, 100, 100, 0.2) -6px 2px 10px;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    right: -100%; /* Start off-screen */
    transition: right 0.4s ease; /* Smooth transition */
  }
  #menu-container .menu-list li.accordion-toggle,
  #menu-container .menu-list .menu-login {
    font-size: 16px;
    padding: 20px;
    text-transform: uppercase;
    border-top: 1px solid #615f5b;
  }
  #menu-container .menu-list li:first-of-type {
    border-top: 0;
  }

  .accordion-toggle,
  .accordion-content {
    cursor: pointer;
    font-size: 16px;
    position: relative;
    letter-spacing: 1px;
  }

  .accordion-content {
    display: none;
  }

  .accordion-toggle a:before,
  .accordion-toggle a:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 30px;
    width: 15px;
    height: 1px;
    margin-top: -1px;
    background-color: #615f5b;
    transform-origin: 50% 50%;
    transition: all 0.3s ease-out;
  }

  .accordion-toggle a:before {
    transform: rotate(-90deg);
    opacity: 1;
    z-index: 2;
  }

  .accordion-toggle.active-tab {
    background: #605e5a;
    transition: all 0.3s ease;
  }
  .accordion-toggle a.active:before {
    transform: rotate(0deg);
    background: #615f5b !important;
  }

  .accordion-toggle a.active:after {
    transform: rotate(180deg);
    background: #615f5b !important;
    opacity: 0;
  }

  /* When the menu is open */
  #menu-container .menu-list.open {
    right: 0; /* Bring into view */
  }

  /* Menu Wrapper */
  #menu-wrapper {
    overflow: hidden;
    max-width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: flex-end; /* Align to the right */
    position: relative;
    z-index: 1001; /* Higher than the menu */
  }

  /* Hamburger Menu */
  #menu-wrapper #hamburger-menu {
    position: relative;
    width: 25px;
    height: 20px;
    margin: 15px;
  }

  #menu-wrapper #hamburger-menu span {
    opacity: 1;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    border-radius: 10px;
    background-color: #615f5b;
    position: absolute;
    transform: rotate(0deg);
    transition: 0.4s ease-in-out;
  }

  #menu-wrapper #hamburger-menu span:nth-child(1) {
    top: 0;
  }
  #menu-wrapper #hamburger-menu span:nth-child(2) {
    top: 9px;
  }
  #menu-wrapper #hamburger-menu span:nth-child(3) {
    top: 18px;
  }

  #menu-wrapper #hamburger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(135deg);
  }
  #menu-wrapper #hamburger-menu.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-60px);
  }
  #menu-wrapper #hamburger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-135deg);
  }

  /* Menu List Styles */
  #menu-container .menu-list {
    position: absolute;
    width: 100%;
    max-width: 450px;
    background: #ededed;
    box-shadow: rgba(100, 100, 100, 0.2) -6px 2px 10px;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    right: -100%; /* Start off-screen to the right */
    transition: right 0.4s ease-in-out; /* Smooth sliding animation */
    top: 0;
    height: 100%;
  }

  /* Open Menu */
  #menu-container .menu-list.open {
    right: 0; /* Slide into view */
  }

  /* Accordion Toggle and Content */
  #menu-container .menu-list li.accordion-toggle {
    font-size: 16px;
    padding: 20px;
    text-transform: uppercase;
    border-top: 1px solid #dbdcd2;
  }

  #menu-container .menu-list li:first-of-type {
    border-top: 0;
  }

  .accordion-content {
    display: none;
    padding-left: 20px;
  }

  .accordion-toggle.active-tab {
    background: #ededed;
  }

  .accordion-toggle a:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 30px;
    width: 15px;
    height: 1px;
    background-color: #5a5858;
    transform-origin: 50% 50%;
    transition: all 0.3s ease-out;
    transform: rotate(-90deg);
  }

  .accordion-toggle a.active:before {
    transform: rotate(0deg);
    background: #615f5b;
  }

  /* Body overflow prevention when the menu is active */
  body.overflow-hidden {
    overflow: hidden;
  }

  /* Menu Wrapper */
  #menu-wrapper {
    position: fixed; /* Make it fixed to the viewport */
    top: 0; /* Stick to the top */
    right: 15px; /* Align to the right with some padding */
    z-index: 1001; /* Ensure it stays above other elements */
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    padding: 10px; /* Optional padding */
  }

  /* Hamburger Menu */
  #menu-wrapper #hamburger-menu {
    width: 25px;
    height: 20px;
  }

  /* Menu List */
  #menu-container .menu-list {
    position: fixed; /* Fixed to the viewport */
    top: 0; /* Stick to the top */
    right: -100%; /* Initially hidden off-screen to the right */
    height: 100%; /* Full height of the screen */
    max-width: 450px;
    width: 100%;
    background: white;
    box-shadow: rgba(100, 100, 100, 0.2) -6px 2px 10px;
    z-index: 1000; /* Lower than the hamburger */
    overflow-y: auto;
    transition: right 0.4s ease-in-out; /* Smooth sliding effect */
  }

  /* When menu is active */
  #menu-container .menu-list.active {
    right: 0; /* Slide into view */
  }

  .menu-submenu li {
    padding: 5px 20px;
  }

 
}
