.np-drawer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100vw;
  max-width: 600px;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;

  @media (--screen-sm-max) {
    max-width: unset;
  }

  .np-drawer-header {
    min-height: var(--size-56);
    padding: var(--size-24);
    @media (--screen-400-zoom) {
      padding: var(--size-16);
    }
  }
  .np-drawer-title {
    max-width: 85%;
  }
  .np-drawer-content {
    overflow-y: auto;
    flex: 1;
    background-color: transparent;
  }
  .np-drawer-footer {
    padding: var(--size-16);
  }
  .np-drawer-content {
    padding: 0 var(--size-16);
  }
}

@media (--screen-md) {
  .np-drawer {
    .np-drawer-header,
    .np-drawer-footer {
      padding: var(--size-24);
    }
    .np-drawer-content {
      padding: 0 var(--size-24);
    }
  }
}
