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

    .sh-mainpage-leaders {
        display: grid;
        /* grid-template-rows: 1fr; */
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 24px;
    }


    .sh-mainpage-leaders-title {
        padding-top: 47px;
        padding-bottom: 24px;
    }

    .tagfilter {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 25px;
    }

    .cat-name {
        font-size: 16px;
        display: flex;
        justify-content: center;
        padding: 0px 10px;
        height: 60px;
    }

    .cat-name A {
        color: #000000;
        height: 100%;
    }

    .cat-pic {
        width: 100%;
        height: 246px;
        display: flex;
        justify-content: center;
        margin: 20px 0px;

    }

    .cat-pic img {
        max-width: 246px;
        max-height: 246px;

        width: 100%;
        height: auto;
        /* сохраняет пропорции */
        display: block;
    }

    .cat-price {
        display: flex;
        font-size: 18px;
        /* font-weight: bold; */
        justify-content: center;
        padding: 0px 0px 10px 0px;
    }
}