.singlepage .single-hero {
  padding-top: 100px;
  padding-bottom: 0;

  @media (max-width: 1200px) {
    padding-top: 20px;
  }
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 15px;

  .button {
    height: 64px;
    border: none;
    cursor: pointer;

    &:hover {
      background-color: var(--orange-light);
    }

    &[disabled] {
      background-color: #ccc;
      color: #666;
      cursor: not-allowed;
    }
  }

  .grid {
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
  }

  @media (max-width: 1200px) {
    .grid {
      grid-auto-flow: row;
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .form__textarea {
    min-height: 150px;
    max-height: 300px;
  }

  .form__input, .form__textarea {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 15px;
    font-size: 14px;
    width: 100%;
  }

  & h3 {
    margin-top: 30px;
  }

  .form__choise {
    display: flex;
    padding: 0;
    margin-bottom: 10px;
  }

  .wpcf7-form-control-wrap {
    width: 100%;
  }

  .wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    .checkbox {
      display: grid;
      grid-auto-flow: column;
      gap: 20px;
      margin-bottom: 15px;
    }
  }

  .form__label {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .wpcf7-list-item {
    display: flex;
    margin: 0;

    & label {
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
      background-color: var(--white);
      transition: all 0.2s ease;
      cursor: pointer;

      &:hover {
        opacity: 1;
      }

      & input {
        pointer-events: none;
        opacity: 0;
        position: absolute;
      }

      &:has(input:checked) {
        background-color: var(--orange);
        color: var(--font-color);
        opacity: 1;
        border: 1px solid var(--orange);
      }
    }
  }

  & select {
    background-color: #fff;
  }
}

.wpcf7-acceptance {
  .wpcf7-list-item {
    & label {
      padding: 0;
      margin: 0;
      border: none;
      background-color: transparent;
      display: flex;
      align-items: center;
      gap: 10px;

      &:has(input:checked) {
       background: transparent;
       border: none;
      }
      
      .checkbox {
        pointer-events: auto;
        opacity: 1;
        position: static;
        width: 20px;
        height: 20px;
        margin: 0;
        padding: 0;
      }
    }
  }
}
