/* The contact form, the same one on the homepage, /shops/ and /developers/.
   Its own file because the homepage carries its own furniture inline and does
   not load pages.css. Behaviour is contact.js; the server side is
   api/shop/views_interest.py. */
.form { position: relative; display: grid; gap: 1rem; max-width: 34rem; margin-top: 1.5rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9375rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form button {
  justify-self: start; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: .9rem 1.4rem; border-radius: 9px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
}
.form .note { margin: 0; font-size: .875rem; color: var(--faint); }
.form textarea { resize: vertical; min-height: 4.5rem; }
/* A select drawn by the browser comes out shorter than the inputs beside it in
   some browsers (Safari, Firefox), so it is drawn here like the rest, with
   its own chevron. */
.form select {
  -webkit-appearance: none; appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238b97a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: .75rem;
}
.form .opt { font-weight: 400; color: var(--faint); }
.form .note a { color: var(--soft); }
.form button:disabled { opacity: .6; cursor: default; }
/* The honeypot: off-screen rather than display:none, which some bots skip. */
.form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .sent { margin: 0; padding: 1.1rem 0; font-size: 1.0625rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

