:root {
  --ponck-creme: var(--color-creme, #fff8ea);
  --ponck-red: #e62d20;
  --ponck-green: #2ca86d;

  --ponck-shadow-red: -2px 2px 0 0 #cc281d;
  --ponck-shadow-green: -2px 2px 0 0 #1f8f5a;

  --ponck-radius: 1.5em;
  --ponck-transition: 0.3s ease;
}

/* Gravity Forms algemeen */
.gform_required_legend,
.gform_validation_errors {
  display: none !important;
}

/* Radio buttons als knoppen */
.ponck-radio-button-style .gfield_radio {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 20px !important;
  row-gap: 13px !important;
  width: 100% !important;
}

.ponck-radio-button-style .gchoice {
  position: relative !important;
  width: auto !important;
  inline-size: auto !important;
  max-width: none !important;
  flex: none !important;
  flex-basis: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ponck-radio-button-style .gchoice:nth-child(4) {
  grid-column: 1 / -1 !important;
}

.ponck-radio-button-style .gfield-choice-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none !important;
}

.ponck-radio-button-style .gfield-choice-input + label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  min-height: calc(1.2em + 2 * .80em) !important;
  padding: .80em 1.6em !important;

  background: var(--ponck-creme) !important;
  border: 2px solid var(--ponck-red) !important;
  border-radius: var(--ponck-radius) !important;

  color: var(--ponck-red) !important;
  -webkit-text-fill-color: var(--ponck-red) !important;

  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-align: center !important;

  cursor: pointer !important;
  box-shadow: none !important;
  overflow: hidden !important;

  transition:
    color var(--ponck-transition),
    border-color var(--ponck-transition),
    background-color var(--ponck-transition),
    box-shadow var(--ponck-transition) !important;
}

.ponck-radio-button-style .gfield-choice-input + label::before,
.ponck-radio-button-style .gfield-choice-input + label::after {
  content: none !important;
  display: none !important;
}

.ponck-radio-button-style .gfield-choice-input:not(:checked) + label:hover {
  background: var(--ponck-creme) !important;
  border-color: var(--ponck-green) !important;
  color: var(--ponck-green) !important;
  -webkit-text-fill-color: var(--ponck-green) !important;
  box-shadow: var(--ponck-shadow-green) !important;
}

.ponck-radio-button-style .gfield-choice-input:checked + label {
  background: var(--ponck-red) !important;
  border-color: var(--ponck-red) !important;
  color: var(--ponck-creme) !important;
  -webkit-text-fill-color: var(--ponck-creme) !important;
  box-shadow: none !important;
}

.ponck-radio-button-style .gfield-choice-input:checked + label:hover {
  background: var(--ponck-green) !important;
  border-color: var(--ponck-green) !important;
  color: var(--ponck-creme) !important;
  -webkit-text-fill-color: var(--ponck-creme) !important;
  box-shadow: var(--ponck-shadow-green) !important;
}

.ponck-radio-button-style .gfield-choice-input:focus-visible + label {
  outline: 2px solid var(--ponck-green) !important;
  outline-offset: 3px !important;
}

/* Vorige / volgende / submit */
.ponck-form-buttons .gform_page_footer .gform_previous_button,
.ponck-form-buttons .gform_page_footer .gform_next_button,
.ponck-form-buttons .gform_page_footer input[type="submit"],
.ponck-form-buttons .gform_page_footer button[type="submit"],
.ponck-form-buttons .gform_footer input[type="submit"],
.ponck-form-buttons .gform_footer button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-sizing: border-box !important;
  min-height: calc(1.2em + 2 * 1em) !important;
  padding: 1em 2em !important;

  border-style: solid !important;
  border-width: 3px !important;
  border-radius: var(--ponck-radius) !important;
  border-image: none !important;

  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-align: center !important;

  cursor: pointer !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  transition:
    color var(--ponck-transition),
    border-color var(--ponck-transition),
    background-color var(--ponck-transition),
    box-shadow var(--ponck-transition) !important;
}

.ponck-form-buttons .gform_page_footer .gform_previous_button,
.ponck-form-buttons .gform_page_footer .gform_next_button {
  background: var(--ponck-creme) !important;
  border-color: var(--ponck-green) !important;
  color: var(--ponck-green) !important;
  -webkit-text-fill-color: var(--ponck-green) !important;
}

.ponck-form-buttons .gform_page_footer .gform_previous_button:hover,
.ponck-form-buttons .gform_page_footer .gform_next_button:hover {
  background: var(--ponck-creme) !important;
  border-color: var(--ponck-red) !important;
  color: var(--ponck-red) !important;
  -webkit-text-fill-color: var(--ponck-red) !important;
  box-shadow: var(--ponck-shadow-red) !important;
}

.ponck-form-buttons .gform_footer input[type="submit"],
.ponck-form-buttons .gform_footer button[type="submit"],
.ponck-form-buttons .gform_page_footer input[type="submit"],
.ponck-form-buttons .gform_page_footer button[type="submit"] {
  background: var(--ponck-green) !important;
  border-color: var(--ponck-green) !important;
  color: var(--ponck-creme) !important;
  -webkit-text-fill-color: var(--ponck-creme) !important;
}

.ponck-form-buttons .gform_footer input[type="submit"]:hover,
.ponck-form-buttons .gform_footer button[type="submit"]:hover,
.ponck-form-buttons .gform_page_footer input[type="submit"]:hover,
.ponck-form-buttons .gform_page_footer button[type="submit"]:hover {
  background: var(--ponck-red) !important;
  border-color: var(--ponck-red) !important;
  color: var(--ponck-creme) !important;
  -webkit-text-fill-color: var(--ponck-creme) !important;
  box-shadow: var(--ponck-shadow-red) !important;
}

.gform_wrapper.gravity-theme .gform_footer,.gform_wrapper.gravity-theme .gform_page_footer {
    padding: 23px 0 0 0 !important;
}

/* Impreza button label fix */
.ponck-form-buttons .gform_page_footer button .w-btn-label,
.ponck-form-buttons .gform_footer button .w-btn-label {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* Mollie betaalmethode */
.ginput_container_select.ginput_mollie_payment_method select.medium {
  width: 100% !important;
}

/* Tablet */
@media (max-width: 1155px) {
  .ponck-radio-button-style .gfield_radio {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .ponck-radio-button-style .gchoice:nth-child(4) {
    grid-column: 1 / -1 !important;
  }
}

/* Mobiel */
@media (max-width: 800px) {
  .ponck-radio-button-style .gfield_radio {
    grid-template-columns: 1fr !important;
  }

  .ponck-radio-button-style .gchoice,
  .ponck-radio-button-style .gchoice:nth-child(4) {
    grid-column: 1 / -1 !important;
  }

  .ponck-radio-button-style .gfield-choice-input + label {
    font-size: 18px !important;
  }

  .ponck-form-buttons .gform_page_footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .ponck-form-buttons .gform_page_footer input,
  .ponck-form-buttons .gform_page_footer button,
  .ponck-form-buttons .gform_footer input[type="submit"],
  .ponck-form-buttons .gform_footer button[type="submit"] {
    width: 100% !important;
  }
}