/*Hero*/
.hero__section {
  position: relative;
  z-index: 1;
  background-image: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/89F9AADC4A8ED9A4D5F5320DD18FC25E.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.hero__section .hero__wrapper {
  width: 100%;
  padding: 80px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: var(--color-theme-text);
  overflow: hidden;
  background-repeat: no-repeat;
  z-index: 2;
  position: relative;
}

.hero__section .section__title__hero {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
}

.hero__section .section__title__headline {
  font-size: 1.5rem;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.25;
  background: #fff;
  padding: 5px 10px;
  display: inline-block;
  border-radius: 4px;
}

.hero__section .section__title__headline2 {
  font-size: 3.5rem;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}

@media (max-width: 400px) {
  .hero__section .section__title__headline {
    font-size: 1rem;
  }

  .hero__section .section__title__headline2 {
    font-size: 2.5rem;
  }
}

/* Search Module */
section.inventory-search-module > .container {
  max-width: 1320px !important;
}

/* H1 - Title */
.page-home .title-heading {
  font-size: 36px;
  text-align: center;
}

/* =========================================================
   FMA INVENTORY PHOTO FULL-FIT FIX
   Keeps full picture visible — no logo/edge cutoff
   ========================================================= */

/* Make image area consistent */
ul.inventory-card-view.inventory-body > li.vehicle-card .card-img,
ul.inventory-card-view.inventory-body > li.vehicle-card .card .card-img,
ul.inventory-card-view.inventory-body > li.vehicle-card .card-img-top {
  background: #f6f8fb !important;
  overflow: visible !important;
  padding: 10px !important;
}

/* Keep carousel box same size */
ul.inventory-card-view.inventory-body > li.vehicle-card .carousel,
ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-inner,
ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-item {
  width: 100% !important;
  height: 260px !important;
  max-height: 260px !important;
  background: #f6f8fb !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

/* Show whole picture without cropping */
ul.inventory-card-view.inventory-body > li.vehicle-card img.inventory-card-img,
ul.inventory-card-view.inventory-body > li.vehicle-card .carousel img,
ul.inventory-card-view.inventory-body > li.vehicle-card .card-img img {
  width: 100% !important;
  height: 260px !important;
  max-height: 260px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f6f8fb !important;
  border-radius: 10px !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* Desktop */
@media (min-width: 921px) {
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-inner,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-item,
  ul.inventory-card-view.inventory-body > li.vehicle-card img.inventory-card-img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .card-img img {
    height: 250px !important;
    max-height: 250px !important;
  }
}

/* Tablet */
@media (max-width: 920px) {
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-inner,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-item,
  ul.inventory-card-view.inventory-body > li.vehicle-card img.inventory-card-img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .card-img img {
    height: 230px !important;
    max-height: 230px !important;
  }
}

/* Phone */
@media (max-width: 560px) {
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-inner,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-item,
  ul.inventory-card-view.inventory-body > li.vehicle-card img.inventory-card-img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .card-img img {
    height: 210px !important;
    max-height: 210px !important;
  }
}

/* =========================================================
   FMA MOBILE INVENTORY PHOTO FIX
   Keeps the full image visible
   ========================================================= */

@media (max-width: 700px) {
  /* Each vehicle card stacks cleanly */
  ul.inventory-card-view.inventory-body > li.vehicle-card .card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "image"
      "details"
      "footer" !important;
    background: #f6f8fb !important;
    overflow: hidden !important;
  }

  /* Image wrapper */
  ul.inventory-card-view.inventory-body > li.vehicle-card .card-img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .card-img-top,
  ul.inventory-card-view.inventory-body > li.vehicle-card .card .card-img {
    grid-area: image !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px !important;
    margin: 0 !important;
    background: #f6f8fb !important;
    border: none !important;
    overflow: visible !important;
  }

  /* Stable mobile photo box */
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-inner,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-item {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    background: #f6f8fb !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  /* Main mobile image fix */
  ul.inventory-card-view.inventory-body > li.vehicle-card img.inventory-card-img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel img,
  ul.inventory-card-view.inventory-body > li.vehicle-card .card-img img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background: #f6f8fb !important;
    border-radius: 10px !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
  }

  /* Keep vehicle details below the image */
  ul.inventory-card-view.inventory-body > li.vehicle-card .card-body {
    grid-area: details !important;
    position: relative !important;
    z-index: 2 !important;
    background: #f6f8fb !important;
    padding: 16px 14px 12px !important;
  }

  ul.inventory-card-view.inventory-body > li.vehicle-card .vehicle-card-footer {
    grid-area: footer !important;
    position: relative !important;
    z-index: 2 !important;
    background: #f6f8fb !important;
    padding: 10px 14px 14px !important;
  }
}

/* Extra small iPhones */
@media (max-width: 430px) {
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-inner,
  ul.inventory-card-view.inventory-body > li.vehicle-card .carousel-item {
    aspect-ratio: 16 / 10.5 !important;
  }
}

/* =========================================================
   FMA MOBILE ONLY - HIDE BOTTOM CALL / EMAIL BAR SAFELY
   Leaves homepage and Chat With Us visible
   ========================================================= */

@media (max-width: 800px) {
  .mobile-sticky-contact,
  .mobile-bottom-contact,
  .mobile-cta-bar,
  .sticky-contact-bar,
  .bottom-contact-bar,
  .lead-sticky-bar,
  .vdp-sticky-navigation,
  .vehicle-sticky-navigation,
  .inventory-sticky-navigation {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}