.n-drawer {
  position: fixed;
  width: var(--drawer-width, 320px);
  max-width: calc(100vw - 60px);
  background: var(--drawer-bg-color, var(--color-white));
  height: 100%;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10000;
  top: 0;

  &.right {
    right: 0;
    border-left: 1px solid var(--color-grey-border);
    box-shadow: 0 -2px 4px 0 rgba(34, 36, 38, .12), 0 -2px 10px 0 rgba(34, 36, 38, .15);
  }

  &.left {
    left: 0;
    border-right: 1px solid var(--color-grey-border);
    box-shadow: 0 2px 4px 0 rgba(34, 36, 38, .12), 0 2px 10px 0 rgba(34, 36, 38, .15);
  }

  &:focus {
    outline: none;
  }
}

.n-drawer__wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  z-index: 9999;
  transition: background 0.25s ease 0.25s;
}
