.main {
  &__title {
    font-size: 30px;
    line-height: 1.5;
    font-style: normal;
    font-weight: 900;
    color: $c-white;
    text-align: center;

    @media (max-width: $h-media-y) {
      font-size: 22px;
      font-style: normal;
    }


    span {
      display: block;
      font-size: 20px;
      font-style: normal;
      font-weight: 400;
      line-height: 1;
      padding: 5px 10px;
      border-radius: 10px;
      margin: 10px auto;
      border: 1px solid $c-white;

      @media (max-width: $h-media-y) {
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 30px;
      }
    }
  }

  &__content {
    position: relative;
  }

  &__image {
    display: block;
    object-fit: cover;
    height: 100%;
    max-width: 100%;
    max-height: 350px;
    margin: 0 auto;
    padding-bottom: 20px;
    padding-top: 20px;
    
    @media (max-width: $h-media-x) {
      padding-bottom: 20px;
    }

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

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

  &__link {
    text-decoration: none;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: $c-white;
    width: 100%;
    padding: 20px 15px;
    border-radius: 190px;
    background: $c-purple-gradient;
    text-align: center;
    margin-bottom: 10px;
    
    @media (max-width: $h-media-y) {
      font-size: 20px;
    }
  }

  &__pay {
    opacity: .93;
    text-align: center;
    color: $c-white;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 30px;
    
    @media (max-height: 610px) {
      margin-bottom: 10px;
    }
  }

  &__back {
    margin: 0 auto;
    max-width: max-content;
    padding: 2px 10px;
    font-size: 15px;
    font-weight: 400;
    line-height: 26.68px;
    letter-spacing: 0.4765027165412903px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    margin-bottom: 10px;
  }

  &__description {
    color: $c-white;
    font-size: 10px;
    font-weight: 400;
    line-height: 12.65px;
    letter-spacing: 0.40186649560928345px;
    text-align: center;
    opacity: .9;
  }
}


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

  button {
    color: #FFFFFF;
    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: transparent;
    border-radius: 104.811px;
    border: 1.048px solid #FFFFFF;
    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-green-gradient;
    z-index: 100;
    border-radius: 0 0 16px 16px;
    border: 1px solid $c-white;

    li {
      color: $c-white;
      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;
    }
  }
}

.radio__btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;

  label {
    cursor: pointer;

    span {
      border-radius: 63.788px;
      border: 0.638px solid $c-white;
      color: $c-white;
      padding: 5px 20px;
      font-size: 11.615px;
      font-style: normal;
      font-weight: 500;
      line-height: 15.309px;
      background: transparent;
    }

    input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
    }

    input:checked ~ span {
      border-color: transparent;
      color: #FFFFFF;
      background: linear-gradient(90deg, #761B86 0%, #B22AC9 100%);
    }
  }
}