/* Zack's Place forms. Colors match the new site design; adjust here. */
.zp-form-wrap {
  --zp-accent: #991A37;
  --zp-accent-hover: #C32046;
  --zp-navy: #1A3665;
  --zp-text: #2B2B2B;
  --zp-muted: #5f5f63;
  --zp-border: #CDCDCF;
  --zp-bg-soft: #F4F4F4;
  --zp-error: #B00020;
  --zp-radius: 6px;
  max-width: 720px;
  margin: 0 auto 3rem;
  color: var(--zp-text);
  font-family: "League Spartan", "DM Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.zp-form-wrap *, .zp-form-wrap *::before, .zp-form-wrap *::after { box-sizing: border-box; }

.zp-title {
  margin: 0 0 .25rem;
  color: var(--zp-navy);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.15;
}
.zp-intro { margin: 0 0 1rem; }
.zp-note { margin: 0 0 1.25rem; font-size: .9rem; color: var(--zp-muted); }
.zp-req { color: var(--zp-accent); }

.zp-group { border: 0; padding: 0; margin: 0 0 .25rem; min-width: 0; }
.zp-group legend { padding: 0; margin-bottom: .35rem; font-weight: 600; }

.zp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.zp-row-3 { grid-template-columns: 2fr 1.4fr 1fr; }
.zp-half { max-width: calc(50% - .5rem); }

.zp-field { margin-bottom: 1rem; min-width: 0; }
.zp-field > label { display: block; margin-bottom: .3rem; font-weight: 500; }
.zp-group .zp-field > label { font-weight: 400; font-size: .92rem; color: var(--zp-muted); }
.zp-help { margin: -.1rem 0 .45rem; font-size: .92rem; color: var(--zp-muted); }

.zp-form input[type="text"], .zp-form input[type="email"], .zp-form input[type="tel"],
.zp-form input[type="number"], .zp-form select, .zp-form textarea {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
  background: #fff;
  color: var(--zp-text);
  font: inherit;
  font-size: 1rem; /* 16px+ stops iOS zooming into fields */
  line-height: 1.5;
  min-height: 2.9rem;
}
.zp-form input:focus, .zp-form select:focus, .zp-form textarea:focus {
  outline: 2px solid var(--zp-navy);
  outline-offset: 1px;
  border-color: var(--zp-navy);
}
.zp-form [aria-invalid="true"] { border-color: var(--zp-error); }
.zp-error { display: block; min-height: 0; margin-top: .25rem; color: var(--zp-error); font-size: .88rem; }
.zp-error:empty { display: none; }

.zp-product {
  padding: 1rem;
  background: var(--zp-bg-soft);
  border-radius: var(--zp-radius);
}
.zp-product input[type="number"] { max-width: 8rem; }
.zp-product select { max-width: 22rem; }
.zp-price { display: block; margin-bottom: .4rem; font-size: .95rem; color: var(--zp-muted); }

.zp-total {
  margin: 1.25rem 0;
  padding-top: 1rem;
  border-top: 2px solid var(--zp-bg-soft);
  font-size: 1.25rem;
}
.zp-total strong { color: var(--zp-accent); }

.zp-form-error {
  margin: 0 0 1rem;
  padding: .8rem 1rem;
  border-left: 4px solid var(--zp-error);
  background: #fdecee;
  border-radius: var(--zp-radius);
}
.zp-turnstile { margin: 0 0 1rem; max-width: 420px; }
.zp-pay-label { margin: 0 0 .6rem; font-weight: 600; }
.zp-paypal-buttons { max-width: 420px; min-height: 45px; }
.zp-pay-note { margin: .5rem 0 0; font-size: .88rem; color: var(--zp-muted); }
.zp-busy { margin-top: 1rem; font-weight: 600; color: var(--zp-navy); }
.zp-form.is-busy .zp-pay { opacity: .4; pointer-events: none; }

.zp-submit {
  padding: .8rem 2rem;
  border: 0;
  border-radius: var(--zp-radius);
  background: var(--zp-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
}
.zp-submit:hover, .zp-submit:focus-visible { background: var(--zp-accent-hover); }
.zp-submit:disabled { opacity: .6; cursor: wait; }

.zp-thanks {
  padding: 1.5rem;
  border-left: 5px solid var(--zp-navy);
  background: var(--zp-bg-soft);
  border-radius: var(--zp-radius);
  font-size: 1.15rem;
}
.zp-thanks:focus { outline: none; }

/* Honeypot: hidden from people, visible to bots */
.zp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .zp-row, .zp-row-3 { grid-template-columns: 1fr; }
  .zp-half { max-width: none; }
}

/* Open dollar amount (e.g. Turkey Trot sponsorship): "$" shown in front of the box */
.zp-amount { display: flex; align-items: center; gap: .4rem; max-width: 14rem; }
.zp-amount > span { font-weight: 600; font-size: 1.1rem; }
.zp-amount input { flex: 1; min-width: 0; }

/* Section headings inside longer forms (e.g. phonebook order) */
.zp-section { margin: 1.75rem 0 .75rem; padding-top: 1rem; border-top: 2px solid var(--zp-bg-soft); color: var(--zp-navy); font-size: 1.2rem; font-weight: 600; }

/* Radio buttons and "check all that apply" lists */
.zp-form .zp-field > .zp-check { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .55rem; margin: 0 0 .45rem; font-weight: 400; cursor: pointer; }
.zp-check input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; position: relative; top: .15rem; accent-color: var(--zp-navy); }
.zp-check__price { padding-left: 1rem; font-weight: 600; white-space: nowrap; }
.zp-checks legend { float: left; width: 100%; margin-bottom: .6rem; font-weight: 600; }
.zp-checks legend + * { clear: both; }
