#popular_tabs {
    margin-bottom: 32px;
}

#popular_tabs .nav-link {
    border: 0px;
    border-bottom: 2px solid transparent;
    padding: 15px 28px;
    font-family: Lato;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #0c1529;
    margin-bottom: 0px;
}

#popular_tabs .nav-link.active {
    border-color: #2a9fe8;
    color: #2a9fe8;
}

.common-tabs-section .tabs-wrapper {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px 23px;
}

.common-tabs-section .tabs-wrapper .p-card {
    border: 1px solid #dcdae2;
    border-radius: 18.09px;
    padding: 11.9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 161px;
    max-height: 122px;
}

.common-tabs-section .tabs-wrapper .p-card:hover {
    border-color: #2a9fe8;
}

.common-tabs-section .tabs-wrapper .p-card .para {
    font-family: Lato;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    color: #64748b;
    margin-bottom: 0px;
    margin-top: 10px;
    max-width: 122px;
}

.top-seler-header.popular {
    margin-bottom: 24px !important;
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .common-tabs-section .tabs-wrapper .p-card .para {
        font-size: 17px;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="fuel"] {
        height: auto;
        max-width: 55px;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="car"] {
        height: 55px;
        max-width: 55px;
        object-fit: contain;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .common-tabs-section .tabs-wrapper .p-card .para {
        font-size: 17px;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="fuel"] {
        height: auto;
        max-width: 46px;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="car"] {
        height: 46px;
        max-width: 46px;
        object-fit: contain;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="body"] {
        height: 46px;
        max-width: 60px;
        object-fit: contain;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="dollar"] {
        height: 39px;
        max-width: 39px;
        object-fit: contain;
    }

    .common-tabs-section .tabs-wrapper {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .common-tabs-section .tabs-wrapper .p-card .para {
        font-size: 14px;
        margin-top: 6px;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="fuel"] {
        height: auto;
        max-width: 46px;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="car"] {
        height: 46px;
        max-width: 46px;
        object-fit: contain;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="body"] {
        height: 46px;
        max-width: 60px;
        object-fit: contain;
    }

    .common-tabs-section .tabs-wrapper .p-card img[data-img="dollar"] {
        height: 39px;
        max-width: 39px;
        object-fit: contain;
    }

    .common-tabs-section .tabs-wrapper {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }

    .common-tabs-section .tabs-wrapper .p-card {
        padding: 10px;
    }

    #popular_tabs .nav-link {
        padding: 10px 20px;
        font-size: 16px;
    }

    #popular_tabs {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 768px) {

    /* mobile */
    .common-tabs-section {
        display: flex;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        min-height: 144px;
    }

    #popular_tabs #nav-tab {
        display: flex;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        min-width: 400px;
    }

    #popular_tabs {
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin-block: 10px;
    }

    #popular_tabs .nav-link {
        border: 0px;
        padding: 6px 18px;
        font-size: 14px;
        line-height: 20px;
        color: #5d6370;
        border-bottom: 2px solid transparent;
    }

    .common-tabs-section .tabs-wrapper .p-card {
        border-radius: 8.7px;
        padding: 5.46px;
        min-width: 78px;
        min-height: 58px;
    }

    .common-tabs-section .tabs-wrapper .p-card .para {
        font-size: 12px;
        line-height: 16px;
        margin-top: 10px;
        max-width: 65px;
    }

    .common-tabs-section .tabs-wrapper {
        gap: 8px;
        width: 100%;
    }

    .tabs-wrapper[data-type="budget"] {
        grid-template-columns: repeat(4, 1fr);
        min-width: 400px;
    }
}
