﻿/***********************************************
 Infinite List
***********************************************/
.loader-ellips-infinite-list {
    font-size: 20px;
    position: relative;
    width: 4em;
    height: 1em;
    margin: 10px auto;
}

.loader-ellips__dot-infinite-list {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    background: #555;
    position: absolute;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

.scroller-status {
    display: none; /* hidden by default */
    padding-top: 20px;
    border-top: 1px solid #DDD;
    text-align: center;
    color: #777;
}

.loader-ellips__dot-infinite-list:nth-child(1),
.loader-ellips__dot-infinite-list:nth-child(2) {
    left: 0;
}

.loader-ellips__dot-infinite-list:nth-child(3) {
    left: 1.5em;
}

.loader-ellips__dot-infinite-list:nth-child(4) {
    left: 3em;
}

@keyframes reveal {
    from {
        transform: scale(0.001);
    }

    to {
        transform: scale(1);
    }
}

@keyframes slide {
    to {
        transform: translateX(1.5em);
    }
}

.loader-ellips__dot-infinite-list:nth-child(1) {
    animation-name: reveal;
}

.loader-ellips__dot-infinite-list:nth-child(2),
.loader-ellips__dot-infinite-list:nth-child(3) {
    animation-name: slide;
}

/* stylelint-disable-next-line no-duplicate-selectors */
.loader-ellips__dot-infinite-list:nth-child(4) {
    animation-name: reveal;
    animation-direction: reverse;
}

/* end of Infinite List */
/***********************************************
  Flex 
***********************************************/

.flex-container-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.flex-container-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 5px;
}
.flex-item-features {
    display: flex;
    flex: 1 1 50%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .flex-item-features svg {
        width: 23px;
        height: 20px;
        margin-right: 5px;
    }

    .flex-item-features i {
        margin-right: 5px;
    }

.inventory-list-container .flex-item .inventory-panel {
    margin-bottom: 0px !important;
}

.icon-stroke {
    filter: drop-shadow(1px 2px 1px rgba(0,0,0,0.5));
}

@media (max-width: 600px) {
    .flex-item-features {
        flex-basis: 100%;
    }
}


/* end of Grid Flex Container */
/***********************************************
  Swiper Inventory Slider 
***********************************************/
.swiper-button-next, .swiper-button-prev {
    text-rendering: auto;
}

.swiper {
    width: 100%;
    height: 100%;
}

:root {
    --swiper-theme-color: #FFFFFF;
    --swiper-navigation-size: 60px;
    --swiper-pagination-bullet-inactive-opacity: 0.8;
}

.swipe-buttons {
    text-shadow: 1px 1px 2px #000000;
}

.swiper-pagination > .swiper-pagination-bullet {
    opacity: 1;
    border: white solid 1px;
    background-color: black;
}

.swiper-pagination > .swiper-pagination-bullet-active {
    background-color: white;
}

.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0px !important;
}
/* end of   Swiper Inventory Slider  */
/***********************************************
  Vehicle Thumbnail Element 
***********************************************/
.thumbnail-overlay-car-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 80px 8px 15px;
    font-size: 14px;
    text-wrap: nowrap;
    line-height: .5;
    color: white; /* Assuming you want the text in white for contrast */
    background-image: url('https://automanagerdev.blob.core.windows.net/wmcontent/clients/images/panel-bg.png'); /* Path to your image */
    background-size: cover; /* Cover the entire area of the element */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: bottom; /* Align the gradient to the bottom */
    font-family: 'Roboto',Arial;
}

    .thumbnail-overlay-car-info > div:first-child {
        display: block; /* Ensure the Acura RDX is on its own line */
        margin-bottom: 0.5rem; /* Adds spacing between the title and the info line */
    }

.thumbnail-overlay-car-subinfo {
    display: flex; /* Aligns the year, miles, and price on one line */
    justify-content: start; /* Aligns items to the start of the container */
}

    .thumbnail-overlay-car-subinfo > div {
        margin: 0; /* Removes margin from the items in the flex container */
    }

    .thumbnail-overlay-car-subinfo .thumbnail-overlay-year {
        border: 1px solid rgba(255,255,255,0.3);
        -webkit-border-radius: 4px;
        border-radius: 4px;
        display: inline-block;
        font-size: 13px;
        line-height: 18px;
        height: 21px;
        padding: 0 7px;
    }

    .thumbnail-overlay-car-subinfo .thumbnail-overlay-mileage {
        display: inline-block;
        padding-left: 8px;
        font-size: 13px;
        align-self: center;
    }

.thumbnail-overlay-brand-emblem {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 65px !important;
    padding: 10px;
}
 
/* end of   Swiper Inventory Slider  */

/***********************************************
  SRP Header Inventory List
***********************************************/
.pageid-ivi:has(div.inventoryList-design1) .inventory-list-row .inventory-header {
    margin: 10px 0px;
    border-bottom: 4px solid;
    padding: 0px;
    border-radius: 0;
    margin-bottom: 34px;
}

.pageid-ivi:has(div.inventoryList-design1) .inventory-header.vehicles-found-header > .clearfix {
    display: flex;
    justify-content: flex-start;
    margin-bottom: -1px;
}

.pageid-ivi:has(div.inventoryList-design1) .inventory-list-container div.inventory-panel {
    border: 0;
    border-bottom: 4px solid;
    overflow: hidden;
    box-shadow: none;
    border-radius: 0;
    padding-bottom: 34px;
    margin-bottom: 36px;
}

.pageid-ivi:has(div.inventoryList-design1) .vehicles-found-header > div > .pull-left {
    position: relative;
    width: 100%;
    padding: 8px 10px !important;
    display: block;
    font-family: sans-serif;
    border-top-left-radius: 5px;
    clip-path: polygon(0% 100%, 100% 100%, 75% 0%, 0% 0%);
}

.pageid-ivi:has(div.inventoryList-design1) .vehicles-found-header > div > .pull-left > div {
    font-weight: normal !important;
 }

.pageid-ivi:has(div.inventoryList-design1) .inventory-header.vehicles-found-header .pull-right:first-of-type {
    display: flex;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .pageid-ivi:has(div.inventoryList-design1) .inventory-header.vehicles-found-header > .clearfix > .pull-left {
        width: 18%;
    }
}

@media (min-width: 768px) {
    .pageid-ivi:has(div.inventoryList-design1) .vehicles-found-header div.pull-right.clearfix {
        width: 80%;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .pageid-ivi:has(div.inventoryList-design1) .inventory-header.vehicles-found-header > .clearfix {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .pageid-ivi:has(div.inventoryList-design1) .vehicles-found-header > div > .pull-left {
        max-width: 170px;
    }
}

/* end of  SRP Header Inventory List  */
/***********************************************
  Vehicle Label and information Design 1
***********************************************/
.pageid-ivi:has(div.inventoryList-design1) .inventory-list-row .vehicle-label {
    margin-bottom: 25px;
}

.inventoryList-design1 .flex-container-features .flex-item-features:not(:first-child) {
    border-left: 1px solid;
    padding-left: 10px;
}

/* end of Vehicle Label and information Design 1  */
/***********************************************
  Vehicle Thumbnail Design 1
***********************************************/
@media (min-width: 768px) {
    .inventoryList-design1 .inventory-photo-column {
        position: absolute;
    }

    .pageid-ivi:has(div.inventoryList-design1) .inventory-list-container div.inventory-panel {
        padding-bottom: 4%;
    }

        .pageid-ivi:has(div.inventoryList-design1) .inventory-list-container div.inventory-panel .element-container-1 {
            padding-bottom: 10px;
            font-size: 16px;
        }

    .inventoryList-design1 .carfaxImage {
        max-width: 93px;
    }
}

.inventoryList-design1.element-type-inventorylistthumbnail .inventory-photo-column .clearfix {
    justify-content: flex-end;
    font-size: 15px;
    top: 12px;
    right: 0;
}

/* photo and video icons */
.inventoryList-design1 .overlay-icon-container {
    position: absolute;
    z-index: 1000;
    top: 40px;
    right: 20px;
    display: flex;
    flex-wrap: nowrap;
}

.inventoryList-design1 .photo-button {
    padding: 5px 7px;
    border-radius: 20px;
}

.inventoryList-design1 .fancybox-iframe, .fancybox-video {
    padding: 5px 7px;
    border-radius: 20px;
}

.inventoryList-design1 .photo-icon-container {
    margin-right: 8px;
}

@media (min-width: 768px) {
    .inventoryList-design1.carfax-image {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .inventoryList-design1 .photo-icon-container {
        margin-right: 5px;
    }
}

/* end of Vehicle Thumbnail Design 1 */
/***********************************************
  Vehicle Price Design1
***********************************************/
.inventoryList-design1 .pricelabel, .inventoryList-design1 .pricevalue1.accent-color1, .inventoryList-design1 .inventory-price-container .phonenumber, .inventoryList-design1 .inventory-price-container .sold, .inventoryList-design1 .callforprice, .inventoryList-design1 .yousavevalue.accent-color2, .inventoryList-design1 .beforevalue.accent-color2 {
    line-height: 1.3;
}

.inventoryList-design1 .element-type-inventorylistprice {
    border-radius: 5px;
}

.inventoryList-design1 .inventory-price-column, .inventory-price-column-split {
    border-radius: 4px;
    margin: 0 0px !important;
}

.element-type-inventorylistprice.inventoryList-design1 {
    background-color: transparent;
}

.inventoryList-design1 .inventory-price-container {
    position: relative;
    width: 100%;
    min-height: inherit !important;
    padding: 10px 10px 0px 30px;
    display: inline-block;
    font-family: sans-serif;
    border-radius: 5px;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.inventoryList-design1 .flex-container-features {
    display: flex;
    flex-wrap: inherit;
}

.inv-list .inventoryList-design1 div.inventory-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .element-type-inventorylistprice.inventoryList-design1.design1-price-pc {
        display: inline-block;
    }

    .element-type-inventorylistprice.inventoryList-design1.design1-price-mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .element-type-inventorylistprice.inventoryList-design1.design1-price-pc {
        display: none;
    }

    @media (max-width: 767px) {
        .element-type-inventorylistprice.inventoryList-design1.design1-price-mobile {
            display: inline-block;
            max-width: 180px;
            position: absolute;
            right: 0;
            top: 13%;
        }
    }
}

/* end of Vehicle Price Design 1 */
/***********************************************
  Vehicle Button Design 1
***********************************************/
.inventoryList-design1.element-type-inventorylistmoreinfo {
    text-align: right;
}

.inventoryList-design1 .btn {
    width: 100%;
    text-transform: uppercase;
    font-weight: var(--fw-bold) !important;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 2px solid transparent;
    padding: 16px 32px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all .2s;
    text-wrap: wrap;
}

.inventoryList-design1 .btn {
    text-transform: capitalize;
    max-width: 135px;
    font-size: 14px;
    padding: 10px 5px;
}

.inventoryList-design1 .pricelabel {
    font-size: small;
}

.inventoryList-design1 .fa-circle-info, .fa-info-circle {
    display: none;
}

/* end of Vehicle Button Design 1 */
/***********************************************
  Vehicle List Mobile Design 1 adjustments
***********************************************/
@media (max-width: 767px) {
    .pageid-ivi:has(div.inventoryList-design1) .inventory-list-container .element-container-1 {
        position: relative;
    }

    .element-type-inventorylisttitle.inventoryList-design1 {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }

    .pageid-ivi:has(div.inventoryList-design1) .inventory-list-container .element-container-2 {
        display: flex;
        position: absolute;
        bottom: 12.5rem;
        z-index: 99;
        right: 2px;
    }

    .inventory-list-row .inventoryList-design1 .vehicle-label {
        padding-top: 3rem;
        padding-right: 14rem;
    }

    .inventoryList-design1 div.vehicle-label a {
        font-size: larger;
    }

    .inventoryList-design1 .flex-container-features {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

        .inventoryList-design1 .flex-container-features .flex-item-features:not(:first-child) {
            border-left: 0;
            padding-left: 0;
        }

        .inventoryList-design1 .flex-container-features .flex-item-features {
            border-bottom: 1px solid;
            padding-bottom: 8px;
            margin-bottom: 8px;
            width: 100%;
        }

    .inv-list .inventoryList-design1 div.inventory-details {
        display: flex;
        flex-direction: column;
    }

        .inv-list .inventoryList-design1 div.inventory-details div {
            padding-bottom: 8px;
            margin-bottom: 8px;
            border-bottom: 2px solid;
        }

    .inventoryList-design1 .btn {
        width: 100%;
        max-width: inherit;
        font-size: x-large;
        margin-top: 1rem;
    }
}

/* end of Vehicle List Mobile Design 1 adjustments */

/***********************************************
  Inventory List DEFAULT 2025 
***********************************************/
.inv-list-default-25-01 .btn {
    width: 100%;
}

/***********************************************
  Start of Inventory Grid 2025 - Justine
***********************************************/

/* Vehicle Title */

.inventoryGrid-design1 a {
    text-decoration: none;
    font-size: clamp(0.75rem, 1.5vw, 1rem); /* Responsive font size */
    white-space: nowrap; /* Keep text in one line */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Show "..." if text is too long */
    display: inline-block;
    max-width: 100%;
}

/* Vehicle Title */

.pageid-ivi:has(div.inventoryGrid-design1) .col-xs-12 {
    padding: 0 !important;
}

.inventoryGrid-design1 .inventory-list-container .flex-item .inventory-panel {
    border: 2px !important;
    border-radius: 12px !important;
}

.inventoryGrid-design1 .pricelabel.internetpricelabel {
    display: none;
}

/* Vehicle Price */

.inventoryGrid-design1 .pricevalue1.accent-color1 {
    float: left !important;
}

.inventoryGrid-design1 .vehicle-label {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: bold;
}
/* Vehicle Price */

/* Small devices (phones) */
@media (max-width: 575.98px) {
    .inventoryGrid-design1 .vehicle-label {
        margin-bottom: -4px;
        margin-left: 6px;
    }
}

/* Medium devices (tablets) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .inventoryGrid-design1 .vehicle-label {
        margin-bottom: -6px;
        margin-left: 8px;
    }
}

/* Large devices (desktops) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .inventoryGrid-design1 .vehicle-label {
        margin-bottom: -8px;
        margin-left: 10px;
    }
}

/* Extra large devices (large desktops) */
@media (min-width: 992px) {
    .inventoryGrid-design1 .vehicle-label {
        margin-bottom: -8px;
        margin-left: 12px;
    }
}

/* Inventory Details Button Design */


.inventoryGrid-design1 .inventory-details {
    font-size: clamp(0.75rem, 1vw, 1rem);
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: Desktop */
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid gray;
    align-items: stretch; /* Make all items same height */
}

    /* Button Styling */
    .inventoryGrid-design1 .inventory-details button {
        font-size: inherit;
        padding: 0.5em 1em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        height: 100%; /* Full height */
        box-sizing: border-box;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center; /* Center text inside button */
    }

    /* General Column Styling */
    .inventoryGrid-design1 .inventory-details > div {
        border-radius: 5px;
        font-weight: bold;
        font-size: clamp(0.75rem, 1vw, 0.875rem);
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center; /* Center all content */
        height: 100%; /* Force equal height */
    }

/* Pricing columns */
.inventoryGrid-design1 .inventory-price-column,
.inventory-price-column-split {
    padding: 0;
    border-bottom: 1px solid gray;
}

/* Min height override */
.pageid-ivi:has(div.inventoryGrid-design1) .palette-bg1 {
    min-height: 44px !important;
}

/* ===== MEDIA QUERIES ===== */

/* Tablet view */
@media (max-width: 991px) {
    .inventoryGrid-design1 .inventory-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile view */
@media (max-width: 575px) {
    .inventoryGrid-design1 .inventory-details {
        grid-template-columns: 1fr;
    }
}

.inventoryGrid-design1 a {
    font-weight: lighter;
    width:100%;
}

/* ============================================
   ACTION GRID
============================================ */
/* Card
********************/
/* Row */
.action-grid-row1.action-grid-row1,
.action-grid-row2.action-grid-row2 {
    margin-bottom: 16px;
}

.action-grid-row3.action-grid-row3 {
    margin-bottom: 70px;
}

/* THUMBNAIL */
.action-grid-row1 .swiper-button-next,
.action-grid-row1 .swiper-button-prev {
    background-color: transparent;
    background: transparent;
    box-shadow: none;
}

.thumb-img-actiongrid .col-xs-12:has(.image),
.thumb-img-actiongrid .inventory-photo-column {
    padding: 0px!important;
}

.thumb-img-actiongrid .swiper-button-next, 
.thumb-img-actiongrid .swiper-button-prev,
.thumb-img-actiongrid .swiper-button-next:after, 
.thumb-img-actiongrid .swiper-button-prev:after {
    font-size: 32px;
}


/* Footer */
.grid-action-footer {
    border-top: 1px solid var(--clr-border);
    padding-top: 16px;
}

        .grid-action-footer .menu-popup:hover,
        .grid-action-footer .menu-popup:focus,
        .grid-action-footer .menu-popup:active {
            text-decoration: none;
        }

    .grid-action-footer .element-container-1 {
        padding: 0px;
    }

    .grid-action-footer .menu-popup {
        display: inline-block;
        margin-bottom: 0;
        font-weight: 400;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        background-image: none;
        border: 1px solid;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        border-radius: 4px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .grid-action-footer a.btn-check-availability {
        background-color: var(--clr-primary-500);
        border-color: var(--clr-primary-500);
        color: var(--clr-neutral-100);
        width: 100%;
        transition: all .3s ease-in-out;
    }

        .grid-action-footer a.btn-check-availability:hover,
        .grid-action-footer a.btn-check-availability:focus,
        .grid-action-footer a.btn-check-availability:active {
            background-color: var(--clr-primary-400);
            border-color: var(--clr-primary-400);
        }

@media (min-width: 768px) {
    .grid-action-footer {
        position: absolute;
        bottom: 16px;
        width: 100%;
    }
}

/* Price */
.action-grid-price .palette-bg1.inventory-price-container {
    background-color: transparent;
}

.action-grid-price .inventory-price-container {
    text-align: left;
    min-height: auto !important;
    padding: 0px;
}

.action-grid-price .inventory-price-column {
    margin: 0px;
}

.action-grid-price .internetpricelabel {
    display: none;
}

.action-grid-price .pricevalue1.accent-color1 {
    color: var(--clr-text-display) !important;
}

.action-grid-price .pricelabel.downpaymentlabel,
.action-grid-price .pricevalue1.price-sold,
.action-grid-price .pricelabel.monthlypricelabel,
.action-grid-price .pricevalue1.price-sold {
    font-size: 14px;
    color: var(--clr-text-display) !important;
    font-weight: 400;
    display: inline;
}

.action-grid-price .pricelabel {
    margin-right: 8px;
}

/* Data */
.action-grid-details .inventory-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}
/* title */
.action-grid-title .vehicle-label {
    min-height: 58px;
}

.action-grid-title a.accent-color1 {
    color: var(--clr-text-display) !important;
}

    /* More info button and Check Availabiltiy */

    .inventoryGrid-design1 a.inventory_moreinfo {
        border-bottom: 1px solid gray;
    }


.inventoryGrid-design1 .btn-default {
    font-weight: normal;
    font-size: small;
}
