.drawer__overlay {
  width: 100dvw;
  height: 100dvh;
  position: fixed;
  inset: 0;
  z-index: 13;
  backdrop-filter: blur(2px);
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.1);

  .drawer__open & {
    opacity: 1;
    pointer-events: auto;
    z-index: 1001;
  }
}

custom-drawer,
info-blocks-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -700px;
  width: 100%;
  height: 100dvh;
  z-index: 1001;
  max-width: 700px;
  background: #fafafa;
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 1002;
  transition: right .4s ease;
  visibility: hidden;

  /* Show drawer only when it has drawer--active class */
  &.drawer--active {
    right: 0;
    visibility: visible;
  }

  &::-webkit-scrollbar {
    width: 4px;
  }

  /* Track */
  &::-webkit-scrollbar-track {
    background: #555;
  }

  /* Handle */
  &::-webkit-scrollbar-thumb {
    background: #e7e7e7;
  }

  /* Handle on hover */
  &::-webkit-scrollbar-thumb:hover {
    background: #dddbdb;
  }

  .drawer__inner {
    display: none;

    &.drawer__item--active {
      display: block;
    }
  }

  img {
    width: 100%;
  }

  .drawer__content {
    padding: 60px;

    @media (width <=991px) {
      padding: 40px 20px;
    }

    h3 {
      font-size: 44px;
      margin-bottom: 0;
    }

    .subtitle {
      font-size: 20px;
      margin-bottom: 0;
      font-family: var(--heading-family);
    }

    .rte {
      p {
        font-size: 16px;
        line-height: 27px;
        margin-top: 25px;
      }
    }
  }

  .icn-close {
    position: absolute;
    padding: 18px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 20px;
    left: 20px;
    box-shadow: 2px 2px 4px #0000008c;
    cursor: pointer;
    display: none;

    @media (width <=991px) {
      display: flex;
    }

    &:before,
    &:after {
      border-left: 1px solid #0f305b;
      left: 18px;
    }
  }
}

/* Hide account drawer by default */
#account-drawer {
  display: none;
  visibility: hidden;

  &.drawer__item--active {
    display: block;
    visibility: visible;
  }
}