/* Contact form: native radio buttons, styled to match the rest of the site */
.m2-radio {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  width: 1rem;
  height: 1rem;
  margin: 0;
  border: 1px solid var(--input);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px 0 #0000000d;
  cursor: pointer;
}
.m2-radio::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
}
.m2-radio:checked::before { transform: scale(1); }
.m2-radio:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
  outline: none;
}

.enquiry-option:has(.m2-radio:checked) {
  border-color: var(--blue);
  box-shadow: inset 3px 0 0 var(--blue);
  background: #f1f2ff;
}
.enquiry-option:has(.m2-radio:checked) .option-check { display: block; }
.preference-options label:has(.m2-radio:checked) {
  border-color: var(--blue);
  background: #f1f2ff;
}
