.wrapper {
  background-color: #fff0a3;
  position: fixed;
  width: 100%;
  padding: 1rem;
  top: var(--nav-height);
  z-index: 2;
  @include custom-max(499) {
    display: flex;
    align-items: center;
    min-height: 9.3rem;
  }

  .content {
    display: flex;
    align-items: center;
    max-width: var(--main-container-max);
    margin: 0 auto;
    padding: 0 2.5rem 0 0;
    .offer {
      text-align: center;
      margin: 0 auto;
      min-width: 12.5rem;
      height: 3.2rem;
      background-color: var(--color-37);
      border: 1px solid var(--color-26);
      box-sizing: border-box;
      border-radius: 4px;
      font-style: normal;
      font-weight: 700;
      font-size: 1.2rem;
      line-height: 2rem;
      color: var(--color-38);
      display: none;
    }
    .logo {
      @include flex-align(center, center);
      padding: 0 1rem;

      a {
        width: 5rem;
        height: 5rem;
        overflow: hidden;
        img {
          border-radius: 50%;
        }
      }
    }
    .info {
      display: block;
      flex: 1;
      p {
        font-weight: 700;
        font-size: 1.4rem;
        max-height: 7rem;
        overflow-y: scroll;
        text-align: center;
        &::-webkit-scrollbar {
          width: 3px;
        }
        &::-webkit-scrollbar-track {
          background: transparent;
        }
        &::-webkit-scrollbar-thumb {
          background: #888;
        }
        &::-webkit-scrollbar-thumb:hover {
          background: #555;
        }
        span {
          color: var(--color-39);
          font-weight: 700;
          font-size: 1.4rem;
        }
      }
      .button {
        a {
          margin: 0 auto;
          max-width: 20rem;
          padding: 0.5rem 1.1rem;
          font-weight: 500;
          font-size: 1.4rem;
          line-height: 2.1rem;
        }
      }
    }
    .closeButton {
      cursor: pointer;
      width: 1.4rem;
      height: 1.4rem;
      color: #6E6E84;
      position: absolute;
      right: 0rem;
      border-radius: 50%;
      top: 0rem;

      @include min(tablet) {
        display: none;
      }
    }


  }
  @include min(tablet) {
    padding: 0 2rem;
    .content {
      padding: 0;
      .logo {
        a {
          width: 3.2rem;
          height: 3.2rem;
          border-radius: 50%;
          overflow: hidden;
          img {
            width: 3.2rem;
            height: 3.2rem;
          }
        }
      }
      .offer {
        @include flex-align(center, center);
      }
      .info {
        @include flex-align(center, center);
        flex: 1;
        p {
          overflow: hidden;
          max-height: 6rem;
          flex: 1;
          text-align: left;
        }
      }
      .button {
        margin: 0.5rem 0 0.5rem 1rem;
      }
    }
  }
}
