.region-tabs-v2 {
    margin-bottom: 20px;
    box-shadow: 0 1px 0 0 #e6e6e6;
}

.region-tabs-v2__list {
    line-height: 0;
    color: #333336;
    display: inline-flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0;
}

.region-tabs-v2__list-item {
    display: inline-block;
    font-weight: 500;
    font-family: SF Pro Display, Roboto, sans-serif;
    line-height: 60px;
    color: inherit;
    user-select: none;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.region-tabs-v2__list-item_active {
    pointer-events: none;
    cursor: default;
}

.region-tabs-v2__list-item-link {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: unset;
    white-space: nowrap;
}

.region-tabs-v2__list-item-link:focus {
    color: inherit;
}

.region-tabs-v2__list-item_active:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 10px;
    width: 100%;
    background-color: #333336;
    border-radius: 2px;
}

.region-tabs-v2__list-item-text {
    display: inline-block;
    font-size: inherit;
    font-family: inherit;
    margin: 0;
    line-height: inherit;
}

.region-tabs-v2__list-item-total {
    display: inline-block;
}

.region-tabs-v2__list-item > *:first-child > .region-tabs-v2__list-item-link {
    padding-left: 7px;
}

.region-tabs-v2__list-item > *:last-child > .region-tabs-v2__list-item-link {
    padding-right: 7px;
}

/* Если доступен ховер */
@media (hover: hover) and (pointer: fine) {
    .region-tabs-v2__list:hover {
        color: #86868b;
    }

    .region-tabs-v2__list-item:hover {
        color: #333336;
    }

    .region-tabs-v2__list-item-link:hover {
        color: inherit;
    }
}

/* Сенсорные мобильные устройства любого размера экрана */

@media only screen and (hover: none) and (pointer: coarse) {
    .region-tabs-v2 {
        max-height: 60px;
        overflow: hidden;
    }

    .region-tabs-v2__list {
        overflow-x: auto;
        padding-bottom: 50px;
        flex-wrap: nowrap;
    }
}