/*************************
  Sell us your car
*************************/
.font-color-for-active {
    color: #121212;
}

/*************************
    INVENTORY LIST DESIGN - carfax
*************************/
.carfax-snapshot-hover a {
  font-size: 0;
}
@media (max-width: 767.98px) {
.row-flex-badge {
    margin-top: 10px!important;
    display: flex;
    justify-content: space-between;
}
}

/*************************
    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;
}

.carfaxreport .inventory-report-updated img {
    scale: 1;
}
.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: 14px;
    font-weight: 500;
}

@media (min-width: 768px) {
div.footer-container a {
    font-size: 16px;
}
}

/*************************
    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


.carfax-report {
    display: block;
    margin: 13px -2px !important;
    background-position: 50% 0;
    background-repeat: no-repeat;
}
}



/* ==========================
   VDP PRICE DISPLAY
   ========================== */

/* ===== HIDE ORIGINAL SALES PRICE ===== */

.vehicle-details-panel .internetlabel,
.vehicle-details-panel .internetvalue {
    display: none !important;
}


/* ===== HIDE ALL GENERATED FEES ===== */

.vehicle-details-panel .disclosedfeelabel,
.vehicle-details-panel .disclosedfeevalue {
    display: none !important;
}


/* ===== HIDE THEIR EMPTY WRAPPERS ===== */

.vdp-price-breakdown-group {
    display: none !important;
}


/* ===== HIDE SYSTEM DISCLAIMER ON PAGE ===== */

.vehicle-details-panel .feedisclaimer,
.vdp-disclaimer-source {
    display: none !important;
}


/* ===== HIDE EMPTY PRICE HEADING ===== */

.element-heading-price {
    display: none !important;
}


/* ==========================
   TOTAL PRICE GROUP
   ========================== */

.vdp-total-price-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
}


/* ==========================
   TOTAL PRICE LABEL
   ========================== */

.vehicle-details-panel .purchasepricelabel {
    display: block !important;

    width: 100% !important;

    margin: 0 0 3px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 0 !important;
    font-weight: 600 !important;

    line-height: 1.2 !important;

    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.vehicle-details-panel .purchasepricelabel::after {
    content: "Total Price";

    font-size: 13px;
}


/* ==========================
   TOTAL PRICE VALUE
   ========================== */

.vehicle-details-panel .purchasepricevalue {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 30px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    text-align: center !important;
}


/* ==========================
   PRICING DETAILS LINK
   ========================== */

.vdp-pricing-trigger {
    display: block !important;

    width: 100% !important;

    margin: 7px 0 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 500 !important;

    line-height: 1.3 !important;

    text-align: center !important;
    text-decoration: underline;

    cursor: pointer;

    opacity: 0.85;
}

.vdp-pricing-trigger:hover {
    opacity: 1;
}


/* ==========================
   PRICING MODAL OVERLAY
   ========================== */

.vdp-pricing-overlay {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.7);

    box-sizing: border-box;
}

.vdp-pricing-overlay.is-open {
    display: flex;
}


/* ==========================
   PRICING MODAL
   ========================== */

.vdp-pricing-modal {
    width: 100%;
    max-width: 500px;

    overflow: hidden;

    background: #ffffff;

    border-radius: 8px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);

    color: #222222;
}


/* ==========================
   MODAL HEADER
   ========================== */

.vdp-pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;

    background: #202124;

    border-bottom: 3px solid #d71920;
}

.vdp-pricing-title {
    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
}

.vdp-pricing-close {
    padding: 0;

    background: transparent;
    border: 0;

    color: #bbbbbb;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}

.vdp-pricing-close:hover {
    color: #ffffff;
}


/* ==========================
   MODAL BODY
   ========================== */

.vdp-pricing-body {
    padding: 12px 18px 16px;
}


/* ==========================
   MODAL PRICE ROWS
   ========================== */

.vdp-pricing-row {
    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    align-items: center;

    gap: 20px;

    padding: 9px 0;

    border-bottom: 1px solid #dddddd;
}

.vdp-pricing-label {
    color: #333333;

    font-size: 14px;
    line-height: 1.35;
}

.vdp-pricing-value {
    color: #222222;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;
}


/* ==========================
   MODAL TOTAL PRICE
   ========================== */

.vdp-pricing-row.total {
    padding-top: 12px;

    border-bottom: 0;
}

.vdp-pricing-row.total .vdp-pricing-label {
    font-size: 15px;
    font-weight: 700;
}

.vdp-pricing-row.total .vdp-pricing-value {
    color: #d71920;

    font-size: 21px;
    font-weight: 700;
}


/* ==========================
   MODAL DISCLAIMER
   ========================== */

.vdp-pricing-disclaimer {
    margin-top: 9px;
    padding-top: 10px;

    border-top: 1px solid #dddddd;

    color: #666666;

    font-size: 12px;
    line-height: 1.45;

    text-align: center;
}


/* ==========================
   MOBILE
   ========================== */

@media (max-width: 767px) {

    .vehicle-details-panel .purchasepricelabel::after {
        font-size: 12px;
    }

    .vehicle-details-panel .purchasepricevalue {
        font-size: 27px !important;
    }

    .vdp-pricing-overlay {
        padding: 12px;
    }

    .vdp-pricing-header {
        padding: 12px 14px;
    }

    .vdp-pricing-body {
        padding: 9px 14px 13px;
    }

    .vdp-pricing-row {
        gap: 12px;
        padding: 8px 0;
    }
}