.toggle-btn-wrapper {
    position: absolute;
    top: 0;
    left: calc(50% - 115.33px);
}

.w-100 {
    width: 100% !important;
}

.br-8 {
    border-radius: 8px !important;
}

.inner_banner.section-padding-x {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
}

.section-padding-y {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.pr-20 {
    padding: 0px 20px !important;
}

/* === Base filter styles === */
.filter-bar-container {
    position: absolute;
    top: 78%;
    /* center vertically */
    left: 0%;
    /* center horizontally */
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    z-index: 3;
}

.filter-bar-container .banner-text {
    position: absolute;
    top: -510%;
    /* move text to the top of banner */
    left: 5%;
    right: auto;
    display: block;
    text-align: left;
    z-index: 5;
    /* make sure it stays above everything */
    color: #fff;
}

.filter-bar-container .banner-text h3 {
    font-size: 48px;
    font-weight: 200;
    line-height: normal;
    margin: 0 0 10px;
}

@media (max-width: 768px) {
    .filter-bar-container .banner-text {
        top: 3%;
        /* adjust for mobile */
        left: 3%;
    }

    .filter-bar-container .banner-text h3 {
        font-size: 28px;
    }
}


.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    background: #fff;
    border-radius: 12px;
    padding: 10px 15px;
}

/* === Select box wrapper === */
.select-wrapper {
    flex: 1 1 150px;
    min-width: 120px;
    max-width: 200px;
    position: relative;
    border-right: 1px solid #E9E9E9;
}

.select-wrapper select:not(.select2-hidden-accessible) {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 35px;
    background: transparent;
    border: none;
    outline: none;
}

.select-wrapper .custom-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 14px;
    height: auto;
}

.filter-select:last-of-type {
    border-right: none;
}

.select2-container--default .select2-selection--single {
    border: none !important;
    background-color: transparent !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute;
    top: 48%;
    right: 18px;
    /* adjust this as needed */
    transform: translateY(-50%);
    width: 20px;
    height: auto;
    pointer-events: none;
    /* prevent click overlap */
}


/* Last one should not have border */
.select-wrapper:last-of-type {
    border-right: none;
}

/* === Select box === */
.filter-select {
    width: 100%;
    border: none;
    padding: 8px 12px;
    background: transparent;
    font-size: 0.95rem;
}

.filter-select:focus {
    outline: none;
    box-shadow: none;
}

/* === Clear icon === */
.clear-filter {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #999;
    display: none;
}


.clear-filter:hover {
    color: #000;
}

/* === Search button === */
.filter-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #333;
}

/* === Responsive Tweaks === */
@media (max-width: 1200px) {
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .select-wrapper {
        flex: 1 1 45%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .filter-bar-container {
        top: auto;
        position: relative;
        padding: 10px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-form {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }
}





#inner-slider,
#inner-slider .main-banner,
#inner-slider .main-banner .banner-img {
    height: auto !important;
}

#inner-slider .main-banner .sec-pic img {
    width: 100%;
    height: auto;
}

#inner-slider .banner-text h3 {
    font-weight: 200;
}




/* Featured Cars Section */
.section.featured-cars {
    background-color: #0d0d0d;
    color: #fff;
}

.section.featured-cars .title-head {
    margin-bottom: 3rem;
}

.section.featured-cars .title-xl {
    font-size: 2.5rem;
    font-weight: 700;
}

.section.featured-cars .title-head p {
    color: #999;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.featured-carousel .item {
    padding: 10px 10px !important;
}

.owl-thumbs {
    display: none !important;
}

.owl-dots {
    display: none !important;
}

.car-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    border-radius: 10px;
    flex-direction: column;
    box-shadow: 0px 0px 4px 0px #FFFFFF8C;
}

.car-card-image {
    position: relative;
    overflow: hidden;
}

.car-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.car-card-image:hover img {
    transform: scale(1.05);
}

.card-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.card-wishlist:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.card-wishlist a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
}

/* Card Body */
.car-card-body {
    padding: 1.5rem !important;
    flex-grow: 1 !important;
}

.car-card-body h5 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.car-card-body h5 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.car-card-body h5 a:hover {
    color: #ccc;
    /* Lighter color on hover */
}

.car-variant {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.car-specs {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
    color: #999;
}

.car-specs .spec-item {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.car-specs .spec-item i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.car-price {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.car-price i {
    font-size: 1rem;
    margin-right: 5px;
}

.section.leading-brand .brand-listing .item {
    padding: 36px !important;
    border-radius: 8px !important;
    border: 1px solid #E9E9E9 !important;
}

/* Custom Navigation */
.custom-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.custom-nav button {
    background-color: #333;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-nav button:hover {
    background-color: #555;
}

.custom-nav button:first-child {
    margin-right: 10px;
}

/* Fix for Owl Carousel */
.car-list-container {
    padding-bottom: 20px !important;
}

.body-card {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
}

.body-card:hover {
    transform: scale(1.03);
}

.body-card img {
    width: 100%;
    height: 100%;
    object-fit: unset;
    object-position: bottom right;
}

.body-card-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    z-index: 2;
}

/* body style */


.listing-sec .item a {
    padding: 0px !important;

}


/* Fuel Type Section */
.section.fuel-type-section {
    background-color: #0d0d0d;
    color: #fff !important;
    /* padding: 60px 20px !important; */
}

.fuel-type-section .title-head {
    margin-bottom: 3rem;
}

.fuel-type-section .title-xl {
    font-size: 2.5rem;
    font-weight: 700;
}

.fuel-type-section .title-head p {
    color: #999;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.fuel-type-tabs {
    margin-bottom: 30px;
    gap: 15px;
    border-bottom: 1px solid #333;
    border-radius: 8px;
    display: inline-flex;
    padding: 5px;
}

.fuel-type-tabs-container {
    text-align: center;
    margin-bottom: 30px;
}

.fuel-type-tabs {
    border-bottom: 1px solid #333;
    display: inline-flex;
    gap: 25px;
    padding-bottom: 5px;
}

.fuel-type-tabs .fuel-tab {
    color: #ccc;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    font-size: 1rem;
}

.fuel-type-tabs .fuel-tab.active {
    color: #fff;
    font-weight: 600;
}

.fuel-type-tabs .fuel-tab.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

.fuel-type-tabs .fuel-tab:hover:not(.active) {
    color: #fff;
}

.btn-white-custom {
    background-color: #ffffff !important;
    color: #000000;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.btn-white-custom:hover {
    background-color: #f8f9fa;
    color: #000;
    border-color: #bbb;
}

.car-card-image {
    position: relative;
    overflow: hidden;
}

.car-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.custom-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px !important;
}

/* Left blank area */
.left-blank {
    flex: 1;
}

/* Center button */
.center-showmore {
    flex: 1;
    display: flex;
    justify-content: center;
}


/* Right buttons */
.right-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

#see-more-btn {
    font-size: 14px;
    padding: 8px 16px;
    background: #fff;
    color: #000;
    border-radius: 8px;
}

.right-nav .fuel-prev-btn,
.right-nav .fuel-next-btn {
    font-size: 18px;
    padding: 6px 14px;
    border-radius: 50%;
    background: #000;
    border: 1px solid #ccc;
    color: #fff;
}




/* Carousel Navigation */
.custom-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.custom-nav button {
    background-color: #333;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fuel-type-section .title-head p {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Compare Section  */
.compare-ads {
    padding: 0px 60px !important;
    margin: 0px !important;
    border-radius: 8px !important;
}

/* FAQ Section */
.section.faq-sec {
    position: relative;
    padding: 60px 0;
    color: #fff;
    background-color: #000;
}

.faq-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.faq-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 0px 80px;
    max-width: 750px;
}

.faq-sec .title-head {
    margin-bottom: 2rem;
    color: #fff;
}

.faq-sec .title-xl {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.faq-sec .subtitle {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
}

/* Accordion Container */
.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
}

/* Accordion Item */
.accordion-item {
    background-color: #fff;
    border: none;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Accordion Button */
.accordion-button {
    background-color: #fff;
    color: #000;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem !important;
    border: none;
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Hide default arrow */
.accordion-button::after {
    display: none;
}

/* Custom plus/minus button */
.accordion-button::before {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    transition: transform 0.3s ease;
}

/* When open, show minus */
.accordion-button:not(.collapsed)::before {
    content: '–';
}

.accordion-button:not(.collapsed) {
    color: #000 !important;
    background-color: #fff !important;
    border-bottom: 1px solid #333 !important;
}

/* Accordion body */
.accordion-body {
    padding: 1.25rem 1.5rem !important;
    background-color: #fff;
    color: #333;
}

.accordion-item:first-child .accordion-button {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.accordion-item:last-child .accordion-button.collapsed {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.accordion-item:last-child .accordion-body {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}



.shot-col-new-style {
    max-width: 300px;
    margin: 0 auto;
    text-align: left;
}

.shot-col-new-style h5 {
    color: #000;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.shot-col-new-style p {
    color: #333;
    line-height: 1.5;
    margin-top: 10px;
}

.shot-col-new-style .btn-primary {
    background-color: #000;
    border-color: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shot-col-new-style .btn-primary .fa-arrow-right {
    color: #fff;
    margin-left: 8px;
}



/* Adjust FAQ padding on smaller screens */
@media (max-width: 767.98px) {
    .faq-content-wrapper {
        padding: 0 20px;
    }

    .faq-sec .title-xl {
        font-size: 1.5rem;
        font-weight: 700;

    }

    .faq-sec .subtitle {
        font-size: 0.95rem;
    }

    .section.faq-sec {
        padding: 0px 0;
    }

    .accordion-button {
        font-size: 1rem !important;
        padding: 1rem 1.25rem !important;
    }

    .accordion-body {
        padding: 1rem 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .faq-content-wrapper {
        padding: 0 15px;
    }

    .section.faq-sec {
        padding: 0px 0;
    }


    .accordion-button::before {
        right: 1rem;
        font-size: 1.25rem;
    }
}

/* New mobile background image for .mob-new-car-banner */

@media (max-width: 767.98px) {
    #inner-slider {
        padding: 0;
    }

    #inner-slider .main-banner .sec-pic img {
        width: 100%;
    }


    #inner-slider,
    #inner-slider .main-banner,
    #inner-slider .main-banner .banner-img {
        height: 90vh !important;
    }

    .inner_banner .sell-banner,
    .allied-services-banner .banner-img,
    .mob-finance-banner .banner-img,
    .mob-new-car-banner .banner-img {
        background: none !important;
        background-position: center !important;
        background-size: cover !important;
        background-color: #000 !important;
    }


    .mob-new-car-banner.section-padding-x {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }


    /* Form container */



    .mobile-filter-form {
        position: absolute;
        top: 66%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 93%;
        width: 100%;
        padding: 12px;
        border-radius: 15px;
        color: #fff;
        border: 1px solid #444;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    }

    .mobile-filter-container .banner-text {
        color: #fff;
        position: absolute;
        top: 0;
    }



    .sec-pic {
        display: none !important;
    }

    .car-banner-mobile img {
        object-fit: contain;
    }



    /* Mobile Filter Container */
    .mobile-filter-container {
        padding: 20px 10px;
    }




    .section-heading {
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 10px;
    }



    .select-container {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .select-container select {
        width: 100%;
        padding-right: 25px;
        box-sizing: border-box;
    }

    /* Generic Select Styling */
    .mobile-filter-form select {
        width: 100%;
        padding: 8px 35px 8px 15px;
        border-radius: 6px;
        background: #1a1a1a;
        color: #fff;
        font-size: 14px;
        border: 1px solid #FFFFFF80;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
        outline: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 10px 6px;
        transition: background-image 0.2s ease;
    }

    /* Hide arrow on focus (dropdown open) */
    .mobile-filter-form select:focus {
        background-image: none;
    }

    /* Show clear icon on focus */
    .select-container select:focus+.clear-select {
        display: inline-block !important;
    }

    /* Normal clear icon hidden unless toggled by JS */
    .clear-select {
        display: none;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #888;
        cursor: pointer;
        user-select: none;
        transition: color 0.3s ease;
    }

    .clear-select:hover {
        color: #fff;
    }

    .clear-select-mobile:hover {
        color: #fff;
    }

    .clear-select-mobile {
        display: none;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #888;
        cursor: pointer;
        user-select: none;
        transition: color 0.3s ease;

    }


    /* Dual select row layout (Body Type + Fuel Type) */
    .dual-select {
        display: flex;
        gap: 10px;
        margin-top: 25px;
    }

    .dual-select select {
        flex: 1;
    }


    /* Seating Options */
    .seating-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 25px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    /* Seating title */
    .section-title-seating {
        font-weight: 600;
        color: #fff;
        white-space: nowrap;
        font-size: 15px;
    }

    /* Seating pills container */
    .seating-options {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    /* Individual pill */
    .seating-pill {
        position: relative;
        cursor: pointer;
    }

    .seating-pill input[type="radio"] {
        display: none;
    }

    .seating-pill span {
        flex-shrink: 0;
        display: inline-block;
        width: 24px;
        height: 24px;
        line-height: 24px;
        border-radius: 50%;
        color: #fff;
        text-align: center;
        font-weight: 600;
        font-size: 14px;
        background: radial-gradient(circle at 30% 30%, #2a2a2a, #0f0f0f);
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Selected pill */
    .seating-pill input[type="radio"]:checked+span {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    /* Price Range */
    .price-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #444;
    }

    .section-title-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px 0px;
    }

    .section-title-seating {
        display: flex;
        align-items: center;
    }


    .mt-10 {
        margin-top: 10px;
    }

    #priceRangeSlider {
        -webkit-appearance: none;
        /* remove default */
        width: 100%;
        height: 6px;
        margin-top: 10px;
        background: #555;
        /* fallback background */
        border-radius: 5px;
        outline: none;
        position: relative;
        z-index: 1;
    }

    /* Remove conflicting track background in webkit to allow JS override */
    #priceRangeSlider::-webkit-slider-runnable-track {
        height: 6px;
        background: transparent !important;
        /* Important to override */
        border-radius: 5px;
    }

    #priceRangeSlider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #000;
        cursor: pointer;
        margin-top: -9px;
        /* center thumb */
        position: relative;
        z-index: 2;
    }

    /* Firefox */
    #priceRangeSlider::-moz-range-track {
        height: 6px;
        background: transparent !important;
        border-radius: 5px;
    }

    #priceRangeSlider::-moz-range-progress {
        background-color: transparent !important;
        height: 6px;
        border-radius: 5px;
    }

    #priceRangeSlider::-moz-range-thumb {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #000;
        cursor: pointer;
    }

    /* IE */
    #priceRangeSlider::-ms-track {
        width: 100%;
        height: 6px;
        background: transparent;
        border-color: transparent;
        color: transparent;
    }

    #priceRangeSlider::-ms-fill-lower {
        background: transparent !important;
        border-radius: 5px;
    }

    #priceRangeSlider::-ms-fill-upper {
        background: transparent !important;
        border-radius: 5px;
    }

    #priceRangeSlider::-ms-thumb {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #000;
        cursor: pointer;
    }

    /* Price Output */
    .price-output {
        font-weight: 600;
        color: #fff;
    }

    /* Submit Button */
    .mobile-filter-form button[type="submit"] {
        width: 100%;
        background-color: #fff;
        color: #000;
        padding: 6px 0;
        font-weight: 700;
        font-size: 16px;
        border-radius: 6px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .mobile-filter-form button[type="submit"]:hover {
        background-color: #f1f1f1;
    }

}



/* Feature carousel */
@media only screen and (max-width: 767px) {

    /* Title & subtitle */
    .featured-cars .title-head h3.title-xl {
        font-size: 20px !important;
        line-height: 28px;
        margin-bottom: 10px;
    }

    .featured-cars .title-head p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    /* Car card body */
    .featured-cars .car-card-body h5 {
        font-size: 16px;
        line-height: 22px;
        margin: 10px 0 5px;
    }

    .featured-cars .car-card-body .car-variant {
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 10px;
    }

    .featured-cars .car-card-body .car-price {
        font-size: 15px;
        font-weight: 600;
    }

    /* Car image */
    .featured-cars .car-card-image img {
        width: 100%;
        height: auto;
        border-radius: 6px;
    }

    /* Wishlist icon */
    .featured-cars .card-wishlist {
        top: 10px;
        right: 10px;
        font-size: 16px;
    }

    /* Owl carousel nav buttons spacing */
    .featured-cars .custom-nav {
        justify-content: center !important;
    }

    .featured-cars .custom-nav button {
        font-size: 18px;
        padding: 5px 12px;
        margin: 0 5px;
    }

    .featured-cars .custom-nav {
        display: none !important;
    }

}

/* body type */

@media only screen and (max-width: 767px) {

    /* Section title */
    .find-cars .title-head h5.title-md {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .find-cars .title-head small {
        font-size: 13px;
        line-height: 20px;
        display: block;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    /* Card styling */
    .find-cars .body-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .find-cars .body-card img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .find-cars .body-card-label {
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    /* Adjust carousel spacing */
    .find-cars .owl-carousel .item {
        padding: 5px;
    }

    .find-cars .owl-carousel {
        margin-left: -10px;
        margin-right: -10px;
    }
}

/* Compare Section */
@media only screen and (max-width: 767px) {
    .section-padding-x {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .compare-ads {
        padding: 30px 0px !important;
        margin: 60px 0px !important;
    }

    .ads .title-md {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 10px;
        text-align: center;
    }

    .ads p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 15px;
        text-align: center;
        padding: 0 15px;
    }

    .ads .cta {
        text-align: center;
    }

    .ads .btn-primary {
        font-size: 14px;
        padding: 8px 18px;
        border-radius: 4px;
    }

    .ads .compare-ads {
        margin-bottom: 30px;
    }

    .ads img.img-fluid {
        max-width: 90%;
        height: auto;
    }
}

/* Fuel Type Section */
@media only screen and (max-width: 767px) {
    .fuel-type-section .title-head h3.title-xl {
        font-size: 20px !important;
        line-height: 28px;
        margin-bottom: 10px;
        font-weight: 700;

    }

    .fuel-type-section .title-head p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .fuel-type-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        border-radius: 0px !important;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        white-space: nowrap;
        border-bottom: 1px solid #333;
    }

    .fuel-tab {
        color: #fff;
        font-size: 16px;
        font-weight: 400;
        flex-shrink: 0;
        text-decoration: none;
        padding-bottom: 5px;
        border-bottom: 2px solid transparent;
    }

    .fuel-tab.active {
        font-weight: 600;
    }

    .fuel-type-tabs::-webkit-scrollbar {
        display: none;
    }

    .fuel-type-section .car-card {
        background: #111;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .fuel-type-section .car-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    }

    .car-card-body {
        padding: 10px 10px !important;
    }

    /* Car Image */
    .fuel-type-section .car-card-image img {
        width: 100%;
        height: auto;
        border-radius: 0;
        transition: transform 0.3s ease;
    }

    .fuel-type-section .car-card:hover .car-card-image img {
        transform: scale(1.05);
    }

    /* Car Title */
    .fuel-type-section .car-card-body h5 a {
        font-size: 18px;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
    }

    /* Variant */
    .fuel-type-section .car-card-body .car-variant {
        font-size: 14px;
        color: #aaa;
        margin-bottom: 8px;
    }

    /* Price */
    .fuel-type-section .car-card-body .car-price {
        font-size: 16px;
        font-weight: 700;
    }

    /* Wishlist Icon */
    .fuel-type-section .card-wishlist a {
        background: rgba(0, 0, 0, 0.6);
        padding: 6px;
        border-radius: 50%;
        color: #fff;
        transition: background 0.2s;
    }

    /* Navigation + See More in one row */
    .custom-nav-wrapper .left-blank {
        display: none !important;
    }

    .custom-nav-wrapper {
        justify-content: center !important;
        align-items: center !important;
        gap: 10px;
        width: 100%;
    }

    .btn-white-custom {
        font-size: 18px;
        padding: 6px 14px;
        color: #000;
        background-color: #fff !important;
        border-radius: 8px !important;
    }

    .custom-nav-wrapper .right-nav {
        display: none !important;
    }


    #see-more-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* body Style */

@media (max-width: 767px) {
    .find-cars .body-card {
        max-width: 180px;
        height: 160px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .listing-sec .item a {
        display: block;
        padding: 20px 10px;
        margin: 10px;
        border: 1px solid rgba(22, 28, 45, .3);
        background-color: transparent;
        transition-duration: .3s;
        min-height: 160px !important;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
    }

    .find-cars .title-head h5.title-md {
        font-size: 18px;
        line-height: 1.3;
        font-weight: 700;
    }

    .find-cars .title-head small {
        font-size: 14px;
        line-height: 1.4;
        color: #666;
    }

    .find-cars .body-card-label {
        color: #fff !important;
    }

    .find-cars .body-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: unset !important;
        display: block;
        margin: 0 auto;
    }
}

/* Brands  */
/* Desktop and Mobile */
.brand-listing .item {
    width: 227px !important;
    height: 160px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding:10px !important;
    border-radius: 8px !important;
    border: 1px solid #E9E9E9 !important;
    box-sizing: border-box;
}

/* Ensure image fits nicely */
.brand-listing .item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .section.leading-brand {
        padding: 60px 10px !important;
    } 

    .brand-listing .item {
        width: 173px !important;
        height: 130px !important;
        flex: 0 0 auto;
    }

    .leading-brand .title-head h5.title-md {
        font-size: 26px;
        font-weight: 700;
    }

    .leading-brand .title-head small {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .leading-brand .title-head small {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .leading-brand {
        margin-bottom: 20px;
    }
}


@media (min-width: 768px) {
    .section-padding-x {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .section-padding-y {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

@media (min-width: 1200px) {
    .section-padding-x {
        padding: 0px 20px !important;
        width: 100% !important;
        margin: 80px 0px !important;
    }

    .section-padding-y {
        padding: 40px 40px !important;
    }

}

@media (min-width: 992px) {
    .section-padding-x {
        padding: 0px 20px !important;
        width: 100% !important;
        margin: 80px 0px !important;
    }

    .section-padding-y {
        padding: 40px 40px !important;
    }
}