/* Offcanvas Base Structure */
#or_offcanvas {
  position: fixed;
  top: 0;
  left: -100%; /* Start hidden off-screen */
  height: 100vh;
  width: 95%;
  z-index: 99;
  transition: left 0.3s ease; /* Smooth slide effect */
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

/* When Active */
#or_offcanvas.is-active {
  left: 0;
}

/* Prevent body scroll when menu is open */
body.offcanvas-open {
  overflow: hidden;
}

/* Optional: Add a dark dim effect to the rest of the page */
body.offcanvas-open::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9;
}
