﻿/* Preserve the uploaded banner's full composition; the finder never determines its height. */
.home-hero {
  display: grid;
  height: auto;
  min-height: 0;
  background: var(--color-one, #1d1d1b);
  isolation: isolate;
}
.home-hero__stage {
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: var(--hero-media-ratio, 16 / 5);
  overflow: hidden;
}
.home-hero__image, .home-hero__video { object-fit: contain; object-position: center; }
.home-hero__slide--with-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.12));
  pointer-events: none;
}
.home-hero__content.container { max-width: none; width: 100%; padding-left: clamp(24px, 5vw, 100px); padding-right: 490px; }
.home-hero__headline { max-width: 680px; }
.home-hero__finder-layer {
  position: relative;
  grid-area: 1 / 1;
  align-self: center;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  padding: 8px clamp(24px, 3vw, 72px);
  pointer-events: none;
}
.hero-finder {
  width: 400px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 16px;
  background: rgba(246,246,246,.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 52px rgba(0,0,0,.18);
  color: var(--color-one, #1d1d1b);
  pointer-events: auto;
}
.hero-finder__eyebrow { display: flex; align-items: center; gap: 8px; color: #595959; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.hero-finder h2 { margin: 8px 0 14px; font-size: 28px; line-height: 1.2; font-weight: 800; color: var(--color-one, #1d1d1b); }
.hero-finder__search { display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #fff; border: 1px solid #d4d4d4; border-radius: 8px; }
.hero-finder__search input { width: 100%; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; font-size: 13px; color: #1d1d1b; }
.hero-finder__search:focus-within { border-color: #777; }
.hero-finder__divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 12px; line-height: 1.5; color: #595959; }
.hero-finder__divider::before, .hero-finder__divider::after { content: ""; flex: 1; height: 1px; background: #d0d0d0; }
.hero-finder__fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.hero-finder__field { min-width: 0; padding: 6px 10px; border: 1px solid #dedede; border-radius: 8px; background: #fff; }
.hero-finder__field label { display: block; font-size: 11px; line-height: 1.4; font-weight: 600; color: #595959; }
.hero-finder__field select { display: block; width: 100%; min-width: 0; height: 27px; padding: 0; border: 0; background: transparent; color: #1d1d1b; font-size: 13px; text-overflow: ellipsis; cursor: pointer; }
.hero-finder__field select:disabled { color: #777; cursor: not-allowed; }
.hero-finder__field:focus-within { border-color: #777; }
.hero-finder__field select:focus-visible { outline: none; }
.hero-finder__actions { display: flex; gap: 10px; margin-top: 14px; }
.hero-finder__actions button { height: 44px; border-radius: 8px; font-weight: 700; transition: background .2s; }
.hero-finder__clear { width: 44px; flex-shrink: 0; border: 1px solid #ccc; background: transparent; color: #444; }
.hero-finder__clear:hover { background: #fff; }
.hero-finder__submit { flex: 1; display: flex; align-items: center; justify-content: center; gap: 18px; border: 0; background: var(--color-one, #1d1d1b); color: #fff; }
.hero-finder__submit:hover { background: var(--primary-color, #dc143c); }
.hero-finder__help { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #d0d0d0; font-size: 11px; line-height: 1.5; color: #505050; }
.hero-finder__help a { display: inline-flex; align-items: center; gap: 6px; color: #1d1d1b; font-weight: 700; }
.home-hero__nav { top: auto; bottom: 16px; transform: none; background: rgba(0,0,0,.55); }
.home-hero__nav:hover { background: rgba(0,0,0,.8); }
.home-hero__nav--prev { left: 24px; }
.home-hero__nav--next { left: 78px; right: auto; }
.home-hero__dots { max-width: calc(100% - 160px); flex-wrap: wrap; justify-content: center; background: rgba(0,0,0,.55); }
.home-hero__dot { width: 12px; height: 12px; }
.home-fitment-note { padding: 20px 0; border-bottom: 1px solid #dedede; background: #f5f5f5; }
.home-fitment-note p { margin: 0; padding-left: 16px; border-left: 3px solid var(--primary-color, #dc143c); color: #333; font-size: 14px; font-weight: 500; line-height: 1.8; }
@media (max-width: 1399px) {
  .home-hero__finder-layer { grid-area: 2 / 1; justify-content: center; padding: 24px; background: #f2f2f2; }
  .hero-finder { width: 100%; max-width: 580px; background: #fff; border-color: #dedede; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
  .home-hero__content.container { padding-right: 24px; }
  .home-hero__headline { max-width: 760px; font-size: 2.6rem !important; }
}
@media (max-width: 767px) {
  .home-hero__stage:has(.home-hero__slide--active.home-hero__slide--with-copy) { min-height: 250px; }
  .home-hero__headline { font-size: 1.6rem !important; margin-bottom: 8px; }
  .home-hero__subline { font-size: .85rem !important; }
  .home-hero__eyebrow { margin-bottom: 8px; font-size: .65rem; }
  .home-hero__content.container { padding-left: 16px; padding-right: 16px; }
  .home-hero__slide--with-copy .home-hero__content { padding-bottom: 40px; }
  .home-hero__nav { width: 32px; height: 32px; bottom: 8px; }
  .home-hero__nav--prev { left: 12px; }
  .home-hero__nav--next { left: 52px; }
  .home-hero__dots { left: auto; right: 12px; bottom: 9px; transform: none; max-width: calc(100% - 108px); gap: 6px; padding: 5px 8px; }
  .home-hero__dot { width: 10px; height: 10px; }
  .home-hero__finder-layer { padding: 18px 12px; }
  .hero-finder { padding: 20px 16px; }
  .hero-finder h2 { font-size: 26px; }
  .home-fitment-note { padding: 18px 0; }
  .home-fitment-note p { font-size: 14px; line-height: 1.75; padding-left: 12px; }
}
@media (max-width: 374px) {
  .hero-finder__fields { grid-template-columns: 1fr; }
  .hero-finder__search input { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__slide, .hero-finder__actions button { transition: none; }
}
