.sub-categories-row {
    display: flex;
    flex-wrap: wrap;
}

.sub-category-wrap {
    width: 100%;
    padding-bottom: 15px;
}

.btn-sub-categories {
    padding: 3px 10px;
    border: 1px solid #E1E7EC;
    border-radius: 0;
    color: #002e5d;
    text-align: left;
    width: 100%;
    min-height: 56px;
    white-space: initial;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
}

.btn-sub-categories.active {
    border-color: #002e5d;
    font-weight: bold;
}

.btn-sub-categories:hover,
.btn-sub-categories:focus {
    color: #002e5d;
    border-color: #a0afbf;
    background-color: #f7fafc;
    transition: 0.3s;
}

.btn-sub-categories .name-sub-categories {
    margin-left: 10px;
}

@media (min-width: 400px) {
    .sub-category-wrap {
        width: 50%;
        padding: 0 12px 20px;
    }

    .sub-categories-row {
        margin: 20px 0;
    }
}

@media (min-width: 700px) {
    .sub-category-wrap {
        width: 33.33%;
    }
}

@media (min-width: 1200px) {
    /*.btn-sub-categories {
        width: calc(34% - 33px);
    }*/
    .sub-category-wrap {
        width: 25%;
    }
}