/* Household Solar Products: list page cards and calculator additions.
   Builds on the theme's .hs-card / .hs-spec / .hs-btn styles. */

/* ---------- List page ---------- */
.hsp-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,520px),1fr));gap:30px}
.hsp-card{scroll-margin-top:24px}
.hsp-head{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:center}
.hsp-photo{aspect-ratio:4/3}
.hsp-title > *{margin:0}
.hsp-title h3{font-size:clamp(24px,2.4vw,28px);line-height:1.15}
.hsp-best{margin-top:8px!important;font-size:15px;color:var(--hs-ink-soft,#3B4A6B)}
.hsp-best strong{color:var(--hs-ink,#0E1A3A)}
.hsp-specs{grid-template-columns:repeat(4,minmax(0,1fr))}
.hsp-runs{border:2px solid var(--hs-ink,#0E1A3A);border-radius:14px;overflow:hidden}
.hsp-runs-title{margin:0;padding:10px 14px;background:var(--hs-sky-blue,#68A9F4);font-weight:700;font-size:15px;border-bottom:2px solid var(--hs-ink,#0E1A3A)}
.hsp-runs table{width:100%;border-collapse:collapse;font-size:15px}
.hsp-runs th,.hsp-runs td{padding:9px 14px;text-align:left;border-bottom:1.5px solid var(--hs-line,#D3DDEE)}
.hsp-runs tbody tr:last-child th,.hsp-runs tbody tr:last-child td{border-bottom:0}
.hsp-runs thead th{font-size:13px;font-weight:500;color:var(--hs-ink-soft,#3B4A6B);padding-block:8px 4px}
.hsp-runs tbody th{font-weight:500}
.hsp-runs td{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.hsp-facts{margin:0;font-size:15px}
.hsp-facts li{margin-bottom:8px}
.hsp-size-link{font-weight:700;color:var(--hs-blue,#2266DE);text-align:center;padding:6px 0}
.hsp-disclose{margin-top:30px}
.hsp-disclose a{color:inherit;font-weight:700}
@media (max-width:640px){
  .hsp-head{grid-template-columns:minmax(0,1fr)}
  .hsp-photo{aspect-ratio:2/1}
  .hsp-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hsp-runs th,.hsp-runs td{padding:8px 10px;font-size:14px}
}

/* ---------- Calculator result cards ---------- */
.hs-card-band.is-expand{background:var(--hs-amber,#FFC100)}
.hsp-calc-facts{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.hsp-calc-facts li{margin:0;padding:4px 10px;border:2px solid var(--hs-ink,#0E1A3A);border-radius:999px;font-size:13px;font-weight:500;background:#fff}
.hsp-expand-note{margin:0;padding:12px 14px;border-radius:12px;background:var(--hs-pale-yellow,#FFF3B0);font-size:15px}
.hsp-more{margin-top:22px;font-weight:700}
.hsp-more a{color:var(--hs-blue,#2266DE)}

/* ---------- Emergency gear ---------- */
.hsp-gear{display:block}
.hsp-gear-heading{font-size:clamp(24px,2.6vw,30px);margin:40px 0 18px}
.hsp-gear-heading:first-child{margin-top:0}
.hsp-gear-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:24px}
.hsp-gear-card{background:#fff;color:var(--hs-ink,#0E1A3A);border:2.5px solid var(--hs-ink,#0E1A3A);border-top-width:12px;border-radius:18px;box-shadow:var(--hs-shadow-sm,4px 4px 0 #0E1A3A);padding:20px;display:flex;flex-direction:column;gap:10px}
.hsp-gear-card > *{margin:0}
.hsp-gear-card.is-blue{border-top-color:var(--hs-blue,#2266DE)}
.hsp-gear-card.is-amber{border-top-color:var(--hs-amber,#FFC100)}
.hsp-gear-card.is-sky{border-top-color:var(--hs-sky-blue,#68A9F4)}
.hsp-gear-card.is-yellow{border-top-color:var(--hs-yellow,#FFDD02)}
.hsp-gear-card h3{font-size:20px;line-height:1.25}
.hsp-gear-brand{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--hs-ink-soft,#3B4A6B)}
.hsp-gear-why{font-size:15px;color:var(--hs-ink-soft,#3B4A6B)}
.hsp-gear-list{font-size:14px}
.hsp-gear-list a{color:var(--hs-blue,#2266DE);font-weight:700}
.hsp-gear-photo{aspect-ratio:4/3;border-radius:12px;background:var(--hs-sky,#EAF3FE);overflow:hidden}
.hsp-gear-photo img{width:100%;height:100%;object-fit:contain}
.hsp-gear-card .hs-card-actions{margin-top:auto}
.hsp-band{background:var(--hs-sky,#EAF3FE);border-top:2.5px solid var(--hs-ink,#0E1A3A);margin:0!important;max-width:none!important}
.hsp-band-inner{max-width:1180px;margin:0 auto;padding:64px 20px;display:flex;flex-direction:column;gap:18px}
.hsp-band-inner > *{margin:0}
.hsp-others{margin-top:30px}
.hsp-others h3{margin:0 0 12px;font-size:20px}
.hsp-others ul{margin:0;padding:0;list-style:none;border:2px solid var(--hs-ink,#0E1A3A);border-radius:16px;background:#fff;overflow:hidden}
.hsp-other{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:10px 16px;border-top:1px solid #D6E3F5}
.hsp-other:first-child{border-top:0}
.hsp-other img,.hsp-other-noimg{width:56px;height:56px;object-fit:contain;border-radius:8px;background:#EAF3FE;display:block}
.hsp-other-name{display:flex;flex-direction:column;line-height:1.3}
.hsp-other-name small{font-size:14px;color:#3B4A6B}
.hsp-other-run{font-weight:700;white-space:nowrap}
.hsp-other-link a{color:var(--hs-blue,#2266DE);font-weight:700;white-space:nowrap}
@media (max-width:640px){.hsp-other{grid-template-columns:48px minmax(0,1fr) auto}.hsp-other img,.hsp-other-noimg{width:48px;height:48px}.hsp-other-link{grid-column:2/-1}}
