/* Header + hero alignment / responsive fixes for dealer clone */

/* --- Desktop header --- */
#header_v13 {
  background: #fff !important;
  position: relative;
  z-index: 100;
}
#header_v13 .toplink {
  background-color: #353535 !important;
  min-height: 30px !important;
  width: 100% !important;
  float: none !important;
}
#header_v13 .menu-header {
  background-color: transparent !important;
  min-height: 95px !important;
  width: 100% !important;
}
#header_v13 .logo {
  max-width: 400px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 107px !important;
  min-height: 107px !important;
  left: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
/* Never show both mobile + desktop logos at once */
#header_v13 .logo.hidden-md {
  display: none !important;
}
@media only screen and (max-width: 900px) {
  #header_v13 .logo.hidden-xs {
    display: none !important;
  }
  #header_v13 .logo.hidden-md {
    display: flex !important;
  }
}
#header_v13 .logo .navbar-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 12px !important;
}
#header_v13 .logo img {
  width: auto !important;
  max-width: calc(100% - 16px) !important;
  max-height: 44px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Location top bar removed */
#header_v13 .toplink {
  display: none !important;
}
#header_v13 .contact_number {
  display: block !important;
  text-align: right !important;
  padding-top: 12px !important;
  padding-right: 15px !important;
}
#header_v13 .contact_number .hdr-mob {
  display: none !important;
}
#header_v13 .contact_number > p.lg-numb a,
#header_v13 .contact_number > p > a {
  color: #6080b1 !important;
  font-size: 40px !important;
  font-family: FuturaBtMedium, "Roboto Condensed", Helvetica, Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -2px !important;
  text-decoration: none !important;
  line-height: 1.1 !important;
}
#header_v13 .top-navigation {
  width: 100% !important;
}
@media only screen and (min-width: 901px) {
  #header_v13 .top-navigation {
    display: block !important;
  }
}
#header_v13 .top-navigation > ul {
  text-align: right !important;
  padding-right: 10px !important;
}
#header_v13 .top-navigation > ul > li {
  display: inline-block !important;
  width: auto !important;
  float: none !important;
}
#header_v13 .top-navigation ul li a {
  color: #555 !important;
  font-size: 12px !important;
  padding: 10px 10px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-top: 1px solid #dfdfdf !important;
  display: inline-block !important;
  width: auto !important;
  background: transparent !important;
}
#header_v13 .top-navigation ul li:hover > a,
#header_v13 .top-navigation ul li.active > a {
  color: #000 !important;
  background: transparent !important;
}
#header_v13 .humberger {
  display: none !important;
}
#header_v13 .hidden-xs {
  display: block !important;
}
#header_v13 .hidden-md {
  display: none !important;
}
#header_v13 .mobiletopdiv {
  display: none !important;
}
#header_v13 .top-navigation ul li .sub-menu.mega_menu {
  width: 100% !important;
  max-width: 1170px !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  background: #fff !important;
  z-index: 1200 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}
@media only screen and (min-width: 901px) {
  #header_v13 .pac-mbar {
    display: none !important;
  }
  #foot-bar {
    display: none !important;
  }
  body.dealer-site {
    padding-bottom: 0 !important;
  }
  #header_v13 .top-navigation,
  #header_v13 .top-navigation.menu-mobile {
    display: block !important;
    position: relative !important;
    height: auto !important;
    background: transparent !important;
  }
  #header_v13 .top-navigation {
    position: relative !important;
  }
  #header_v13 .top-navigation ul li.dropdown,
  #header_v13 .top-navigation ul li.sub {
    position: static !important;
  }
  /* Default closed — beat dealer “hide on hover” mobile rules on desktop */
  #header_v13 .top-navigation ul li.dropdown > .sub-menu,
  #header_v13 .top-navigation ul li.sub > .sub-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
  }
  #header_v13 .top-navigation ul li.dropdown > .sub-menu::before,
  #header_v13 .top-navigation ul li.sub > .sub-menu::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -20px !important;
    height: 20px !important;
    background: transparent !important;
    pointer-events: auto !important;
  }
  /* Open via JS class — avoids :hover gap blink with absolute mega menu */
  #header_v13 .top-navigation ul li.dropdown.is-open > .sub-menu,
  #header_v13 .top-navigation ul li.sub.is-open > .sub-menu,
  #header_v13 .top-navigation ul li.dropdown:focus-within > .sub-menu,
  #header_v13 .top-navigation ul li.sub:focus-within > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  /* Neutralize any leftover “hide submenu on hover” from complete.css */
  #header_v13 .top-navigation ul li.dropdown.is-open:hover > .sub-menu,
  #header_v13 .top-navigation ul li.sub.is-open:hover > .sub-menu {
    display: block !important;
  }
}


/* --- Hero / banner --- */
#banner_v21 {
  position: relative;
  overflow: hidden;
}
#banner_v21 .banner-wrap {
  min-height: 0 !important;
  height: auto !important;
  position: relative;
  overflow: hidden;
}
/* Owl hides .owl-carousel until .owl-loaded — show hero immediately */
#banner_v21 #heroImage_v21,
#banner_v21 #heroImage_v21.owl-carousel {
  display: block !important;
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#banner_v21 #heroImage_v21 .owl-stage-outer {
  overflow: hidden;
}
#banner_v21 .banner-wrap .item {
  background-image: url("/dealer/hero-banner.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #1a1a1a;
  width: 100% !important;
  height: 0 !important;
  min-height: 0 !important;
  padding-top: 41% !important;
  position: relative;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#banner_v21 .banner-wrap .item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.35) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
#banner_v21 #heroImage_v21:not(.owl-loaded) > .item {
  width: 100% !important;
}
#banner_v21 #heroImage_v21:not(.owl-loaded) > .item:not(:first-child) {
  display: none !important;
}
#banner_v21 #heroImage_v21 .owl-item {
  float: left !important;
  display: block !important;
  width: 100% !important;
  opacity: 1 !important;
}
#banner_v21 #heroImage_v21 .owl-item.active .item,
#banner_v21 #heroImage_v21 > .item {
  opacity: 1 !important;
  visibility: visible !important;
}
#banner_v21 .banner-title.webbs-banner-title {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
  transform: none !important;
  z-index: 2;
}
#banner_v21 .webbs-banner-title .banner-title-heading {
  max-width: 100% !important;
  margin: 0 auto !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  border-top: 1px solid #999 !important;
  text-align: center !important;
  padding: 28px 20px 32px !important;
}
#banner_v21 .banner-title-heading h2 {
  color: #fff !important;
  padding-bottom: 15px !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-family: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}
#banner_v21 .banner-info {
  padding-bottom: 20px !important;
  color: #fff !important;
  font-family: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
#banner_v21 .banner-info p {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
#banner_v21 .btn.btn-outline.details_btn {
  color: #fff !important;
  background-color: transparent !important;
  border: 2px solid #fff !important;
  border-radius: 0 !important;
  height: 45px !important;
  font-size: 16px !important;
  letter-spacing: 2px !important;
  display: inline-block !important;
  line-height: 41px !important;
  padding: 0 28px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}
#banner_v21 .btn.btn-outline.details_btn:hover {
  background-color: #000 !important;
  color: #fff !important;
}
#banner_v21 .innerWhiteBox.webbe-search-bar.tabing_form {
  display: none !important;
}

/* --- Tablet --- */
@media only screen and (max-width: 1100px) {
  #header_v13 .logo {
    max-width: 280px !important;
  }
  #header_v13 .logo img {
    width: 280px !important;
  }
  #header_v13 .contact_number > p.lg-numb a,
  #header_v13 .contact_number > p > a {
    font-size: 32px !important;
  }
  #header_v13 .top-navigation ul li a {
    padding: 10px 6px !important;
    font-size: 11px !important;
  }
}

/* --- Mobile — Prestige clean bar (Call | Logo | Menu) + dealer slide panel --- */
@media only screen and (max-width: 900px) {
  body.dealer-site {
    padding-top: 0 !important;
    padding-bottom: 56px !important;
  }
  #header_v13 .toplink.hidden-xs {
    display: none !important;
  }

  /* Hide broken dealer phone stack — replaced by .pac-mbar */
  #header_v13 .mobiletopdiv,
  #header_v13.has-pac-mbar .mobiletopdiv,
  body.dealer-site #header_v13 .mobiletopdiv {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }

  /* Kill dealer absolute logo chrome when using pac-mbar */
  #header_v13 .pac-mbar .logo::after,
  #header_v13.has-pac-mbar .pac-mbar .logo::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
  }

  /* Clean 3-slot mobile bar */
  #header_v13 .pac-mbar {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    align-items: center !important;
    justify-items: center !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #fff !important;
    position: relative !important;
    z-index: 30 !important;
  }
  #header_v13 .pac-mbar__call,
  #header_v13 .pac-mbar__menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111 !important;
    text-decoration: none !important;
  }
  #header_v13 .pac-mbar__logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    height: 56px !important;
    overflow: hidden !important;
  }
  #header_v13 .pac-mbar__logo .logo,
  #header_v13 .pac-mbar__logo .logo.hidden-md {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    float: none !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #header_v13 .pac-mbar__logo .navbar-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #header_v13 .pac-mbar__logo img {
    display: block !important;
    width: auto !important;
    max-width: min(180px, 70vw) !important;
    height: auto !important;
    max-height: 22px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
  #header_v13 .pac-mbar__call .fa {
    font-size: 20px !important;
    line-height: 1 !important;
    color: #111 !important;
    display: block !important;
  }
  #header_v13 .pac-mbar__menu .humberger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 1 !important;
  }
  #header_v13 .humberger svg {
    width: 24px !important;
    height: 20px !important;
  }
  #header_v13 .humberger .cut {
    display: none !important;
  }
  #header_v13 .humberger span:not(.cut) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #header_v13 .humberger svg,
  #header_v13 .humberger svg path,
  #header_v13 .humberger g {
    fill: #333 !important;
    stroke: #333 !important;
  }

  #header_v13 .logo.hidden-xs {
    display: none !important;
  }
  #header_v13 .contact_number {
    display: none !important;
  }
  #header_v13 .header-main {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    text-align: center !important;
  }
  #header_v13 .header-main > .header-color,
  #header_v13 .header-main > .toplink {
    display: none !important;
  }
  #header_v13 .menu-header {
    min-height: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    width: 100% !important;
    overflow: visible !important;
    display: block !important;
  }
  #header_v13 .menu-header > .container-center {
    min-height: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }
  #header_v13 .top-wrap {
    background: #fff !important;
    min-height: 56px !important;
    height: auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1080 !important;
    width: 100% !important;
    margin-top: 0 !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
  }

  /* Bottom sticky nav — white chrome, sitewide */
  #foot-bar,
  #foot-bar.pac-foot-bar {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    z-index: 99990 !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e8ec !important;
    box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.08) !important;
  }
  /* Hide dump duplicates — layout FootBar (.pac-foot-bar) is the single source */
  .dealer-home-clone #foot-bar,
  .dealer-findus-clone #foot-bar,
  .dealer-finance-clone #foot-bar,
  .dealer-warranty-clone #foot-bar,
  .dealer-sell-clone #foot-bar,
  .dealer-booktestdrive-clone #foot-bar,
  .dealer-testimonials-clone #foot-bar,
  .dealer-testimonials-add-clone #foot-bar,
  .dealer-details-clone #foot-bar,
  .dealer-booktestdrive-detail-clone #foot-bar,
  header + #foot-bar,
  #header_v13 ~ #foot-bar,
  #foot-bar:not(.pac-foot-bar) {
    display: none !important;
  }
  body > #foot-bar.pac-foot-bar {
    display: block !important;
  }
  #foot-bar .foot-bar {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  #foot-bar .foot-bar_listitem {
    flex: 1 !important;
    margin: 0 !important;
  }
  #foot-bar .foot-bar_link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    min-height: 56px !important;
    color: #2a2f36 !important;
    font-size: 18px !important;
    text-decoration: none !important;
    padding: 8px 4px !important;
  }
  #foot-bar .foot-bar_link .fa {
    margin: 0 !important;
    color: #6080b1 !important;
    font-size: 20px !important;
  }
  #foot-bar .foot-bar_label {
    font-size: 10px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #555 !important;
    font-family: "Roboto Condensed", Helvetica, Arial, sans-serif !important;
    line-height: 1.1 !important;
  }
  body.dealer-site {
    padding-bottom: 60px !important;
  }

  /* Closed by default — height must NOT be !important so slideToggle can animate */
  #header_v13 .top-navigation,
  #header_v13 .top-navigation.menu-mobile {
    display: none !important;
    position: static !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    height: auto;
    min-height: 0 !important;
    max-height: none !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: hidden;
    z-index: 1080 !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }
  #header_v13 .top-navigation.menu-mobile.open-nav,
  body.menu-open #header_v13 .top-navigation.menu-mobile {
    display: block !important;
  }
  #header_v13 .top-navigation.menu-mobile > ul {
    display: block !important;
    width: 100% !important;
    padding: 15px 15px 0 !important;
    text-align: center !important;
    line-height: 35px !important;
  }
  #header_v13 .top-navigation.menu-mobile > ul > li {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border-bottom: none !important;
    text-align: center !important;
    position: relative !important;
  }
  #header_v13 .top-navigation.menu-mobile ul li a {
    display: block !important;
    width: 100% !important;
    padding: 0 28px !important;
    border-top: none !important;
    border-left: none !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    color: #555 !important;
    background: transparent !important;
    font-family: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  }
  #header_v13 .top-navigation.menu-mobile .mobile-dd {
    float: none !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #555 !important;
    width: 23px !important;
    height: 23px !important;
    line-height: 23px !important;
    text-align: center !important;
    cursor: pointer !important;
  }
  #header_v13 .top-navigation.menu-mobile > ul > li > .sub-menu {
    display: none;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    background: #fff !important;
    padding: 0 !important;
    text-align: center !important;
  }
  #header_v13 .top-navigation.menu-mobile > ul > li.open > .sub-menu {
    display: block !important;
  }
  #header_v13 .top-navigation.menu-mobile > ul > li .sub-menu li a {
    color: #31323a !important;
    padding: 0 16px !important;
    border-bottom: 1px solid #ddd !important;
    text-align: center !important;
    justify-content: center !important;
  }
  #header_v13 .top-navigation.menu-mobile > ul > li .sub-menu .sub-menu_v1 li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 12px !important;
  }
  #header_v13 .top-navigation.menu-mobile > ul > li .sub-menu .sub-menu_v1 li a .icon_item {
    margin: 0 auto !important;
  }
  #header_v13 .top-navigation.menu-mobile > ul > li .sub-menu .sub-menu_v1 li a span {
    text-align: center !important;
  }
  #header_v13 .top-navigation.menu-mobile .toplink.hidden-md {
    display: block !important;
    padding-top: 0 !important;
    padding-bottom: 20px !important;
    background: #fff !important;
    background-color: #fff !important;
    text-align: center !important;
  }
  #header_v13 .top-navigation.menu-mobile .toplink.hidden-md ul,
  #header_v13 .top-navigation.menu-mobile .toplink.hidden-md li,
  #header_v13 .top-navigation.menu-mobile .toplink.hidden-md .phone,
  #header_v13 .top-navigation.menu-mobile .toplink.hidden-md .phone-number {
    background: transparent !important;
    text-align: center !important;
    float: none !important;
    display: inline-block !important;
  }
  #header_v13 .top-navigation.menu-mobile .toplink.hidden-md a {
    color: #555 !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
  }
  #header_v13 .top-navigation.menu-mobile .toplink .social-icon {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
    padding-top: 8px !important;
  }
  #header_v13 .top-navigation.menu-mobile .toplink .social-icon li {
    float: none !important;
    display: inline-block !important;
  }
  #header_v13 .sticky .sticky-phone {
    display: none !important;
  }

  #banner_v21 .banner-wrap .item {
    padding-top: 41% !important;
    min-height: 0 !important;
    height: auto !important;
  }
  #banner_v21 .banner-title.webbs-banner-title {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
  }
  #banner_v21 .owl-item {
    float: left !important;
  }
  #banner_v21 .banner-title-heading h2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    padding-bottom: 4px !important;
  }
  #banner_v21 .webbs-banner-title .banner-title-heading {
    padding: 6px 10px !important;
  }
  #banner_v21 .banner-info {
    padding-bottom: 6px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  #banner_v21 .btn.btn-outline.details_btn {
    height: 26px !important;
    line-height: 24px !important;
    font-size: 13px !important;
    padding: 0 14px !important;
    border-width: 1px !important;
  }
}

@media only screen and (max-width: 600px) {
  #banner_v21 .banner-wrap .item {
    padding-top: 41% !important;
    min-height: 0 !important;
  }
  #banner_v21 .banner-title-heading h2 {
    font-size: 16px !important;
  }
}

/* --- Mega menu brand rows: logo + text vertically centered --- */
#header_v13 .top-navigation ul li .sub-menu .sub-menu_v1 li a.mega-brand-link,
#header_v13 .top-navigation ul li .sub-menu .sub-menu_v1 li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px 10px 8px !important;
  line-height: 1.2 !important;
  position: relative !important;
  box-sizing: border-box !important;
}
/* Dealer template draws a FontAwesome chevron via :before — hide it; we use logos */
#header_v13 .top-navigation ul li .sub-menu .sub-menu_v1 li a:before,
#header_v13 .top-navigation ul li .sub-menu .sub-menu_v1 li a.mega-brand-link:before {
  content: none !important;
  display: none !important;
}
#header_v13 .top-navigation ul li .sub-menu .sub-menu_v1 li a .icon_item {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  flex: 0 0 28px !important;
  margin: 0 !important;
  vertical-align: middle !important;
  display: block !important;
}
#header_v13 .top-navigation ul li .sub-menu .sub-menu_v1 li a span {
  flex: 1 1 auto !important;
  text-align: left !important;
}

/* --- Sticky: compact .sticky_navbar (matches live header_v13) --- */
@media only screen and (min-width: 901px) {
  /* Hide the main header logo/phone while sticky — only sticky bar logo shows */
  #header_v13.is-sticky .menu-header > .container-center > .logo,
  #header_v13.is-sticky .menu-header > .container-center > .contact_number,
  #header_v13 .menu-header:has(.sticky_navbar.sticky) > .container-center > .logo,
  #header_v13 .menu-header:has(.sticky_navbar.sticky) > .container-center > .contact_number {
    display: none !important;
  }

  #header_v13 .sticky_navbar.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1080 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    animation: smoothScroll 0.55s forwards;
    -webkit-animation: smoothScroll 0.55s forwards;
  }
  #header_v13 .sticky_navbar.sticky .sticky-phone {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 56px !important;
    background-color: #111 !important;
    text-align: center !important;
    position: relative !important;
  }
  #header_v13 .sticky_navbar.sticky .sticky-phone > .container-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    position: relative !important;
    padding: 0 20px !important;
  }
  #header_v13 .sticky_navbar.sticky .search_icon {
    display: none !important;
  }
  #header_v13 .sticky_navbar.sticky .sticky_logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    max-width: 340px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    text-align: center !important;
    z-index: 2 !important;
  }
  #header_v13 .sticky_navbar.sticky .sticky_logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #header_v13 .sticky_navbar.sticky .sticky_logo img {
    max-width: 300px !important;
    width: auto !important;
    height: auto !important;
    max-height: 30px !important;
    display: block !important;
    margin: 0 auto !important;
  }
  #header_v13 .sticky_navbar.sticky .top-info-contact {
    display: flex !important;
    align-items: center !important;
    position: absolute !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
    padding: 0 !important;
    float: none !important;
    margin: 0 !important;
  }
  #header_v13 .sticky_navbar.sticky .top-info-contact a {
    color: #fff !important;
    text-decoration: none !important;
    margin-left: 16px !important;
    font-size: 14px !important;
  }
  /* Live sticky: white nav, links on the right */
  #header_v13 .sticky_navbar.sticky .top-navigation {
    display: block !important;
    background-color: #fff !important;
    text-align: right !important;
    width: 100% !important;
  }
  #header_v13 .sticky_navbar.sticky .top-navigation > ul {
    text-align: right !important;
    padding: 0 20px 0 10px !important;
  }
  #header_v13 .sticky_navbar.sticky .top-navigation > ul > li > a {
    color: #555 !important;
    border-top: 1px solid #dfdfdf !important;
    background: transparent !important;
  }
  #header_v13 .sticky_navbar.sticky .top-navigation > ul > li:hover > a,
  #header_v13 .sticky_navbar.sticky .top-navigation > ul > li.active > a {
    color: #000 !important;
  }
  #header_v13 .sticky_navbar.sticky .top-navigation ul li.dropdown.is-open > .sub-menu,
  #header_v13 .sticky_navbar.sticky .top-navigation ul li.sub.is-open > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
@keyframes smoothScroll {
  from {
    transform: translateY(-50px);
  }
  to {
    transform: translateY(0);
  }
}
@media only screen and (max-width: 900px) {
  #header_v13 .sticky_navbar.sticky .sticky-phone {
    display: none !important;
  }
}

/* Stocklist results banner (mirrors live /results/) */
.stock-list {
  background: url(/dealer/images/stock-list_bg_v5.jpg) center bottom / cover no-repeat !important;
  display: block;
  padding: 77px 0 0;
  position: relative;
  min-height: 320px;
}
.stock-list .topic-title {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.stock-list-tab-btn {
  padding-top: 160px !important;
}
@media only screen and (max-width: 767px) {
  .stock-list {
    min-height: 180px;
    padding-top: 30px;
  }
  .stock-list-tab-btn {
    padding-top: 40px !important;
  }
  .stock-list .topic-title {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
}

/* Product details — mirror live view-183 layout gaps */
.top-ban-detailBox {
  display: block;
  width: 100%;
}
.productSlider {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 420px;
}
.productSlider .slidermain-box {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 15px 40px;
}
.productSlider .product-slideBox img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
  display: block;
}
.dealer-detail-nav button {
  position: absolute;
  top: 45%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  background: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.dealer-detail-nav .prev { left: 20px; }
.dealer-detail-nav .next { right: 20px; }
.dealer-detail-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 0;
}
.dealer-detail-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}
.dealer-detail-thumbs button.is-active {
  border-color: #6080b1;
}
.dealer-detail-thumbs img {
  width: 88px;
  height: 60px;
  object-fit: cover;
  display: block;
}
/* Details page layout comes from viewstyle.min.css — do not override buttons/finance here. */
@media only screen and (max-width: 900px) {
  .productSlider {
    min-height: 280px;
  }
}
