section.car-filter {
    padding: 0;
    background: #f4f5f9;
    font-family: 'ECR';
}

@media (min-width: 768px){
    section.car-filter{
        padding: 70px 0px;
    }
}

.car-filter .container {
    display: flex;
    flex-flow: wrap;
}
.lf-car {
    display: inline-block;
    width: 26%;
}
.car-filter .cr-filter-container {
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}
.swiper-wrapper, .car-slider {
    height:auto;
}

.incl-boxes {
    display: grid;
    text-align: center;
    gap: 9px;
    padding: 15px 0px;
    grid-template-columns: repeat(3,1fr);
}

.incl-boxes .bxs {
    background: #d8dbfda1;
    padding: 16px 14px;
    border-radius:10px;
}
.incl-boxes .bxs img {
    width: 20px;
    margin-bottom: 5px;
}
.incl-boxes .bxs p {
    font-size: 11px;
    line-height:15px;
}
  .car-filter .cr-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .car-filter .cr-filter-header h3 {
    margin: 0px;
    font-size: 22px;
}
.car-filter button.cr-tab {
    border: 0px;
}
.car-filter .cr-tabs {
    display: flex;
    margin: 15px 0;
    border-bottom: 2px solid #eee;
  }
  
  .car-filter .cr-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
  }
  .car-filter .car-filter button.cr-tab {
    border: 1px solid black;
    border-width: 0px 0px;
}
  
.car-filter button.cr-tab.active {
    background: transparent;
    border: 2px solid #4433ff;
    border-width: 0px 0px 2px 0px !important;
}
  
  .car-filter label {
    display: block;
    margin: 20px 0 10px;
    font-weight: 500;
    font-size: 14px;
  }
  
  .car-filter select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
  }
  
  .car-filter .cr-double-input {
    display: flex;
    gap: 10px;
  }
  
  .car-filter .cr-toggle-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .car-filter .cr-toggle-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #eee;
    cursor: pointer;
  }
  
  .car-filter .cr-toggle-btn.active {
    background: #4433ff;
    color: white;
    border-color: #4433ff;
  }
  
  .car-filter .cr-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
  }
  
  .car-filter .cr-info-icon,
  .car-filter .cr-diamond-icon {
    margin-left: auto;
  }
  
  .car-filter .cr-unit-switch {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 5px;
  }
  
  .car-filter .cr-unit {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #888;
  }
  
  .car-filter .cr-unit.active {
    background: #4433ff;
    color: white;
  }
  
  .car-filter .cr-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
  }
  
  .car-filter .cr-color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ccc;
    cursor: pointer;
  }
  
  .black { background: black; }
  .white { background: white; }
  .gray { background: gray; }
  .red { background: red; }
  .blue { background: blue; }
  .silver { background: #c0c0c0; }
  .green { background: green; }
  .beige { background: #ddd4b7; }
  .yellow { background: yellow; }
  .orange { background: orange; }
  .gold { background: #ffd700; }
  .purple { background: purple; }
  
  .car-filter .cr-more-features {
    display: inline-block;
    margin: 10px 0;
    color: #4433ff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .car-filter .cr-search-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #4433ff;
    background: white;
    color: #4433ff;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
  }
  .cr-b-cr {
    text-align: center;
    background-image: url(/assets/images/serp-video-banner.webp);
    margin-top: 30px;
    padding: 30px 30px 60px;
    background-size: cover;
    border-radius: 6px;
    background-position: center;
}
.cr-b-cr h3 {
    font-size: 22px;
    width: 80%;
    margin: 0 auto 50px;
    line-height: 30px;
    color: #fff;
}
.cr-b-cr a.button {
    background-image: linear-gradient(to right, #ff9800 0%, #ff7300 33%, #db5600 82%);
}
.cr-right-panel {
    padding: 20px 0px 0px 30px;
}
  .rt-car {
    width: 74%;
}  
  .cr-top-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 0px 20px 0px 0px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
  }
  
  .cr-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
  }
  
  .cr-btn-outline {
    border: 1px solid #4433ff;
    background: white;
    color: #4433ff;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .cr-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .cr-tag {
    background: #eae9ff;
    color: #4433ff;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
  }
  
  .cr-btn-orange {
    background: #ff6a00;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
  }
  
  .cr-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  
  .rt-car .cr-results-header h2 {
    width: 100%;
    flex: unset;
    font-size: 24px;
    margin-bottom: 20px;
}
  
  .cr-results-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: #333;
  }
  
  .cr-sort-dropdown {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
  }
  
  .cr-pagination {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    margin-top: 10px;
  }
  
  .cr-page-btn {
    background: white;
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .cr-page-btn.active {
    background: #4433ff;
    color: white;
    border-color: #4433ff;
  }
  
  .cr-page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .cr-car-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .cr-car-card {
    display: flex;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden;
  }
  
  .cr-car-image img {
    width: 400px;
    height: 100%;
    object-fit: cover;
  }
  
  .cr-car-info {
    padding: 15px;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    display: flex;
}
  
  .cr-car-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
  }
  
  .cr-car-info p {
    margin: 0 0 10px;
    color: #666;
    font-size: 14px;
  }
  
  .cr-car-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #555;
  }
  
  .cr-car-tags span {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 6px;
  }
  
  .cr-car-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: bold;
  }
  .cr-filter-section a.button {
    display: block;
    margin-top: 20px;
}
  @media (max-width: 768px) {
    .lf-car {
        display: none;
    }
    .cr-right-panel {
        padding: 0px;
    }
    .rt-car {
        width: 100%;
        margin-top: 50px;
    }
    .cr-top-banner span {
        font-size: 12px;
    }
    button.cr-btn-outline {
        font-size: 12px;
        padding: 8px 11px;
    }
    .cr-car-card {
        flex-flow: wrap;
    }
    .cr-car-image img {
        width: 100%;
    }
  }

  /* detail css */
  .car-detail-header {
    background: #fff;
  }
  
  .car-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .back-btn {
    color: #4433ff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
  }
  
  .car-detail-top h1 {
    flex: 1;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
  }
  
  .actions {
    display: flex;
    gap: 15px;
  }
  
  .icon-link {
    color: #4433ff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
  }
  
  .accessories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #444;
    margin: 10px 0;
  }
  
  .car-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  .car-tags span {
    background: #eae9ff;
    color: #4433ff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
  }
  
  .car-tags .more {
    background: #dcdcdc;
    color: #444;
  }
  
  .car-slider {
    width: 100%;
    max-width: 100%;
    padding: 10px 0;
  }
  
  .car-slider img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

section.cr-det {
    padding: 30px 0px;
}
section.sf {
    padding: 30px 0px;
}
.sf .container {
    display: flex;
    gap: 30px;
}
.sf-l {
    background: #d8dbfd;
    width: 70%;
    padding: 40px 30px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
    height: max-content;
}
.s1 .sn h4 {
    font-size: 18px;
    margin-bottom: 5px;
    margin-top: 5px;
}
.sn p {
    font-size: 14px;
    line-height: 22px;
}
.s1 {
    flex: 1;
}
.sf .sr {
    padding: 30px;
    width: 30%;
    box-shadow: 0px 0px 4px 0px #00000030;
    border-radius: 10px;
}
.ps {
    display: flex;
    justify-content: space-between;
}
.ps h3 {
    font-size: 20px;
    margin: 0px;
}
.ps.l {
    padding-top: 15px;
    margin-top: 20px;
    border: 1px solid gainsboro;
    border-width: 1px 0px 0px;
}
.ps.l h3 {
    margin: 0px;
}
.sr a.button, .sr a.button.w {
    display: block;
    margin: 10px 0px;
}
a.button.w {
    background: transparent;
    border: 1px solid #262a98;
    color: #262a98 !important;
}
a.button.w:hover {
    color: #fff !important;
}
.dt-car-details-section {
    padding: 30px;
    font-family: Arial, sans-serif;
  }
  
  .dt-car-details-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e1e65;
  }
  
  .dt-car-details-section h3,
  .dt-car-details-section h4 {
    font-size: 18px;
    margin-top: 25px;
    color: #1e1e65;
  }
  
  .dt-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 15px;
  }
  
  .dt-details-grid > div {
    min-width: 150px;
  }
  
  .dt-general-info .dt-general-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    font-size: 15px;
    margin-top: 10px;
  }
  
  .dt-general-grid a {
    color: #4433ff;
    font-weight: bold;
    text-decoration: none;
  }
  
  .dt-features-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 15px;
  }
  
  .dt-features-columns > div {
    flex: 1;
    min-width: 250px;
  }
  
  .dt-features-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .dt-features-columns li {
    margin-bottom: 8px;
    font-size: 14px;
  }
  
  .dt-tag {
    background-color: #eae9ff;
    color: #4433ff;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
  }
  section.dtls {
    background: #f4f5f9;
    padding: 60px 0px;
}
.dt-car-details-section {
    max-width: 65%;
}  
.testimonial-slider img {
    width: 100%;
    border-radius: 10px 10px 0px 0px;
}
.review-text {
    padding: 20px;
}
.review-text p {
    font-size: 15px;
}
.swiper-slide.testimonial-card {
    background: #fff;
    border-radius: 10px;
}
  
  .mp-price-history,
  .mp-price-map {
    margin-bottom: 40px;
  }
  
  .mp-price-history h2,
  .mp-price-map h2 {
    font-size: 24px;
    color: #1e1e65;
    margin-bottom: 20px;
  }
  
  .mp-chart-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    margin-bottom: 10px;
  }
  
  .mp-note {
    color: #666;
    font-weight: bold;
    margin: 0 0 4px;
  }
  
  .mp-duration {
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .mp-chart-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    position: relative;
    margin-bottom: 20px;
  }
  
  .mp-price-left,
  .mp-price-right {
    background: #eae9ff;
    color: #4433ff;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 6px;
    font-weight: bold;
  }
  
  .mp-line {
    height: 4px;
    background: #d4d2fc;
    flex: 1;
    margin: 0 10px;
    position: relative;
    box-shadow: 0 2px 10px rgba(68, 51, 255, 0.2);
  }
  
  .mp-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
    margin-top: 8px;
    padding: 0 10px;
  }
  
  .mp-description {
    text-align: center;
    font-size: 13px;
    color: #444;
    margin-top: 10px;
  }
  
  /* PRICE MAP */
  .mp-price-map {
    background: #f1f5fc;
  }
  
  .mp-map-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    padding-top: 20px;
    position: relative;
    overflow: hidden;
  }
  
  .mp-y-axis {
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 30px;
    width: 90px;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 13px;
    color: #3a4e78;
    height: max-content;
    gap: 38px;
  }
  
  .mp-x-axis {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #3a4e78;
    padding: 10px 0 15px 60px;
  }
  
  .mp-map-content {
    position: relative;
    height: 220px;
    margin-left: 90px;
  }
  
  .mp-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .mp-grid-lines span {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e7f5;
  }
  
  .mp-grid-lines span:nth-child(1) { top: 0; }
  .mp-grid-lines span:nth-child(2) { top: 25%; }
  .mp-grid-lines span:nth-child(3) { top: 50%; }
  .mp-grid-lines span:nth-child(4) { top: 75%; }
  .mp-grid-lines span:nth-child(5) { top: 100%; }
  
  .mp-dot {
    position: absolute;
    transform: translate(-50%, 50%);
  }
  
  .mp-dot-orange {
    width: 16px;
    height: 16px;
    background: #ff6a00;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(255, 122, 0, 0.2);
    z-index: 2;
  }
  
  .mp-dot-blue {
    width: 14px;
    height: 14px;
    background: #2e47ff;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(78, 100, 255, 0.2);
    z-index: 1;
  }
  
  .mp-small {
    width: 8px;
    height: 8px;
    background: #7083ff;
    border-radius: 50%;
    opacity: 0.5;
  }
  .mp-section {
    padding: 40px 0px;
    width: 70%;
}
@media (max-width: 767px) {
    .car-detail-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 25px;
    }
    .car-detail-header {
        padding: 0px;
    }
    .car-tags {
        gap: 5px;
    }
    .car-tags span {
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 11px;
    }
    .car-detail-header .accessories {
        gap: 10px;
    }
    .sf .container {
        flex-flow: wrap;
    }
    .sf-l {
        width: 100%;
        text-align: center;
    }
    .s1 {
        flex: unset;
        width: 100%;
    }
    .sf-l {
        width: 100%;
        text-align: center;
        flex-flow: wrap;
    }
    .sf .sr {
        width: 100%;
        padding: 20px;
    }
    .dt-car-details-section {
        max-width: 100%;
        padding: 0px;
    }
    .dt-details-grid {
        gap: 10px;
    }
    .dt-general-info {
        margin-bottom: 35px;
    }
    .dt-features-columns h4 {
        margin-top: 0px;
    }
    .mp-section {
        padding: 40px 0px 0px;
        width: 100%;
    }
    section.dtls {
        padding: 60px 0px 30px;
    }
}

cr-color-picker span.color {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    color: transparent;
    box-shadow: 0px 0px 1px 0px black;
}
.select_city {
    display: flex;
    flex-flow: wrap;
    gap: 6px;
}
.select_city span.cities {
    font-size: 12px;
    border: 1px solid gainsboro;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
}
.car-filter .cr-checkboxes label {
    font-size: 13px;
}
@media (max-width: 767px) {
  .newsf {
    flex-direction: column-reverse;
}
.width-side {
    width: 100%;
}
.car_overview {
    grid-template-columns: repeat(1, 1fr);
}
.data-holder .feature-list__item {
    font-size: 10px;
}
.data-holder {
    grid-gap: 20px;
}
.data-holder h4.sub-title {
    font-size: 14px;
}
.features_tabtitle {
    flex-flow: wrap;
}
.features_tabtitle div {
    padding: 10px 13px;
    font-size: 14px;
    width: 120px;
    border-radius: 10px;
}
.ftr-imgs {
    gap: 5px;
}
.ftr-imgs img {
    max-width: 78px;
}
}
.incl-boxes {
    display: grid;
    text-align: center;
    gap: 9px;
    padding: 15px 0px;
    grid-template-columns: repeat(3, 1fr);
}
.incl-boxes .bxs img {
    width: 20px;
    margin-bottom: 5px;
}
.incl-boxes .bxs p {
    font-size: 11px;
    line-height: 15px;
}
.incl-boxes .bxs {
    background: #d8dbfda1;
    padding: 16px 14px;
    border-radius: 10px;
}
.sf.sfnew .container {
    display: inherit;
}
.newsf {
    display: flex;
    gap: 30px;
}
.newsf .sf-l {
    width: 100%;
}
.width-side {
    width: 70%;
}
.car_overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.detail-gen {
    padding: 40px 0px;
    border: 1px solid gainsboro;
    border-width: 0px 0px 1px;
}
.car_overview .over-inner {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 0px 4px 0px gainsboro;
}
.over-inner h4 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.over-inner p {
    font-size: 14px;
}
.sf.sfnew .sr {
    height: max-content;
}
.detail-gen h3 {
    font-size: 24px;
}
/* General container style */
.features_tab {
    margin: 20px auto 0px;
}

/* Styling for the tab titles */
.features_tabtitle {
    display: flex;
    cursor: pointer;
    justify-content: space-around;
    background-color: #d8dbfda1;
    padding: 4px;
    border-radius: 14px;
    gap: 10px;
}

.features_tabtitle div {
    padding: 13px 10px;
    text-align: center;
    flex-grow: 1;
    font-family: 'ECR', sans-serif; /* Ensure the font family is properly applied */
    font-weight: 500;
    border-radius: 12px;
    width: 200px;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover */
}

.features_tabtitle div:hover {
    background-color: #fff;
    color: #000;
}

/* Active tab background color */
.active-tab {
    background-color: #262a98;
    color: #fff;
}

/* Image styles inside the tab content */
.ftr-imgs img {
    width: 100%; /* Allow images to scale to container */
    max-width: 90px; /* Set a max width for images to maintain layout */
    height: auto;
    margin: 5px 0;
}

/* Tab content container styling */
.features_tabcontent {
    display: none; /* Hide all content by default */
    padding: 30px 0px 0px;
}

.features_tabcontent.active {
    display: block; /* Display the active tab's content */
}

/* Image wrapper for each tab content */
.ftr-imgs {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of images */
    gap: 20px;
    padding-top: 20px;
}

/* Optional styling for the text below images */
.features_tabcontent p {
    font-family: 'ECR';
    font-size: 14px;
    margin-bottom: 5px;
}

.features_tabcontent span {
    color: gray;
    font-size: 13px;
}

/* Add a border around the image container for clarity */
.ftr-imgs {
    padding: 20px 0px 0px;
    border-radius: 8px;
}

.data-holder .feature-list__item {
    display: grid;
    grid-template-columns: auto auto;
    min-height: 50px;
    padding: 5px 0;
    align-items: center;
    justify-content: space-between;
    grid-gap: 10px;
    border-bottom: 1px solid #E9E9EA;
    font-size: 14px;
    color: #727272;
    font-family: 'ECR';
}
.data-holder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
}
.data-holder h4.sub-title {
    font-size: 16px;
    margin-bottom: 5px;
}