body:not(.elementor-editor-active) .offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: opacity 0.3s ease;
}
.text-right {
  text-align: right;
}
.close-panel {
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 999999999999;
  cursor: pointer;
}

body.offcanvas-overlay-open .offcanvas-overlay {
  opacity: 1;
  visibility: visible;
}
body:not(.elementor-editor-active) .offcanvas-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  z-index: 9999;
  padding: 2em 1em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  overflow-y: auto;
}
body:not(.elementor-editor-active) .offcanvas-panel.open {
z-index: 9999;
  opacity: 1 !important;
  visibility: visible !important;
}



body.offcanvas-panel-open .offcanvas-overlay {
  opacity: 1 !important;
  visibility: visible !important;
}
body:not(.elementor-editor-active) .offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: opacity 0.3s ease;
}

