.drawer-overlay {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  opacity: 0;
  background: rgba(0, 0, 0, 0.3);
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100dvw;
  /* height: 100%; */
  max-height: 85dvh;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 11;
  touch-action: none;
  overflow: hidden;
  transform: translateY(100%);
}

.drawer.open {
  transform: translateY(0);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drag-handle {
  width: 100%;
  padding: .25rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  background: white;
  top: 0;
  left: 0;
  right: 0;
}

.drag-handle::after {
  content: "";
  width: 40px;
  height: 5px;
  background: #777;
  border-radius: 3px;
  margin: 10px auto;
}

.drawer-content {
  /* padding-bottom: 1rem; */
  padding: 0;
  max-height: calc(85dvh - .5rem - 5px);
  overflow: auto;
}