/* ════════════════════════════════════════════════════════════════════════
   CSA Order Form — dedicated page template (Task 5)
   Slim special header + footer over a tan (#f5f7f2) canvas.
   ════════════════════════════════════════════════════════════════════════ */

body.csa-form-page {
  margin: 0;
  background: #f5f7f2;
}

/* ── Slim special header ── */
.csa-form-header {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #2f6f3e;
}
.csa-form-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,50,30,.55) 0%, rgba(20,50,30,.72) 100%);
}
.csa-form-header__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 20px 22px;
}

/* Back to shop — header */
.csa-form-header__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  transition: background .15s ease;
}
.csa-form-header__back:hover { background: rgba(255,255,255,.22); }
.csa-form-header__back ion-icon { font-size: 1rem; }

/* Farm identity row */
.csa-form-header__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.csa-form-header__avatar {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.csa-form-header__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.csa-form-header__text { color: #fff; }
.csa-form-header__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d7f0dd;
  margin-bottom: 2px;
}
.csa-form-header__farm {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.15;
  color: #fff;
  font-weight: 800;
}
.csa-form-header__location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #eaf5ee;
}
.csa-form-header__location ion-icon { font-size: 0.95rem; }

/* ── Main tan canvas ── */
.csa-form-main {
  background: #f5f7f2;
  min-height: 60vh;
  padding: 28px 16px 48px;
}
.csa-form-main__inner {
  max-width: 900px;
  margin: 0 auto;
}
.csa-form-article {
  background: #fff;
  border: 1px solid #e6ebe3;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 2px 16px rgba(31, 45, 30, .05);
}
.csa-form-article .entry-content { margin: 0; }

/* ── Slim footer ── */
.csa-form-footer {
  background: #23331f;
  color: #fff;
  padding: 20px 16px;
}
.csa-form-footer__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.csa-form-footer__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d7f0dd;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.csa-form-footer__back:hover { color: #fff; text-decoration: underline; }
.csa-form-footer__back ion-icon { font-size: 1rem; }

.csa-form-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #b9c9b6;
}
.csa-form-footer__brand img { height: 22px; width: auto; display: block; }

@media (max-width: 640px) {
  .csa-form-header__farm { font-size: 1.35rem; }
  .csa-form-article { padding: 20px 16px; }
  .csa-form-footer__inner { flex-direction: column; align-items: flex-start; }
}
