/* listing page css start */
.listing-banner-section {
    padding-top: 30px;
    padding-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.banner-slider-listing {
    background-image: url('../images/listing-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* width: 502px; */
    height: 320px;

    /* width: 100%;  */
    align-content: center;
    border-radius: 20px;
    padding-left: 85px;
    padding-right: 70px;
    position: relative;
    margin: auto;
    overflow: hidden;


}

#plan-details {
    background-image: url('../images/Frame 26835.webp') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.slides-listing-details h5 {
    color: white;
    font-family: var(--font-family);
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 35px;
    margin-top: 11px;
    margin-bottom: 6px;
}

.slides-listing-details h2 {
    font-size: 45px;
    font-style: normal;
    font-weight: 800;
    line-height: 65px;
    color: white;
    width: max-content;
    font-family: var(--font-family);
    padding: 0px 5px;
    margin-bottom: 8px;
    border-radius: 5px;
    background-color: var(--acent);
}

.slides-listing-details p {
    color: rgba(255, 255, 255, 0.70);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    width: 80%;
    font-weight: 500;
    line-height: 22px;
    /* 137.5% */
}

.slides-listing-details a button {
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #FFF;
    padding: 16px 36px;
    color: #FFF;
    text-align: center;
    font-family: var(--font-family);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    transition: 0.3s ease-in-out;
}

.slides-listing-details a button:hover {
    border: 1px solid var(--acent);
    background: var(--acent);
}

.listing-item {
    gap: 100px;
}

.banner-slide-image-box {
    width: 100%;
}

.banner-slide-image-box img {
    width: 90%;
}



/* 2nd section */
.listing-filtered-row {
    flex-wrap: wrap;
    gap: 2%;
    row-gap: 23px;
    padding-bottom: 23px;
}

.listing-filtered-row .car-items {
    width: 32%;
}

.listing-filtered-row .car-items {
    padding-bottom: 8px;
    /* border: 0.738px solid #34343400; */
    padding-top: 0px;
    transition: box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
    cursor: pointer;
    /* min-height: 244px; */
}

.listing-filtered-row .car-items:hover {
    border: 0.738px solid transparent;
    box-shadow: none;
}

.listing-filtered-row .logo-and-stock img {
    max-width: 33px;
    object-fit: contain;
    /* height: auto; */
}

.listing-filtered-row .logo-and-stock h6 {
    font-size: 14px;
    margin: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--heading-black);
    font-weight: 700;
    max-width: 132px;
    line-height: 18px;
    padding-inline-end: 10px;
}

.listing-filtered-row .logo-and-stock span {
    font-size: 12px;
    color: var(--heading-black);
}

.listing-filtered-row .logo-and-stock .d-flex {
    /* padding-inline-start: 0.5rem; */
    /* width: 66%; */
}

.listing-filtered-row a.stock-status,
.listing-filtered-row span.stock-status {
    width: 92px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    /* pointer-events: none; */
}

.listing-filtered-row a.stock-status button {
    font-size: 12px;
}

.listing-filtered-row .car-items .car-imge h3 {
    font-size: 48.21px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
    line-height: 53.567px;
    z-index: 0;
    text-align: center;
    overflow: hidden;
    width: 100%;
}

.listing-filtered-row .car-imge img {
    width: 202px;
    z-index: 1;
    object-fit: cover;
}

.listing-filtered-row .car-info p {
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 11.806px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.listing-filtered-row .car-info .Monthly-Fee {
    text-align: end;
}


.listing-filtered-row .car-info p span:first-child {
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14.758px;
}

.listing {
    padding-top: 25px;
    background: var(--background-white-to-black);
}

.filteration-top-bar-listing {
    margin-bottom: 30px;
}

.breadcrum {
    display: flex;
    gap: 20px;
    color: var(--text-black);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    align-items: center;
}

[dir="right_to_left"] .breadcrum {
    direction: rtl;
}

.breadcrum i {
    font-size: 12px;
    color: var(--text-black);
    /* font-weight: 400; */
}

.current-path {
    font-weight: 500;
    color: var(--black-to-white);
}

.filter-listing-select-drop-down select:after {
    right: 5px;
    background-position: right 5px center;

}

.filter-listing-select-drop-down select {
    background-color: #F6F6F6;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    width: 100%;
}

.filter-listing-select-drop-down select:focus {
    --tw-ring-shadow: none;
}

.listing-banner-section {
    background-color: var(--background-white-to-black);
}

/* 2nd section end */

/* fiter bar */
.search-input {
    position: relative;
    margin-bottom: 15px;
}

.search-input input {
    border: none;
}

.filter-bar .tab-buttons {
    width: 100%;
    border-radius: 10px;
    padding-left: 5px;
    margin-bottom: 15px;
}

.filter-bar .tab-btn {
    width: 91px;
    height: 41px;
}

.search-input svg {
    color: var(--acent-to-white);
    position: absolute;
    right: 12px;
    top: 0;
    bottom: 0;
    margin: auto;
    padding-left: 4px;
}

[dir="right_to_left"] .search-input svg {
    left: -245px;
}

.filter-bar .banner-button-row {
    margin-top: 25px;
}

.query-filter {
    /* border-radius: 10px;
    background: #F8F8F8;
    padding: 20px; */
    margin-top: 25px;
}

.filter-con {
    border-radius: 10px;
    background: var(--F8F8F8-to-dark-bg);
    padding: 20px;
    margin-bottom: 16px;
}

.range-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #9F228B;
    outline: none;
    position: absolute;
    pointer-events: none;

}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f8f8f8;
    border: 3px solid #9F228B;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

.query-filter input#maxRange::-webkit-slider-thumb {
    background: #f8f8f8;
    /* Color for the max thumb */
    border: 3px solid #9F228B;
}

.range-values {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 28px;
}

.range-values input[type="text"] {
    border: 1px solid #CECECE;
    border-radius: 5px;
    padding: 15px;
    width: 50%;
    text-align: center;

    color: #000;
    font-family: var(--font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.range-values span {
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    color: var(--heading-black);
}

.Sign-up-offer button {
    margin-top: 10px;
    width: 100%;
    border: 1px solid #E5E5E5;
    padding: 10px 10px;
    color: var(--black-to-white);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    justify-content: center;
}

:focus-visible {
    outline: none;
}

.filter-listing-select-drop-down {
    background: #f6f6f6;
    border-radius: 5px;
    width: 210px;
}

.Sign-up-offer button svg path {
    fill: var(--black-to-white);
}

.label-target {
    color: var(--black-to-white);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    margin-bottom: 22px;
    font-weight: 600;
    line-height: 20px;
}

.query-filter .label-target {
    color: var(--heading-black);

}

.query-filter button {
    padding: 15px;
    width: 100%;
    border-radius: 5px;
    background: #9F228B;
    color: #FFF;
    font-family: var(--font-family);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    margin-top: 20px;
    line-height: 20px;
}

.cheakbox-brand ul {
    display: block;
}

.cheakbox-brand li {
    width: 100%;
    display: flex;
    margin-bottom: 17px;
    align-items: center;
    justify-content: space-between;
    color: var(--heading-black);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.inner-cheak-boxes {
    padding-right: 20px;
}

.cheakbox-brand label {
    display: flex;
    gap: 20px;
    color: var(--heading-black);
}

.cheakbox-brand {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #C6C6C6;
}

.cheakbox-brand input[type="checkbox"] {
    height: 20px;
    width: 20px;
    background: white;
}

.cheakbox-brand input[type="checkbox"]:checked {
    height: 20px;
    width: 20px;
    background: rgb(135, 53, 53);
}

.cheakbox-brand input[type="checkbox"]:focus {
    --tw-ring-shadow: none;
}

.body-type-container {
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #E9E9E9;
    background: #FFF;
    margin-bottom: 10px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.body-type-container:hover,
.selected .body-type-container {
    border: 1px solid #9F228B;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
}

.body-type-img {
    padding: 21px 14px;
    border-radius: 5px;
    width: 50%;
    background: #F8F8F8;
}

.body-type-img img {
    width: 100%;
    max-width: 96px;
}

p.body-type-name {
    width: 50%;
    color: #363636;
    text-align: center;
    font-family: "DM Sans";
    margin-bottom: 0px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    align-content: center;
}

.body-type {
    width: 100%;
    border-top: 1px solid #C6C6C6;
    padding-top: 20px;
    margin-top: 10px;
}

.body-type label {
    color: var(--heading-black);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    /* margin-bottom: 20px; */
    line-height: 20px;
}

.body-type li {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--heading-black);
}



.colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.colors label {
    display: inline-block;
    cursor: pointer;
}

.colors input[type="checkbox"] {
    display: none;
}

.color-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.colors input[type="checkbox"]:checked+.color-circle {
    box-shadow: 0 0 0 4px var(--acent);
    border: 0px;
}

.color-inputs-wrapper li label {
    color: #000;
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.color-inputs-wrapper li {
    margin-bottom: 20px;
}

.color-inputs-wrapper {
    border-top: 1px solid #C6C6C6;
    padding-top: 20px;
    margin-top: 10px;
}

/* Parent container for seats */
.seats {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Container for each checkbox */
.seats .checkbox-container {
    position: relative;
    width: 50px;
    overflow: hidden;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #E9E9E9;
    background: #FFF;
    border-radius: 2px;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    user-select: none;
    color: #000;
    text-align: center;
    font-family: var(--font-family);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    transition: 0.3s all ease-in-out;
}

.body-type button {
    margin-top: 0px;
}

/* Hide the default checkbox */
.seats .checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom checkmark for the checkbox */
.seats .checkbox-container .checkmark {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 27px;
    height: 16px;
    /* border: 2px solid #800080; */
    border-radius: 1px 1px 10px 0px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkmark style when checked */
.seats .checkbox-container input[type="checkbox"]:checked+.checkmark {
    background-color: #9F228B;
    color: #fff;
}

.seats .checkbox-container:hover {
    border: 1px solid #9F228B;
}

.seats .checkbox-container:has(input[type="checkbox"]:checked) {
    border: 1px solid #9F228B;
}


/* Label inside the checkbox */
.seats .checkbox-container .label {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Checkmark symbol (tick) */
.seats .checkbox-container input[type="checkbox"]:checked+.checkmark::before {
    content: "✔";
    color: #fff;
    font-size: 8px;
}

.seats-wrapper {


    border-top: 1px solid #C6C6C6;
    padding-top: 20px;
    margin-top: 10px;
}

.seats-wrapper li label {
    color: var(--heading-black);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.seats-wrapper li {
    margin-bottom: 20px;
    color: var(--heading-black);
}



.search-input input {
    background: none;
    border-radius: 10px;
    border: 1px solid #DCDCDC;
    height: 50px;
    padding: 0px 15px;
    width: 100%;
    font-size: 14.5px;
}

.search-input input:focus {
    box-shadow: inherit;
    border-color: inherit;
}

.search-input input::placeholder {
    color: var(--text-black);
}

.tab-btn {
    color: var(--black-to-white);
}

.search-input svg path {
    stroke: var(--acent-to-white);
}


/* listing-faqs section */
.listing-faqs {
    padding: 120px 0px;
}

.view-all-listing-faqs button {
    display: block;
    padding: 18px 36px;
    color: #FFF;
    text-align: center;
    font-family: var(--font-family);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    border-radius: 10px;
    background: #9F228B;
    width: max-content;
    margin: auto;
    margin-top: 60px;
    z-index: 1;
    position: relative;
}

h2.black {
    z-index: 1;
}

h6.sub-heading {
    z-index: 1;
}

.listing-faqs .faq-wrapper:after {
    transform: translate(25%, -20%);
    height: 500px;
}

.listing-last-cta {
    background-image: url('../images/listing\ last\ bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 90px 0px 85px;
}


[dir="right_to_left"] .listing-last-cta {
    direction: rtl;
}

.listing-last-cta h3 {
    color: #FFF;
    font-family: var(--font-family);
    font-size: 45px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
    margin-bottom: 20px;
}

.listing-last-cta h6 {
    color: #CA31B2;
    font-family: var(--font-family);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 21px;
}

.listing-last-cta p {
    color: #FFF;
    font-family: var(--font-family);
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    width: 85%;
    margin-bottom: 13px;
}



.drowdown-text p {
    color: #FFF;
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}

.dropdown-text i {
    margin-left: 5px;
    font-size: 9px;
}

.row-ovelay {
    bottom: 0;
    background: var(--row-overlay);
    height: 180px;
    position: absolute;
    width: 100%;
    z-index: 9 !important;
}

.position-relative {
    position: relative;
}

.brands-items {
    border-radius: 10px;
    border: 1px solid #E9E9E9;
    background: #FFF;
    padding: 15px 35px;
    color: #000;
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    flex-shrink: 0;
}

.brands-scroller {
    position: relative;
    margin-top: 30px;
}

.scroller-brands {
    gap: 10px;
    overflow: hidden;
    display: flex;
    overflow-x: scroll;
    padding-bottom: 30px;
    position: relative;
}


.brands-scroller-fade::before,
.brands-scroller-fade::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 95%;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
    z-index: 2;
    pointer-events: none;
}

.brands-scroller-fade::after {
    right: 0;
    background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}

.scroller-brands::-webkit-scrollbar {
    width: 10px !important;
    width: 10px !important;
    height: 4px !important;
}

/* Track */
.scroller-brands::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 3px #ffffff;  */
    background-color: #e6e6e6;
    /* overflow: visible; */
    border-radius: 10px;
    width: 10px !important;
    height: 3px !important;
}

/* Handle */
.scroller-brands::-webkit-scrollbar-thumb {
    background: #9F228B;
    border-radius: 10px;
    width: 10px !important;
    height: 5px !important;
    /* box-shadow: 0 0 0px 3px #9F228B;  */
    /* transform: scale(1.5); */
}

/* Handle on hover */
.brands-items {
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.brands-items:hover {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    border: 1px solid #9F228B;
}

.brands-items.active {
    background-color: var(--acent);
    color: white;
}


.custom-checkbox {
    cursor: pointer !important;
}

.custom-checkbox input {
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 1px solid #CECECE !important;
    border-radius: 3px !important;
    background: white !important;
}

/* Show tick image when checked */
.custom-checkbox input:checked {
    background: #9C2780 url(../images/checked.png) no-repeat center !important;
    background-position-y: 3px !important;
    border-color: #9C2780 !important;
}

.filter-listing-select-drop-down select {
    border: none !important;
    background-color: white !important;
    font-family: 'Manrope';
    padding: 0px 0px;
    font-size: 16px;
    font-weight: 500;
    border: none !important;
    /* Remove border */
    box-shadow: none !important;
    /* Remove box shadow */
    outline: none !important;
    /* Remove blue border when focused */
}

.filter-listing-select-drop-down {

    align-content: center;
    border-radius: 10px;
    background-color: white !important;
    border: 1px solid #DCDCDC;
    height: 50px;
    padding: 0px 10px;
    /* padding-right: 10px; */
}


/* listing-faqs end */
/* listing page css end */
@media only screen and (max-width: 767px) {
    .banner-slider-listing {
        height: 485px;
        padding-bottom: 0px;
    }

    .listing-item .col-md-6.d-none.d-md-block {
        display: block !important;
    }

    .listing-banner-section .listing-item {
        display: block !important;
    }

    .slides-listing-details {
        text-align: center;
    }

    .slides-listing-details h2 {
        margin: 15px auto;
    }



    .banner-slide-image-box {
        text-align: center;
        justify-content: center;
        display: flex;
    }
}