component-tabs .section-best-sellers__tabs-head-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8%;
}

component-tabs .tabs-head {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid #dee2e6;
    width: 100%;
}

component-tabs .tabs-head.justify-content-center {
    justify-content: center;
}

component-tabs .tabs-head .tabs-head_item {
    cursor: pointer;
    display: block;
    text-decoration: none;
    background: 0 0;
    border: none;
    color: var(--tab-text-color, #000);
    font-size: var(--tab-pc-font-size, 20px);
    line-height: 1.4;
    margin-bottom: calc(-1 * 1px);
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    height: 52px;
    padding: 12px 16px 9px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

component-tabs .tabs-head .tabs-head_item.active {
    color: var(--tab-active-text-color, var(--theme-color, #7d2898));
    background-color: var(--tab-active-bg-color, transparent);
    border-bottom: 3px solid var(--tab-active-text-color, var(--theme-color, #7d2898));
}

component-tabs[data-tab-count="1"] .tabs-head {
    border-bottom: none;
}

component-tabs[data-tab-count="1"] .tabs-head .tabs-head_item.active {
    border-bottom: none;
}

component-tabs .tabs-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
}

component-tabs .tabs-content > .tabs-pane {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    visibility: hidden;
}

component-tabs .tabs-content > .tabs-pane.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
    z-index: 1;
}

component-tabs .tabs-pane.auto-width {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 768px) {
    component-tabs .section-best-sellers__tabs-head-wrapper {
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    component-tabs .section-best-sellers__tabs-head-wrapper::-webkit-scrollbar {
        display: none;
    }

    component-tabs .tabs-head {
        flex-wrap: nowrap;
        padding: 0;
        width: auto;
        min-width: 100%;
    }

    component-tabs .tabs-head .tabs-head_item {
        font-size: var(--tab-m-font-size, 16px);
        line-height: 22px;
        height: 40px;
        padding: 9px 12px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    component-tabs .tabs-content {
        padding: 0 0px;
        margin-top: 20px;
    }

    component-tabs .tabs-content .tabs-pane {
        padding: 0;
    }

    component-tabs .tabs-pane.auto-width {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}