@custom-variant hs-overlay-open {

  &.open {
    @slot;
  }

  .open & {
    @slot;
  }
}

@custom-variant hs-overlay-layout-open {

  &.hs-overlay-body-open {
    @slot;
  }

  .hs-overlay-body-open & {
    @slot;
  }
}

@custom-variant hs-overlay-minified {

  &.minified {
    @slot;
  }

  .minified & {
    @slot;
  }

  .hs-overlay-minified & {
    @slot;
  }
}

@custom-variant hs-overlay-backdrop-open {

  &.hs-overlay-backdrop {
    @slot;
  }

  .hs-overlay-backdrop & {
    @slot;
  }
}