/* VMT Category Tabs Pro - chỉ tác động .section_product.pr_tab */

.section_product.pr_tab .col-img-banner {
    padding-right: 5px;
}

.section_product.pr_tab .tabbed-content ul > li.tab {
    margin-right: 12px;
}

.section_product.pr_tab .tabbed-content ul > li.tab > a::before {
    display: none;
}

.section_product.pr_tab .tabbed-content ul > li.tab > a {
    font-size: 15px;
    font-weight: 550;
    padding: 2px;
    border: 2px solid var(--main-color-2, #1b74e7);
    color: #000;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 110px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.section_product.pr_tab .tabbed-content ul > li.tab.active > a,
.section_product.pr_tab .tabbed-content ul > li.tab:hover > a {
    background: #fff;
    color: #f9aa57;
    border-color: #f9aa57;
}

.section_product.pr_tab .tabbed-content ul > li.tab > a > span {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 76px;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
}

.section_product.pr_tab .tabbed-content ul > li.tab > a > span::before {
    content: '';
    width: 70px;
    height: 70px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background-image: var(--vmt-tab-image, none);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.section_product.pr_tab .tabbed-content .tab-panels {
    padding-top: 5px;
}

@media only screen and (max-width: 1200px) {
    .section_product.pr_tab .col-img-banner {
        padding-right: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .section_product.pr_tab .col-img-banner > .col-inner {
        display: flex;
        justify-content: space-between;
    }

    .section_product.pr_tab .col-img-banner .img:nth-child(2) {
        text-align: right;
    }

    .section_product.pr_tab .col-img-banner img {
        width: 97%;
    }
}

@media only screen and (max-width: 48em) {
    .section_product.pr_tab .tabbed-content {
        margin-top: 20px;
    }

    .section_product.pr_tab .tabbed-content ul.nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .section_product.pr_tab .tabbed-content ul > li.tab {
        flex: 0 0 auto;
    }
}
