/************************
   VDP
************************/
@media(min-width: 768px) {
.pageid-ivd .specifics-container .specifics-label {
    margin-right: 12px;
}
}

.pageid-dld .location::before {
    content: "LBSi Automotive ";  
    font-weight: bold; 
    margin-right: 4px;  
    display: block;
}

/************************
   FORM
************************/
.form-control.form-control {
    height: 50px;
}
.trade-in-form .selectedItem-active {
   color: black;
}

ul {
  list-style-type: disc; 
}


/************************
   NAVBAR LOGO
************************/
@media(min-width: 768px) {
.navbar-fixed-spacer {
    height: 68px;
}
}

/************************
   HOMEPAGE MISC
************************/
.learn-more-container {
  text-align: center;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  text-decoration: none;
  color: #007bff; 
}

.learn-more:hover {
  text-decoration: none; 
}

.learn-more i {
  transition: transform 0.3s ease;
}

.learn-more:hover i {
  transform: translateX(6px); /* move chevron right */
}

/************************
   HERO HOMEPAGE
************************/
@media(min-width: 768px) {
.page-content-element:has(.hero-ql-bttns) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)!important;
    width: max-content;
}
.carousel-fade .carousel-control {
    font-size: 34px;
}
}

/************************
   NAVBAR LOGO
************************/
@media(min-width: 768px) {
a.navbar-brand > img {
    max-width: 395px !important;
    padding: 0px;
}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
a.navbar-brand > img {
    max-width: 300px !important;
}
}

@media (max-width: 767.98px) {
    .navbar-header a.navbar-brand img {
        padding: 8px 0px;
    }
}

.inv-badges {
    top: 3rem !important;
}


/************************
   INVENTORY LIST DESIGN
************************/

.inventory-price-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  min-height: 63px;
  padding: 10px;
  gap: 0;
}

/* INTERNET PRICE GROUP */
.inventory-price-container > div:nth-child(1),
.inventory-price-container > div:nth-child(2) {
  grid-column: 1;
}

.inventory-price-container > div:nth-child(1) {
  grid-row: 1;
  text-align: center;
  margin-bottom: 4px;
}

.inventory-price-container > div:nth-child(2) {
  grid-row: 2;
  text-align: center;
  font-size: 20px !important;
  font-weight: bold;
}

/* DOWN PAYMENT GROUP */
.inventory-price-container > div:nth-child(3),
.inventory-price-container > div:nth-child(4) {
  grid-column: 2;
}

.inventory-price-container > div:nth-child(3) {
  grid-row: 1;
  text-align: center;
  margin-bottom: 4px;
}

.inventory-price-container > div:nth-child(4) {
  grid-row: 2;
  text-align: center;
  font-size: 20px !important;
  font-weight: bold;
}

/* MOBILE FIXED */
@media (max-width: 600px) {
  .inventory-price-container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .inventory-price-container > div {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 8px;
  }
}

/* HANDLE CASE: Only Internet Price, no Down Payment */
.inventory-price-container:not(:has(div:nth-child(3))) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.inventory-price-container:not(:has(div:nth-child(3))) > div {
  text-align: center !important;
  margin-bottom: 6px;
}


.inventory-price-container > div:nth-child(2), .inventory-price-container > div:nth-child(4) {
    background-color: #fff;
    margin: 0 2rem;
}

.inventory-price-container > div:nth-child(2) > b, .inventory-price-container > div:nth-child(4) > b {
    color: #000;
}

.inventory-price-container:not(:has(div:nth-child(3))) > div {
    padding: 0 2rem;
}