.main {
  display: flex;
  flex-direction: column;
  justify-content: center;

  &__container {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;

    @media (max-height: $h-media-x) {
      padding-top: 10px;
      padding-bottom: 10px;
    }

  }

  &__title {
    font-size: 34px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.2; /* 126.316% */
    color: $c-black;
    text-align: center;
    margin-bottom: 30px;

    .low {
      font-size: 24px;
      font-weight: 800;

      @media (max-height: $h-media-x) {
        font-size: 20px;
      }

      .green {
        color: $c-green;

        .big {
          font-size: 26px;

          @media (max-height: $h-media-x) {
            font-size: 22px;
          }
        }
      }
    }

    @media (max-height: $h-media-x) {
      font-size: 26px;
      margin-bottom: 15px;
    }
  }

  &__button {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  &__subTitle {
    text-transform: uppercase;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
    line-height: 26px;
    margin-bottom: 20px;

    span {
      text-transform: lowercase;
      font-size: 18px;
      font-style: normal;
      font-weight: 500;
    }

    @media (max-height: $h-media-x) {
      font-size: 18px;
      margin-bottom: 10px;

      span {
        font-size: 16px;
      }
    }
  }

  &__link {
    text-decoration: none;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: $c-white;
    width: 100%;
    padding: 20px 15px;
    border-radius: 44px;
    background: $c-primary;
    text-align: center;
    margin-bottom: 10px;

    @media (max-width: $h-media-y) {
      font-size: 15px;
      padding: 10px 15px;
      max-width: 300px;
      margin: 0 auto 10px;
    }
  }

  &__pay {
    text-align: center;
    color: $c-black;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: .7;
    margin-bottom: 10px;
  }

  &__back {
    font-size: 15.982px;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    border: $c-black 1px solid;
    color: $c-black;
    width: max-content;
    margin: 0 auto;
    padding: 5px 20px;
    border-radius: 100px;
    opacity: .7;

    @media (max-height: $h-media-x) {
      font-size: 12px;
    }
  }


  &__decoration {
    display: block;
    object-fit: contain;
    width: 100%;
    padding: 10px 0;
    max-height: 250px;

    @media (max-height: $h-media-x) {
      max-height: 200px;
    }
  }
}

.decoration {
  &.container {
    padding: 0;
  }
}

.customselect {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 180px;
  width: 100%;

  button {
    color: #333;
    text-align: center;
    opacity: .8;
    font-size: 15.982px;
    font-style: normal;
    font-weight: 400;
    line-height: 27.968px; /* 175% */
    letter-spacing: 0.499px;
    width: 100%;
    background: $c-white;
    border-radius: 104.811px;
    border: 1.048px solid #333;
    transition: border-radius .3s ease-in-out, border-bottom-color .7s ease-in-out;

    &::before {
      content: '';
      position: absolute;
      width: 10px;
      height: 6px;
      background: url("../image/arrow-down.svg") no-repeat;
      background-size: contain;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      transition: transform .3s ease-in-out;
    }
  }

  ul {
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    right: 0;
    display: none;
    list-style: none;
    background: $c-white;
    z-index: 2;
    border-radius: 0 0 16px 16px;
    border: 1px solid #333;

    li {
      color: #333;
      text-align: center;
      font-size: 15.982px;
      font-style: normal;
      font-weight: 400;
      line-height: 27.968px; /* 175% */
      letter-spacing: 0.499px;
      cursor: pointer;
      padding: 7px;
      width: 100%;
      transition: background-color .3s ease-in-out;

      &:hover {
        background: rgba(#B22AC9, .4);
      }
    }
  }

  &.open {
    button {
      border-radius: 16px 16px 0 0;
      border-bottom: 1px solid transparent;

      &::before {
        transform: translateY(-50%) rotate(180deg);
      }
    }
    ul {
      display: block;
    }
  }
}