/* Quote form (scoped) */
#quote_form {
  max-width: 56rem; /* ~896px */
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.35;
}

#quote_form .qf-card {
  border: 1px solid #e6e6e6;
  border-radius: 0.625rem; /* 10px */
  padding: 1.5rem;
  margin: 2rem 0;
  background: #fff;
}

#quote_form .qf-card h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
}

#quote_form .qf-help {
  margin: 0 0 0.75rem 0;
  color: #444;
}

#quote_form .qf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

#quote_form .qf-field label,
#quote_form .qf-label {
  display: block;
  font-weight: 600;
  margin: 0 0 0.4rem 0;
}

#quote_form input[type="text"],
#quote_form input[type="email"],
#quote_form select,
#quote_form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.625rem 0.625rem;
  border: 1px solid #bbb;
  border-radius: 0.5rem;
  font-size: 1rem;
}

#quote_form textarea {
  resize: vertical;
  min-height: 7.5rem;
}

#quote_form .qf-inline {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  flex-wrap: wrap;
}

#quote_form .qf-small {
  max-width: 7rem;
}

#quote_form .qf-divider {
  height: 1px;
  background: #eee;
  margin: 1.75rem 0;
}

/* radio list */
#quote_form .qf-radio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 47.5rem) { /* 760px */
  #quote_form .qf-radio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.125rem;
  }
}

#quote_form .qf-radio-grid li label {
  font-weight: 400;
  display: flex;
  gap: 0.625rem;
  align-items: center;
  margin: 0;
}

/* actions */
#quote_form .qf-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.75rem;
}

#quote_form .qf-linkbtn {
  border: 0;
  background: none;
  padding: 0;
  color: #06c;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1rem;
}

#quote_form .qf-linkbtn:hover {
  color: #004a99;
}

#quote_form .qf-submit {
  appearance: none;
  border: 1px solid #333;
  background: #333;
  color: #fff;
  padding: 0.625rem 1rem;
  border-radius: 0.625rem;
  cursor: pointer;
  font-size: 1rem;
}

#quote_form .qf-submit:hover {
  background: #111;
  border-color: #111;
}

/* width controls using rem */
#quote_form .qf-w-xs { max-width: 6rem; }   /* zip, qty, thickness */
#quote_form .qf-w-sm { max-width: 12rem; }
#quote_form .qf-w-md { max-width: 20rem; }  /* selects, email */

#quote_form .qf-w-xs,
#quote_form .qf-w-sm,
#quote_form .qf-w-md {
  width: 100%;
}