/* A style: recommendation, stock and custom selection. */
#recommend .recommend-hero {
  background: #101113;
  border-bottom: 1px solid #303337;
  padding: clamp(42px, 6vw, 90px) 5% 70px;
}
#recommend .recommend-hero-art,
#recommend .recommend-hero::before,
#recommend .recommend-hero::after,
#recommend .recommend-form-wrap::before {
  display: none;
}
#recommend .recommend-hero-content {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(36px, 6vw, 90px);
  max-width: 1230px;
}
#recommend .recommend-intro { margin: 0; }
#recommend h1 {
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 800;
  letter-spacing: -.045em;
  text-shadow: none;
}
#recommend .recommend-lede { color: #b8bbbd; text-shadow: none; }
#recommend .recommend-form-wrap {
  background: #1a1c1f;
  border: 1px solid #303337;
  border-radius: 20px;
  box-shadow: 0 20px 50px #0002;
  padding: 24px;
  backdrop-filter: none;
}
#recommend .recommend-search-tabs {
  width: 100%;
  gap: 4px;
  padding: 4px;
  border: 0;
  border-radius: 12px;
  background: #272a2e;
}
#recommend .recommend-search-tabs button {
  border: 0;
  border-radius: 9px;
  color: #b9bdc1;
}
#recommend .recommend-search-tabs button + button { border-left: 0; }
#recommend .recommend-search-tabs button[aria-selected=true] {
  background: #f3f4f1;
  color: #171819;
}
#recommend .recommend-form {
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
}
#recommend .recommend-form .recommend-year-field { grid-column: 1; grid-row: 1; }
#recommend .recommend-form .recommend-brand-field { grid-column: 2; grid-row: 1; }
#recommend .recommend-form .recommend-model-field { grid-column: 1; grid-row: 2; }
#recommend .recommend-form .recommend-diameter-field { grid-column: 2; grid-row: 2; }
#recommend .recommend-form .recommend-submit { grid-column: 1 / -1; grid-row: 3; width: 100%; min-width: 0; }
#recommend .recommend-form .vehicle-lookup-help {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: center;
  margin-top: 0;
}
#recommend .recommend-form label { color: #d0d2d2; font-weight: 700; }
#recommend .recommend-form input,
#recommend .recommend-form select,
#recommend #recommend-by-spec .stock-filter-fields select {
  background: #22252a;
  border: 1px solid #50555c;
  border-radius: 9px;
  color: #f4f4f2;
  min-height: 52px;
  box-shadow: none;
}
#recommend .recommend-submit {
  grid-column: 1 / -1;
  justify-content: center;
  gap: 14px;
  border: 1px solid #f3f4f1;
  border-radius: 28px;
  background: #f3f4f1;
  color: #171819;
  box-shadow: none;
}
#recommend .recommend-submit:disabled {
  background: #34373b;
  border-color: #4d5257;
  color: #afb3b6;
}
#recommend .recommend-form-wrap .vehicle-lookup-help {
  border: 1px solid #63686d;
  border-radius: 24px;
  color: #f1f2ef;
}
#recommend .recommend-examples button {
  border: 1px solid #555a5e;
  border-radius: 22px;
  background: transparent;
}
#recommend #recommend-by-spec .stock-filter-panel { background: transparent; }
#recommend #recommend-by-spec .stock-update-date { border-color: #d8f57b; background: #272a2e; }
#recommend .recommend-results { border-radius: 0; }
#recommend .recommend-card,
:is(#stock,#specs-grid) .product,
#custom-grid .custom-product-compact {
  border: 1px solid #35383c;
  border-radius: 10px;
  overflow: hidden;
  background: #191b1e;
  color: #f3f4f1;
}
#stock.catalog-section, #custom.catalog-section {
  background: #101113;
  color: #f3f4f1;
}
:is(#stock,#specs-grid) .section-heading > p, #custom .section-heading > p { color: #b6b9bc; }
:is(#stock,#specs-grid) .filters button {
  border: 1px solid #565a5d;
  border-radius: 24px;
  color: #e6e8e6;
}
:is(#stock,#specs-grid) .filters button.active {
  border-color: #f2f3f0;
  background: #f2f3f0;
  color: #151515;
}
:is(#stock,#specs-grid) .card-body .eyebrow,
#custom-grid .card-body .eyebrow,
:is(#stock,#specs-grid) .muted,
#custom-grid .muted,
:is(#stock,#specs-grid) .model-note,
#custom-grid .model-note { color: #babfc1; }
:is(#stock,#specs-grid) .price-box, #custom-grid .price-box { background: #24272a; border-radius: 8px; }
:is(#stock,#specs-grid) .price-box strong, #custom-grid .price-box strong { color: #f3f4f1; }
:is(#stock,#specs-grid) .price-label, #custom-grid .price-label,
:is(#stock,#specs-grid) .price-box strong small, #custom-grid .price-box strong small { color: #b7bbbe; }
:is(#stock,#specs-grid) .badge, #custom-grid .badge {
  border-radius: 0 0 0 8px;
  background: #d8f57b;
  color: #171819;
}
:is(#stock,#specs-grid) .photo-bar, #custom-grid .photo-bar { background: #202225; border-color: #34383b; color: #c0c5c6; }
:is(#stock,#specs-grid) .photo-bar button, #custom-grid .photo-bar button { color: #f3f4f1; }
:is(#stock,#specs-grid) .card-line, #custom-grid .card-line {
  border-radius: 24px;
  background: #f3f4f1;
  color: #161819;
}
:is(#stock,#specs-grid) .variant-picker > summary, #custom-grid .custom-product-details { border-color: #45494c; }
:is(#stock,#specs-grid) .variant, #custom-grid .custom-controls select {
  background: #22252a;
  color: #f3f4f1;
  border-color: #53585c;
  border-radius: 7px;
}
:is(#stock,#specs-grid) .variant span { color: #bec2c4; }
:is(#stock,#specs-grid) .variant.selected { background: #303a21; border-color: #d8f57b; box-shadow: inset 0 0 0 1px #d8f57b; }
:is(#stock,#specs-grid) .variant.selected strong { color: #e9f8b7; }
:is(#stock,#specs-grid) .fitment-note, #custom-grid .vehicle-recommendation-detail { border-color: #45494c; }
:is(#stock,#specs-grid) .fitment-note,
:is(#stock,#specs-grid) .price-footnote,
:is(#stock,#specs-grid) .spec-details dt,
#custom-grid .price-footnote,
#custom-grid .custom-controls label,
#custom-grid .vehicle-recommendation span,
#custom-grid .vehicle-recommendation-detail p { color: #b9bec0; }
#custom-grid .vehicle-recommendation-detail h4 { color: #f3f4f1; }
#custom-grid .vehicle-recommendation-detail a,
:is(#stock,#specs-grid) .stock-photo-link,
:is(#stock,#specs-grid) .stock-model-link { color: #d8f57b; }
:is(#stock,#specs-grid) .spec-details dd,
#custom-grid .custom-product-details > summary { color: #f3f4f1; }
#custom-grid .vehicle-recommendation strong { color: #d5d9da; border-color: #62686b; }
#custom-grid .vehicle-recommendation.installed-case strong { background: #303a21; border-color: #a7c16a; color: #e0efb3; }
#custom .custom-brand-nav.custom-explore-nav { background: #101113; border-color: #34373a; box-shadow: none; }
#custom .custom-brand-nav.custom-explore-nav .custom-explore-modes {
  padding: 4px;
  gap: 4px;
  border: 0;
  border-radius: 12px;
  background: #272a2e;
}
#custom .custom-brand-nav.custom-explore-nav .custom-explore-modes button {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #bdc0c2;
}
#custom .custom-brand-nav.custom-explore-nav .custom-explore-modes button[aria-selected=true] {
  background: #f3f4f1;
  color: #171819;
}
#custom .custom-brand-nav.custom-explore-nav .custom-explore-options button {
  border: 1px solid #4b5053;
  border-radius: 24px;
  background: transparent;
  color: #ebedeb;
}
#custom .custom-brand-nav.custom-explore-nav .custom-explore-options button[aria-pressed=true] {
  background: #f3f4f1;
  color: #171819;
  border-color: #f3f4f1;
}
#custom .custom-brand-nav.custom-explore-nav .custom-explore-options button[aria-pressed=true] span { color: #515653; }
#custom .custom-catalog-tools label,
#custom .custom-explore-tools [data-explore-note],
#custom .custom-catalog-tools.custom-explore-tools [data-custom-results],
#custom .custom-explore-tools .installed-only { color: #bdc1c3; }
#custom .custom-catalog-tools input,
#custom .custom-catalog-tools select,
#custom .custom-explore-tools .explore-series,
#custom .custom-reset {
  color: #f3f4f1;
  border: 1px solid #50555c;
  border-radius: 8px;
  background: #22252a;
}
#custom .custom-explore-tools .custom-filter-submit,
#custom .custom-show-more { border-radius: 24px; background: #f3f4f1; color: #171819; }
#custom .custom-explore-tools .explore-all,
#custom .explore-series > summary:after { color: #d8f57b; }
.pro-custom-hero {
  min-height: 0;
  background: #101113;
  border-bottom: 1px solid #303337;
}
.pro-custom-hero .pro-hero-scene,
.pro-custom-hero .pro-hero-detail,
.pro-custom-hero .pro-scene-credit { display: none; }
.pro-custom-hero .pro-hero-copy { padding: 90px 5% 50px; max-width: 1230px; }
.pro-custom-hero .pro-hero-copy h1 { font-size: clamp(40px, 5vw, 68px); }
.pro-custom-hero .pro-hero-primary,
.pro-custom-hero .pro-hero-color {
  min-height: 48px;
  border-radius: 28px;
  padding: 12px 24px;
}
.pro-custom-hero .pro-hero-primary { background: #f3f4f1; color: #161819; }
.pro-custom-hero .pro-hero-color { border-color: #717679; background: transparent; color: #f3f4f1; }
.pro-custom-hero .pro-hero-bottom { position: static; margin: 0 5%; padding: 20px 0 40px; }
.pro-custom-hero .pro-hero-summary strong { color: #d8f57b; }
.poster-hero {
  display: block;
  min-height: 0;
  padding: 65px 5% 54px;
  background: #101113;
  border-bottom: 1px solid #303337;
}
.poster-hero .hero-visual { display: none; }
.poster-hero .hero-copy {
  position: static;
  padding: 0;
  background: none;
  pointer-events: auto;
}
.poster-hero h1 {
  color: #f3f4f1;
  font-size: clamp(36px, 4vw, 58px);
  text-shadow: none;
}
.poster-hero .poster-controls {
  position: static;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 0;
}
.poster-hero .poster-cta,
.poster-hero .poster-custom-cta {
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 26px;
}
.poster-hero .poster-cta { background: #f3f4f1; color: #161819; }
.poster-hero .poster-custom-cta { background: transparent; color: #f3f4f1; border-color: #717679; }
@media (hover:hover) {
  #recommend .recommend-submit:not(:disabled):hover,
  :is(#stock,#specs-grid) .card-line:hover,
  #custom-grid .card-line:hover,
  .pro-custom-hero .pro-hero-primary:hover { background: #d8f57b; border-color: #d8f57b; color: #161819; }
}
@media (max-width:700px) {
  #recommend .recommend-hero { padding: 36px 18px 35px; }
  #recommend .recommend-hero-content { display: block; }
  #recommend .recommend-intro { margin-bottom: 24px; }
  #recommend h1 { font-size: 32px; }
  #recommend .recommend-form-wrap { padding: 16px; border-radius: 14px; }
  #recommend .recommend-form { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px 10px; }
  #recommend .recommend-form .recommend-model-field { grid-column: 1 / -1; grid-row: 2; }
  #recommend .recommend-form .recommend-diameter-field { grid-column: 1 / -1; grid-row: 3; }
  #recommend .recommend-form .recommend-submit { grid-column: 1 / -1; grid-row: 4; }
  #recommend .recommend-form .vehicle-lookup-help { grid-column: 1 / -1; grid-row: 5; }
  #recommend .recommend-form input, #recommend .recommend-form select { font-size: 16px; }
  .pro-custom-hero .pro-hero-copy { padding: 45px 20px 28px; }
  .pro-custom-hero .pro-hero-bottom { margin: 0 20px; padding: 18px 0 24px; }
  .poster-hero { padding: 42px 20px 36px; }
  .poster-hero .hero-copy { width: auto; padding: 0; background: none; }
  .poster-hero h1 { color: #f3f4f1; }
  .poster-hero .poster-controls { justify-content: flex-start; padding: 0; }
  #custom .custom-brand-nav.custom-explore-nav .custom-explore-modes button { min-height: 44px; }
}
@media (max-width:360px) {
  #recommend .recommend-search-tabs button { font-size: 12px; letter-spacing: 0; padding-inline: 4px; white-space: nowrap; }
  #recommend .recommend-form select { font-size: 14px; padding-inline: 7px 20px; }
}
header .catalog-tabs button {background:transparent !important;border:0 !important;border-bottom:2px solid transparent !important;border-radius:0 !important;color:#a9adb0 !important;box-shadow:none !important}
header .catalog-tabs button[aria-selected="true"] {background:transparent !important;color:#f5f5f2 !important;border-bottom-color:#d8f178 !important}

/* Bring back the verified installation photos without enlarging the A-style sections. */
.poster-hero {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 5vw, 64px) 5%;
}
.poster-hero .hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
.poster-hero .poster-controls { grid-column: 1; grid-row: 2; align-self: start; }
.poster-hero .hero-visual {
  display: block;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  width: 100%;
  background: transparent;
}
.poster-hero .installation-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: hidden;
}
.poster-hero .installation-gallery img {
  display: block;
  width: 100%;
  height: clamp(280px, 29vw, 420px);
  aspect-ratio: auto;
  object-fit: cover;
}
.poster-hero .installation-caption { padding: 12px 0 0; background: transparent; color: #bfc5c8; }
.pro-custom-hero { min-height: 500px; }
.pro-custom-hero .pro-hero-scene {
  display: block;
  position: absolute;
  inset: 0 0 0 37%;
  z-index: -1;
}
.pro-custom-hero .pro-hero-copy { max-width: 680px; padding: 82px 5% 36px; }
.pro-custom-hero .pro-hero-bottom { position: relative; z-index: 1; margin: 0 5%; padding: 18px 0 30px; }
.pro-custom-hero .pro-scene-credit { display: block; }

@media (max-width: 700px) {
  .poster-hero { display: flex; flex-direction: column; align-items: stretch; padding: 38px 20px 26px; }
  .poster-hero .hero-copy { order: 1; }
  .poster-hero .poster-controls { order: 2; margin-top: 20px; }
  .poster-hero .hero-visual { order: 3; margin-top: 24px; }
  .poster-hero .installation-gallery {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .poster-hero .installation-gallery::-webkit-scrollbar { display: none; }
  .poster-hero .installation-gallery img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    scroll-snap-align: start;
  }
  .poster-hero .installation-caption { padding: 10px 0; }
  .poster-hero .installation-controls { padding: 0; }
  .pro-custom-hero { display: flex; flex-direction: column; min-height: 0; }
  .pro-custom-hero .pro-hero-copy { order: 0; padding: 46px 20px 28px; }
  .pro-custom-hero .pro-hero-scene {
    display: block;
    position: relative;
    inset: auto;
    z-index: 0;
    order: 2;
    width: 100%;
    aspect-ratio: 3 / 2;
  }
  .pro-custom-hero .pro-scene-shade { background: linear-gradient(180deg, transparent 62%, #101113bb); }
  .pro-custom-hero .pro-hero-bottom { order: 3; margin: 0 20px; padding: 17px 0 24px; }
}

/* Full-bleed forged installation portraits with native swipe. */
.pro-custom-hero { min-height: clamp(680px,calc(100svh - 80px),900px); }
.pro-custom-hero .pro-hero-scene { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.pro-hero-swipe { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; touch-action: pan-x pan-y; cursor: grab; }
.pro-hero-swipe:active { cursor: grabbing; }
.pro-hero-swipe::-webkit-scrollbar { display: none; }
.pro-hero-swipe:focus-visible { outline: 3px solid #d8f57b; outline-offset: -4px; }
.pro-hero-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; }
.pro-hero-slide { position: relative; overflow: hidden; background: #101113; }
.pro-hero-slide::before { content: ''; position: absolute; inset: -24px; background: var(--hero-slide-image) center / cover no-repeat; filter: blur(18px) brightness(.42); }
.pro-hero-slide picture { position: relative; display: flex; justify-content: flex-end; width: 100%; height: 100%; }
.pro-hero-slide img { display: block; width: 85%; height: 100%; object-fit: contain; object-position: right center; user-select: none; pointer-events: none; }
.pro-custom-hero .pro-scene-shade { z-index: 1; pointer-events: none; background: linear-gradient(90deg,#101113e8 0%,#101113aa 35%,#10111320 75%),linear-gradient(0deg,#101113db 0%,transparent 36%); }
.pro-custom-hero .pro-hero-copy { position: relative; z-index: 2; max-width: 680px; padding: clamp(85px,13vh,170px) 5% 135px; pointer-events: none; }
.pro-custom-hero .pro-hero-copy a { pointer-events: auto; }
.pro-custom-hero .pro-hero-copy h1 { font-size: clamp(48px,5.4vw,76px); text-shadow: 0 2px 20px #0009; }
.pro-custom-hero .pro-hero-description { color: #f0f1ee; font-size: 16px; text-shadow: 0 2px 14px #000c; }
.pro-hero-swipe-hint { display: flex; align-items: center; gap: 18px; margin: 30px 0 0; color: #f3f4f1; font-size: 14px; font-weight: 650; text-shadow: 0 2px 12px #000; }
.pro-hero-swipe-hint [data-hero-position] { color: #d8f57b; font-variant-numeric: tabular-nums; }
.pro-custom-hero .pro-hero-bottom { position: absolute; left: 5%; right: 5%; bottom: 24px; z-index: 2; margin: 0; padding: 14px 0 0; }
.pro-custom-hero .pro-scene-credit { color: #f3f4f1; font-size: 13px; font-weight: 650; letter-spacing: .04em; text-shadow: 0 2px 12px #000; }
.pro-custom-hero .pro-scene-credit small { color: #d8f57b; font-size: 11px; }
.pro-custom-hero .pro-hero-summary { display: none; }
#custom .custom-brand-nav.custom-explore-nav .custom-explore-modes { grid-template-columns: repeat(5,minmax(0,1fr)); }
#custom .custom-brand-nav.custom-explore-nav .custom-explore-modes button { min-width: 0; padding-inline: 5px; }
#custom .custom-explore-options .explore-mode-note { margin: 5px 0 6px; color: #c7cccd; font-size: 12px; line-height: 1.5; }
#custom .custom-explore-tools .explore-price-controls { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,240px)); gap: 12px; align-items: end; }
#custom .custom-explore-tools .explore-price-controls label { color: #c7cccd; }
#custom .custom-explore-tools .explore-price-controls p { grid-column: 1 / -1; margin: 0; color: #aeb5b6; font-size: 11px; text-align: left; }
@media (max-width: 700px) {
  .pro-custom-hero { display: block; min-height: max(670px,calc(100svh - 65px)); }
  .pro-custom-hero .pro-hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .pro-hero-slide::before { display: none; }
  .pro-hero-slide img { width: 100%; object-fit: cover; object-position: center; }
  .pro-custom-hero .pro-scene-shade { background: linear-gradient(180deg,#101113dd 0%,#101113aa 33%,#10111325 65%,#101113db 100%); }
  .pro-custom-hero .pro-hero-copy { padding: 66px 22px 120px; max-width: none; }
  .pro-custom-hero .pro-hero-copy h1 { font-size: clamp(40px,11vw,58px); }
  .pro-custom-hero .pro-hero-description { max-width: 330px; font-size: 14px; }
  .pro-hero-swipe-hint { margin-top: 22px; font-size: 12px; }
  .pro-custom-hero .pro-hero-bottom { position: absolute; left: 22px; right: 22px; bottom: 20px; margin: 0; padding-top: 12px; }
  .pro-custom-hero .pro-scene-credit { font-size: 11px; }
  #custom .custom-brand-nav.custom-explore-nav .custom-explore-modes button { font-size: 10px; line-height: 1.25; }
  #custom .custom-explore-tools .explore-price-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
