/* Formularios de /pedidos/ y /pagos/ (reemplazan los iframes de Airtable). */
.form-wrap { max-width: 720px; margin: 0 auto; padding: 2rem 1rem 5rem; }
.form-wrap h1 { font-size: 1.75rem; font-weight: 700; color: #166534; line-height: 1.25; }
.form-intro { margin-top: .75rem; color: #4b5563; line-height: 1.6; }
.form-intro p + p { margin-top: .75rem; }
.form-intro a { color: #166534; text-decoration: underline; text-underline-offset: 3px; }

.cc-form { margin-top: 1.5rem; background: #fff; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.cc-form fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; }
.cc-form legend { font-size: 1.125rem; font-weight: 600; color: #14532d; margin-bottom: .75rem; padding: 0; }

.cc-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .cc-row.two { grid-template-columns: 1fr 1fr; } }

.cc-field label, .cc-field .cc-label { display: block; font-weight: 600; font-size: .9rem; color: #1f2937; margin-bottom: .25rem; }
.cc-field .req { color: #b91c1c; }
.cc-help { font-size: .8rem; color: #6b7280; margin-bottom: .4rem; line-height: 1.4; }

.cc-field input[type=text], .cc-field input[type=email], .cc-field input[type=tel],
.cc-field select, .cc-field textarea {
  width: 100%; padding: .65rem .75rem; border: 1px solid #d1d5db; border-radius: .5rem;
  background: #fff; font: inherit; color: #111827;
}
.cc-field textarea { min-height: 7rem; resize: vertical; }
.cc-field input:focus, .cc-field select:focus, .cc-field textarea:focus {
  outline: 2px solid #15803d; outline-offset: 1px; border-color: #15803d;
}
.cc-field [aria-invalid=true] { border-color: #b91c1c; }

.cc-options { display: grid; gap: .5rem; }
.cc-options label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; cursor: pointer; margin: 0; }
.cc-options input { margin-top: .25rem; flex: none; accent-color: #15803d; }

.cc-field[hidden] { display: none; }
.cc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cc-error { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: .5rem; background: #fef2f2; color: #991b1b; font-size: .9rem; }
.cc-submit {
  width: 100%; padding: .85rem 1rem; border: 0; border-radius: .75rem; background: #15803d; color: #fff;
  font-size: 1rem; font-weight: 600; cursor: pointer;
}
.cc-submit:hover { background: #16a34a; }
.cc-submit:disabled { opacity: .6; cursor: wait; }
