/* Line 31194: sunrayus.com's home on the one template. Today's home sells through its Square checkouts and its two quote
   forms; the forms ride byte for byte (their inline styles too), and this sheet dresses them and the checkout band in the
   template's own tokens (place.css, base.css). */

/* Buy on Square: the complete kits, the pumps only and the Pentair IntelliFlo3, each a checkout one tap away */
.sp-hub-buy { padding: 26px 0; }
.sp-hub-groups { display: grid; gap: 12px; max-width: var(--sp-max); margin: 14px auto 0; padding: 0 var(--sp-pad); align-items: start; }
.sp-hub-group { border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-card); padding: 14px; }
.sp-hub-group__title { font: 600 16px/1.3 var(--sc-sans); color: var(--sp-strong); }
.sp-hub-group__hint { margin-top: 2px; font-size: 13px; color: var(--sp-muted); }
.sp-hub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.sp-hub-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px;
  background: var(--sp-buy); color: var(--sp-buy-ink); font: 600 14px/1 var(--sc-sans); text-decoration: none;
}
.sp-hub-chip:hover { filter: brightness(1.12); }
.sp-hub-chip:focus-visible { outline: 2px solid var(--sp-strong); outline-offset: 2px; }
.sp-hub-chip__price { font-weight: 700; }
.sp-hub-chip__note { font-weight: 400; font-size: 12px; opacity: .82; }
.sp-hub-pentair .sp-hub-chips { margin-top: 4px; }
.sp-hub-pentair .sp-kit__do { margin-top: 2px; }

/* the quote form beside the address quote: today's #quote-form, in the template's fields and button */
.sp-hub-form { max-width: var(--sp-max); margin: 18px auto 0; padding: 16px var(--sp-pad) 0; }
.sp-hub-form__title { font: 600 16px/1.3 var(--sc-sans); color: var(--sp-strong); }
.sp-hub-form__hint { margin-top: 2px; font-size: 13px; color: var(--sp-muted); max-width: 60ch; }
.sp-page .hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sp-page .quote-form { display: grid; gap: 12px; margin-top: 12px; }
.sp-page .quote-form .form-3col { display: grid; gap: 12px; grid-template-columns: 1fr; }
.sp-page .quote-form .form-3col[style] { margin-top: 0 !important; }
.sp-page .quote-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.sp-page .quote-form label { font: 600 14px/20px var(--sc-sans); color: var(--sp-strong); }
.sp-page .quote-form input, .sp-page .quote-form select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--sp-line); border-radius: 12px;
  background: var(--sp-bg); color: var(--sp-ink); font: 400 16px/22px var(--sc-sans);
}
.sp-page .quote-form input::placeholder { color: var(--sc-placeholder); }
.sp-page .quote-form :is(input, select):focus-visible { outline: 2px solid var(--sp-strong); outline-offset: 1px; }
.sp-page .quote-form .btn-primary, .sp-page .sp-hub-dark .btn-primary {
  width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--sp-buy); color: var(--sp-buy-ink);
  font: 600 15px/1.2 var(--sc-sans); cursor: pointer;
}
.sp-page .quote-form .btn-primary:hover, .sp-page .sp-hub-dark .btn-primary:hover { filter: brightness(1.12); }

/* the personalized solar quote: today's #personalized-quote-form on the template's dark band */
.sp-hub-dark { padding: 30px 0; background: var(--sc-forest); color: var(--sc-on-dark); }
.sp-hub-dark .sp-section-head { max-width: calc(640px + 2 * var(--sp-pad)); }
.sp-hub-dark .sp-h2 { color: var(--sc-on-dark); }
.sp-hub-dark .sp-lead { color: var(--sc-on-dark-2); }
.sp-hub-dark__form { margin-top: 16px; padding: 0 var(--sp-pad); }
.sp-hub-dark :is(input, select, textarea) { font-family: var(--sc-sans); }
.sp-hub-dark ::placeholder { color: rgba(255, 255, 255, .58); }
.sp-hub-dark :is(input, select, textarea):focus-visible { outline: 2px solid var(--sc-on-dark); outline-offset: 1px; }
.sp-hub-dark option { color: #14140e; background: #fff; }
.sp-page .sp-hub-dark .btn-primary { background: var(--sc-on-dark); color: var(--sc-forest); }

@media (max-width: 767px) {
  .sp-hub-pentair { flex-direction: column; }
  .sp-hub-pentair .sp-kit__media { width: 100%; max-width: none; aspect-ratio: 16 / 9; }
}
@media (max-width: 599px) {
  #personalized-quote-form { padding: 18px !important; }
  #personalized-quote-form > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
@media (min-width: 768px) {
  .sp-page .quote-form .form-3col { grid-template-columns: repeat(3, 1fr); }
  .sp-hub-groups { grid-template-columns: 1fr 1fr; }
  .sp-hub-pentair { grid-column: 1 / -1; flex-direction: row; }
  .sp-hub-pentair .sp-kit__media { flex: 0 0 40%; }
}
@media (min-width: 1200px) {
  .sp-hub-groups { grid-template-columns: 1fr 1fr 1.2fr; }
  .sp-hub-pentair { grid-column: auto; flex-direction: column; }
  .sp-hub-pentair .sp-kit__media { flex: none; }
}
