#off-canvas-search-container {
  background-color: rgba($ls-color-black, 0.5);

  @media only screen and (min-width: 420px) {
    display: flex;
  }

  @media only screen and (max-width: 419px) {
    padding: 0;
  }
}

#off-canvas-search-container-inside {
  @include ls_narrowContentWrapper;
  max-width: unset;
  position: relative;
  background-color: $ls-color-white;
  padding: 5rem;
  margin: auto;
  line-height: normal;

  @media only screen and (max-width: 419px) {
    margin: 0;
    width: 100%;
    min-height: 100%;
  }

  .off-canvas-search-toggler.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;

    &::after {
      @extend .fas;
      content: fa-content($fa-var-window-close);
      font-size: 2rem;
    }
  }
}

.ls_searchBox {
  form {
    position: relative;

    #merconis_searchWord {
      width: 100%;
      padding: 1.2rem 0.6rem;
      border: 0.1rem solid $ls-color-grey;
      background: transparent;
      margin-top: 1rem;
      margin-bottom: 3rem;
      line-height: normal;
    }
    label {
      display: none;
    }
    .submit {
      position: absolute;
      right: 0;
      top: 1rem;
      line-height: 2.6rem;
      background: $ls-color-black;
      border: 0;
      font-size: 2.1rem;
      color: $ls-color-white;
      padding: 0.9rem;

      &::after {
        @extend .fas;
        content: fa-content($fa-var-search);
      }
    }
  }
  .merconisHitSelector {
    width: 100%;
    margin-top: 1rem;

    .hit {
      cursor: pointer;
      overflow: hidden;
      display: flex;
      padding: 2rem;

      &:not(:first-child) {
        border-top: 0.1rem solid $ls-color-grey;
      }

      &:hover {
        box-shadow: 0.5rem 0.5rem 1rem rgba($ls-color-black, 0.5);

        &:not(:first-child) {
          border-top-color: transparent;
        }
      }

      &:not(:last-child) {
        padding-bottom: 1rem;
      }

      .imageBox {
        width: 24%;
        min-width: 10rem;
        margin-right: 2%;
      }
      .detailsBox {
        width: 74%;
      }
      ._title {
        font-weight: $ls-font-weight-bold;
      }
      ._code {
        font-style: italic;
        font-size: 80%;
      }
      ._priceAfterTaxFormatted {
        margin-top: 0.5rem;
        text-align: right;
        font-weight: $ls-font-weight-bold;
      }
      ._mainImage img {
        max-width: 100%;
        max-height: 6rem;
      }
    }
  }
}