.used-vehicles-table .used-vehicle-detail-wrap {
    background: #f0f0f0;
}

@media (max-width: 1024px) {
    .used-vehicles-table thead th:nth-child(1),
    .used-vehicles-table thead th:nth-child(5),
    .used-vehicles-table .used-vehicles-list-item td:nth-child(1),
    .used-vehicles-table .used-vehicles-list-item td:nth-child(5) {
        display: none;
    }
}

@media (max-width: 768px) {
    .used-vehicles-table {
        font-size: 14px;
    }

    .used-vehicles-table thead,
    .used-vehicles-table tbody {
        display: block;
    }

    .used-vehicles-table thead tr,
    .used-vehicles-table .used-vehicles-list-item {
        display: grid;
        grid-template-columns: minmax(84px, 1fr) minmax(132px, 1.4fr) minmax(88px, 0.9fr) 32px;
        column-gap: 8px;
        align-items: center;
        width: 100%;
    }

    .used-vehicles-table thead th:nth-child(3),
    .used-vehicles-table .used-vehicles-list-item td:nth-child(3) {
        display: none;
    }

    .used-vehicles-table .chevron-column,
    .used-vehicles-table .table-collapse-icon-cell {
        width: 32px !important;
        min-width: 32px;
        max-width: 32px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }

    .used-vehicles-table .used-vehicles-list-item td {
        padding: 8px 6px !important;
        vertical-align: middle !important;
    }

    .used-vehicles-table thead th,
    .used-vehicles-table .used-vehicles-list-item td {
        width: auto !important;
        min-width: 0;
    }

    .used-vehicles-table thead th:nth-child(2),
    .used-vehicles-table .used-vehicles-list-item td:nth-child(2) {
        white-space: nowrap;
    }

    .used-vehicles-table thead th:nth-child(4),
    .used-vehicles-table .used-vehicles-list-item td:nth-child(4) {
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .used-vehicles-table thead th:nth-child(6),
    .used-vehicles-table .used-vehicles-list-item td:nth-child(6) {
        white-space: nowrap;
    }

    .used-vehicles-table .table-collapse-icon-cell {
        padding: 8px 0 !important;
        position: relative;
        left: 0;
        right: 0;
        transform: translateX(-12px);
    }

    .used-vehicles-table .table-collapse-icon-cell i {
        display: inline-block;
    }

    .used-vehicle-detail-wrap table {
        width: 100%;
        table-layout: fixed;
    }

    .used-vehicle-detail-wrap td {
        padding: 5px 8px !important;
    }

    .used-vehicle-detail-wrap table td:first-child {
        font-size: 12px;
        color: #888;
        white-space: normal;
    }

    .used-vehicle-detail-wrap table td:last-child {
        font-size: 14px;
        white-space: nowrap;
    }
}

@media (max-width: 375px) {
    .used-vehicles-table {
        font-size: 13px;
    }

    .used-vehicles-table thead tr,
    .used-vehicles-table .used-vehicles-list-item {
        grid-template-columns: minmax(72px, 0.95fr) minmax(108px, 1.2fr) minmax(82px, 0.85fr) 26px;
        column-gap: 6px;
    }

    .used-vehicles-table .chevron-column,
    .used-vehicles-table .table-collapse-icon-cell {
        width: 26px !important;
        min-width: 26px;
        max-width: 26px;
    }

    .used-vehicles-table .table-collapse-icon-cell {
        transform: translateX(-10px);
    }

    .used-vehicles-table thead th,
    .used-vehicles-table .used-vehicles-list-item td {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}
