/*************************
    INVENTORY LIST DESIGN
*************************/
.inventory-details .preamble,
.inventory-details .transmission,
.inventory-details .engine,
.inventory-details .driveTrain {
    display: inline-block;
    width: 50%;
    margin-bottom: 4px;
}


.element-type-inventorylistprice {
    background-color: #2f2f2f;
    border: 1px solid #000000;
    border-color: var(--clr-primary-300);
}

.flex-container-features {
    background-color: #2f2f2f;
    border: 1px solid #000000;
    min-height: 70px;
    justify-content: center;
    border-color: var(--clr-primary-300);
}
.flex-item-features {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.inventory-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


.call-us-inv {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid white;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    line-height: 1.5;
gap: 4px;
}
.call-us-inv:hover,
.call-us-inv:focus,
.call-us-inv:active {
    text-decoration: none;
}

.pre-qual-bttn {
    width: 100%;
    padding: 8px 16px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center; 
    justify-content: center;
background-color: var(--clr-primary-300);
    border-color: var(--clr-primary-300);
    color: var(--clr-neutral-100);
    border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pre-qual-bttn:hover,
.pre-qual-bttn:focus,
.pre-qual-bttn:active {
    background-color: var(--clr-primary-400);
    border-color: var(--clr-primary-400);
    text-decoration: none;
}

.inventory-report-updated img {
    scale: 1.5;
}
.inventory-details {
    font-size: smaller;
}

.flex-item-features {
    flex: auto;
}
.inventory-photo-column .swiper-button-next, .swiper-button-prev {
    background-color: transparent;
}
.inventory-photo-column .swiper-button-next:after, 
.inventory-photo-column .swiper-button-prev:after {
    font-size: 32px!important;
}
.am-inv-row-3 {
    padding-bottom: 10px;
}

.btn-check-availability {
    width: 100%;
    padding: 8px 16px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.specifics-value {
    line-height: 2;
}

@media(min-width: 768px) {
.element-type-inventorylisttitle .vehicle-label {
min-height: 72px !important;
}
}

/*************************
    FOOTER
*************************/
div.footer-container a {
    font-size: 16px;
    font-weight: 500;
}

/*************************
    HOMEPAGE BACK
*************************/
.back-pos-center {
    background-position: center;
}
.back-pos-center .btn {
    margin-inline: auto!important;
}
.back-pos-center hr {
    margin-top: 10px;
    width: 100px;
    border-top: 3px solid var(--clr-primary-400);
}

/*************************
    HERO
*************************/
.carousel-control {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-container {   
    display: flex;
    justify-content: center;
}
.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    width: max-content;
    border-radius: 12px;
   width: 100%;
}
a.segment-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--clr-primary-300);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
    min-width: 200px;
}
a.segment-button:hover {
  background-color: var(--clr-primary-400);
}
@media (min-width: 768px) {
a.segment-button {
  max-width: 250px;
}
.button-group {
    flex-direction: row;
    padding: 15px;
    width: max-content;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}
.carousel-control {
    font-size: 32px;
}
}

/*************************
    CUSTOM BANNER BACKGROUND
*************************/
.cus-banner {
  position: relative;
  background:
    linear-gradient(27deg, #151515 2.5px, transparent 2.5px) 0 2.5px,
    linear-gradient(207deg, #151515 2.5px, transparent 2.5px) 5px 0px,
    linear-gradient(27deg, #222 2.5px, transparent 2.5px) 0px 5px,
    linear-gradient(207deg, #222 2.5px, transparent 2.5px) 5px 2.5px,
    linear-gradient(90deg, #1b1b1b 5px, transparent 5px),
    linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
  background-color: #131313;
  background-size: 10px 10px;
  z-index: 0;
  overflow: hidden;
}

/* Hide overlay by default (mobile) */
.cus-banner::after {
  content: '';
  display: none;
}

/* Tablet/Desktop: show slanted white split */
@media (min-width: 768px) {
  .cus-banner::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 1;
    clip-path: polygon(52% 0, 100% 0, 100% 100%, 48% 100%);
  }
}

/*************************
    CUSTOM BANNER
*************************/
.banner-container {
    padding: 0px;
}

.cus-banner img {
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 1));
}
.cus-banner .container {
    position: relative;
    z-index: 2;
}

.content {
    text-align: center;
}
.content hr {
    margin-top: 10px;
    width: 100px;
    border-top: 3px solid var(--clr-primary-400);
}
.content i {
    color: var(--clr-primary-300);
}

.content,
.content h2,
.content a {
    color: #fff;
}
@media (min-width: 768px) {
.content,
.content h2,
.content a {
    color: #121212;
}
}


/*************************
    NAVBAR
*************************/
.navbar {
    z-index: 99!important;
}

.navbar-default {
    background-color: #4e4a50;
    border-color: #4e4a50;
    background-image: none;
}

a.menu-heading,
a.navbar-brand {
        font-weight: 300;
}

.navbar-fixed-spacer {
    height: 52px;
}

@media (min-width: 768px) {
    .navbar-center {
    width: max-content;
    }
    .navbar-nav, a.navbar-brand:has(.fa-home) {
        margin-block-start: .0px;
        margin-block-end: .0px;
}
}

/*************************
    FORM
*************************/
.element-type-inventorysearchform button,
.form-control.form-control {
    min-height: 50px;
}

/*************************
    CARD HOMEPAGE
*************************/
  .card {
    background-color: #0f0f12;
    border-radius: 8px;
    overflow: hidden;
    width:100%;
    display: block;
    color: #fff;
  }

  /* Image (top on mobile) */
  .card__img {
    width:100%;
    height: 210px;
    object-fit: cover;
    display: block;
  }

  .card__body {
    padding: 16px;
  }
  .card__title {
    margin: 0 0 8px 0;
    font-size: 1.125rem; 
    line-height: 1.2;
  }
  .card__text {
    margin: 0 0 14px 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.95rem;
  }

  .card__actions {
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
  }

  .card__btn {
    display:flex;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    background: #fff;
    color: #121212;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 12px rgba(37,99,235,0.12);
  }

  .card__secondary {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
  }

  @media (min-width: 992px){
    .card {
      display: flex; 
      gap: var(--gap);
      align-items: stretch;
    }
    .card__img {
      width: 40%;        
      height: auto;           
      min-width: 220px;       
      max-height: 420px;
      object-position: center;
    }
    .card__body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: center; 
    }
    .card__title { font-size: 1.25rem; }
  }
.card__btn:hover,
.card__btn:active,
  .card__btn:focus,
  .card__secondary:focus {
    outline: 3px solid rgba(37,99,235,0.18);
    outline-offset: 2px;
    text-decoration: none;
    color: #121212;
  }

.vehiclepricebutton .palette-box1 {
    color: #fff;
    background-color: #df0e0e;
    border-color