/* CF7 adapter for the approved catalog form; loaded only on products.html. */
.ctyc-managed .request-section .wpcf7 form {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 24px;
  min-width: 0;
  border: 1px solid var(--color-line, #d3e0ed);
  border-radius: var(--radius-lg, 12px);
  background: var(--color-surface, #fff);
}
.ctyc-managed .request-section .wpcf7 .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.ctyc-managed .request-section .wpcf7 label {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.ctyc-managed .request-section .wpcf7 label > span:first-child:not(.wpcf7-form-control-wrap) {
  color: var(--color-text, #202b35);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.25;
}
.ctyc-managed .request-section .wpcf7 .wpcf7-form-control-wrap { min-width: 0; }
.ctyc-managed .request-section .wpcf7 input:not([type="hidden"]):not([type="submit"]),
.ctyc-managed .request-section .wpcf7 textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--color-line, #d3e0ed);
  border-radius: var(--radius-sm, 6px);
  background: var(--color-surface, #fff);
  color: var(--color-text, #202b35);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.ctyc-managed .request-section .wpcf7 input:not([type="hidden"]):not([type="submit"]) {
  height: 44px;
  padding: 0 12px;
}
.ctyc-managed .request-section .wpcf7 textarea {
  min-height: 144px;
  padding: 11px 12px;
  line-height: 1.5;
  resize: vertical;
}
.ctyc-managed .request-section .wpcf7 input:focus-visible,
.ctyc-managed .request-section .wpcf7 textarea:focus-visible {
  border-color: var(--color-primary, #004f9a);
  outline: 2px solid var(--color-primary, #004f9a);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 79, 154, .12);
}
.ctyc-managed .request-section .wpcf7 [aria-invalid="true"] {
  border-color: #9d2020 !important;
}
.ctyc-managed .request-section .wpcf7 .wpcf7-not-valid-tip {
  font-weight: 400;
  line-height: 1.45;
}
.ctyc-managed .request-section .wpcf7 .field-help {
  margin: 0;
  color: var(--color-text-muted, #607080);
  font-size: 12px;
  line-height: 1.45;
}
.ctyc-managed .request-section .wpcf7 input[type="submit"] {
  justify-self: start;
  width: auto;
  min-height: 44px;
}
.ctyc-managed .request-section .wpcf7 .wpcf7-spinner { display: none; margin: 0; }
.ctyc-managed .request-section .wpcf7 form.submitting .wpcf7-spinner { display: inline-block; }
.ctyc-managed .request-section .wpcf7 form.submitting input[type="submit"],
.ctyc-managed .request-section .wpcf7 input[type="submit"]:disabled { opacity: .55; cursor: wait; }
@media (max-width: 680px) {
  .ctyc-managed .request-section .wpcf7 .form-row { grid-template-columns: minmax(0, 1fr); }
  .ctyc-managed .request-section .wpcf7 form { padding: 20px; }
  .ctyc-managed .request-section .wpcf7 input[type="submit"] { justify-self: stretch; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ctyc-managed .request-section .wpcf7 input,
  .ctyc-managed .request-section .wpcf7 textarea { transition: none; }
}
