/* 2026-07-20: selected vehicle header based on supplied reference */
body.special-page #preorderListView .preorder-list-head {
  position: relative !important;
  margin: 10px 0 22px !important;
  padding: 40px 48px 34px !important;
  overflow: visible !important;
  border: 1px solid #e1e6ed !important;
  border-radius: 28px !important;
  background: linear-gradient(112deg, #fff 0%, #fff 55%, #f5f7f9 100%) !important;
  box-shadow: 0 14px 36px rgba(19, 35, 56, .08) !important;
}

body.special-page #preorderListView .preorder-list-head-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr) !important;
  gap: 38px !important;
  align-items: center !important;
}

body.special-page #preorderListView .preorder-list-brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: #18283a;
  font-size: 18px;
  font-weight: 700;
}

body.special-page #preorderListView .preorder-list-brand-logo {
  display: inline-grid;
  width: 46px;
  height: 30px;
  place-items: center;
}

body.special-page #preorderListView .preorder-list-brand-logo[hidden] {
  display: none !important;
}

body.special-page #preorderListView .preorder-list-brand-logo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  justify-self: center !important;
  filter: none !important;
}

body.special-page #preorderListView .preorder-list-head-main h2 {
  margin: 12px 0 6px !important;
  color: #101f31 !important;
  font-size: clamp(48px, 5vw, 76px) !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
}

body.special-page #preorderListView #listSummary {
  margin: 14px 0 24px;
  color: #52647a;
  font-size: 18px;
}

body.special-page #preorderListView .preorder-powertrain-filter > strong {
  display: block;
  margin-bottom: 10px;
  color: #18283a;
  font-size: 16px;
}

body.special-page #preorderListView .preorder-powertrain-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 1fr);
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d7dee8;
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  scrollbar-width: none;
}

body.special-page #preorderListView .preorder-powertrain-tabs::-webkit-scrollbar {
  display: none;
}

body.special-page #preorderListView .preorder-powertrain-tabs button {
  min-width: 92px;
  min-height: 54px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid #e1e6ed;
  background: transparent;
  color: #66768a;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

body.special-page #preorderListView .preorder-powertrain-tabs button:last-child {
  border-right: 0;
}

body.special-page #preorderListView .preorder-powertrain-tabs button.active {
  margin: -1px 0 -1px -1px;
  border-radius: 14px;
  border-right-color: transparent;
  background: linear-gradient(135deg, #143f73, #082d58);
  color: #fff;
}

body.special-page #preorderListView .preorder-list-head-specs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 30px !important;
  max-width: 560px;
}

body.special-page #preorderListView .preorder-list-condition-dropdown,
body.special-page #preorderListView .preorder-list-fixed-condition {
  width: auto !important;
  min-width: 0 !important;
  min-height: 82px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .94) !important;
}

body.special-page #preorderListView .preorder-list-condition-dropdown {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

body.special-page #preorderListView .preorder-list-condition-menu {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

body.special-page #preorderListView .preorder-list-condition-trigger,
body.special-page #preorderListView .preorder-list-fixed-condition {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  min-height: 82px !important;
  padding: 15px 12px !important;
  grid-template-columns: 30px minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  column-gap: 8px !important;
}

body.special-page #preorderListView .preorder-list-head-specs .preorder-condition-icon {
  grid-column: 1;
  grid-row: 2;
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  place-items: center;
  align-self: center;
  border: 0 !important;
  border-radius: 9px !important;
  background: #edf5ff !important;
  color: #125ed8 !important;
}

body.special-page #preorderListView .preorder-list-head-specs .preorder-condition-icon svg {
  width: 19px;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.special-page #preorderListView .preorder-list-condition-trigger small,
body.special-page #preorderListView .preorder-list-fixed-condition small {
  grid-column: 1 / 3 !important;
  grid-row: 1 !important;
  color: #26364a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.special-page #preorderListView .preorder-list-condition-trigger strong,
body.special-page #preorderListView .preorder-list-fixed-condition strong {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: center !important;
  margin-top: 0 !important;
  color: #1c2e43 !important;
  font-size: 16px !important;
  white-space: nowrap;
}

body.special-page #preorderListView .preorder-list-condition-trigger > i {
  grid-column: 3 !important;
  grid-row: 1 / 3 !important;
}

body.special-page #preorderListView #listGroupImage {
  width: 100% !important;
  height: 330px !important;
  justify-self: stretch !important;
  object-fit: contain !important;
  filter: drop-shadow(0 22px 18px rgba(20, 35, 52, .12)) !important;
}

@media (max-width: 980px) {
  body.special-page #preorderListView .preorder-list-head {
    padding: 30px !important;
  }

  body.special-page #preorderListView .preorder-list-head-main {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr) !important;
    gap: 22px !important;
  }

  body.special-page #preorderListView #listGroupImage {
    height: 250px !important;
  }
}

@media (max-width: 760px) {
  body.special-page #preorderListView .preorder-list-head {
    margin: 4px 0 16px !important;
    padding: 22px 18px 20px !important;
    border-radius: 22px !important;
  }

  body.special-page #preorderListView .preorder-list-head-main {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.special-page #preorderListView .preorder-list-head-main > .preorder-list-head-copy {
    grid-row: 2 !important;
  }

  body.special-page #preorderListView #listGroupImage {
    grid-row: 1 !important;
    width: 100% !important;
    height: 190px !important;
    justify-self: center !important;
  }

  body.special-page #preorderListView .preorder-list-brandline {
    min-height: 30px;
    font-size: 15px;
  }

  body.special-page #preorderListView .preorder-list-brand-logo {
    width: 38px;
    height: 24px;
  }

  body.special-page #preorderListView .preorder-list-head-main h2 {
    margin-top: 8px !important;
    font-size: 42px !important;
  }

  body.special-page #preorderListView #listSummary {
    margin: 10px 0 20px;
    font-size: 14px;
  }

  body.special-page #preorderListView .preorder-powertrain-tabs {
    grid-auto-columns: minmax(84px, 1fr);
  }

  body.special-page #preorderListView .preorder-powertrain-tabs button {
    min-width: 84px;
    min-height: 48px;
    padding: 0 12px;
    font-size: 14px;
  }

  body.special-page #preorderListView .preorder-list-head-specs {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    margin-top: 18px !important;
  }

  body.special-page #preorderListView .preorder-list-condition-dropdown,
  body.special-page #preorderListView .preorder-list-fixed-condition,
  body.special-page #preorderListView .preorder-list-condition-trigger {
    min-height: 66px !important;
  }

  body.special-page #preorderListView .preorder-list-condition-trigger,
  body.special-page #preorderListView .preorder-list-fixed-condition {
    padding: 11px 15px !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    column-gap: 10px !important;
  }

  body.special-page #preorderListView .preorder-list-head-specs .preorder-condition-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  body.special-page #preorderListView .preorder-list-head-specs .preorder-condition-icon svg {
    width: 19px;
    height: 19px;
  }
}
