/* The six search pages (truck tires, batteries and so on). The look comes from styles.css; only what those pages add is here. */
.sp-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: 560px; }
.sp-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 17, 31, .97) 0%, rgba(4, 17, 31, .84) 55%, rgba(4, 17, 31, .35) 100%); }
.sp-hero-in { padding: 32px 0 40px; }
.sp-crumb { margin-bottom: 26px; font-size: .92rem; color: var(--text); }
.sp-crumb a { padding: 6px 0; }
.sp-open { font-size: .95rem; font-weight: 600; color: var(--text); }
.sp-hero h1 { max-width: 15ch; margin: 12px 0 14px; font-size: clamp(2.2rem, 9.5vw, 4.3rem); line-height: .98; }
.sp-lead { max-width: 46ch; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text); }
.sp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sp-cta .btn { flex: 1 1 100%; }

.sp-split, .sp-find { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.sp-group { margin: 22px 0 10px; font: 700 1rem/1.3 var(--body); color: var(--white); }
.sp-sizes, .sp-brands, .sp-more { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sp-size { min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--navy-2); color: var(--white); font: 700 .96rem/1 var(--body); cursor: pointer; }
.sp-size:hover, .sp-size[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow); }
.sp-note { margin-top: 16px; }

.sp-ask { align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-2), #081f37); scroll-margin-top: 90px; }
.sp-ask h3, .sp-card h3 { font: 800 1.15rem/1.15 var(--display); font-stretch: 125%; text-transform: uppercase; color: var(--white); }
.sp-ask h3 { margin-bottom: 6px; }
.sp-ask label { display: block; margin: 16px 0 6px; font-weight: 600; }
.sp-ask input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; background: var(--deep); color: var(--white); font: 400 1rem var(--body); }
.sp-ask input::placeholder { color: #8499af; }
.sp-send { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.sp-send .btn { min-width: 0; padding: 14px 4px; font-size: .92rem; }

.sp-brands { gap: 9px; margin-top: 22px; }
.sp-brands li { display: grid; place-items: center; min-width: 96px; min-height: 58px; padding: 8px 16px; border-radius: 10px; background: var(--white); color: var(--ink); font: 800 .98rem/1 var(--display); }
.sp-brands img { width: auto; max-width: 112px; height: 34px; object-fit: contain; }
.band .sp-brands + .fine { margin-top: 14px; }

.sp-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
.sp-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-2), #081f37); }
.sp-card h3 { margin-bottom: 7px; }
.sp-card p { font-size: .98rem; color: var(--muted); }

.sp-faq { max-width: 800px; margin-top: 20px; }
.sp-faq details { border-bottom: 1px solid var(--line); }
.sp-faq summary { padding: 16px 0; font-weight: 700; color: var(--white); cursor: pointer; }
.sp-faq details p { padding-bottom: 16px; color: var(--muted); }

.sp-facts { margin: 20px 0 0; }
.sp-facts div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.sp-facts dt { font-size: .93rem; color: var(--muted); }
.sp-facts dd { margin: 0; }
.sp-find-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

.sp-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.sp-more a { display: flex; align-items: center; height: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--navy-2); color: var(--white); font-weight: 700; line-height: 1.2; text-decoration: none; }
.sp-more a:hover { border-color: var(--yellow); color: var(--yellow); }

@media (min-width: 900px) {
  .sp-hero { min-height: 520px; }
  .sp-hero::after { background: linear-gradient(90deg, rgba(4, 17, 31, .95) 0%, rgba(4, 17, 31, .78) 48%, rgba(4, 17, 31, .2) 100%), linear-gradient(0deg, rgba(6, 26, 46, .9), transparent 45%); }
  .sp-hero-in { padding: 36px 0 48px; }
  .sp-cta .btn { flex: 0 0 auto; }
  .sp-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; }
  .sp-find { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: center; }
  .sp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-more { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
