﻿.fa-home-cats-wrap {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 14px 0;
    /*margin: 14px 0 18px 0;*/
    margin: 0 0 12px 0;
    box-shadow: none;
}

.fa-home-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.fa-home-cat {
    width: calc(12.5% - 9px);
    min-height: 110px;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 14px;
    text-decoration: none;
    color: #1f2d3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    text-align: center;
    transition: all 0.18s ease;
    box-sizing: border-box;
}

    .fa-home-cat:hover {
        border-color: #cfd9e6;
        box-shadow: 0 6px 18px rgba(0,0,0,0.07);
        transform: translateY(-1px);
        text-decoration: none;
        color: #0d6efd;
    }

.fa-home-cat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #f4f8fc;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 35px;
}

.fa-home-cat-text {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    color: #243447;
}

/* tablet */
@media (max-width: 991px) {
    .fa-home-cat {
        width: calc(25% - 8px);
        min-height: 98px;
        padding: 12px 6px;
    }

    .fa-home-cat-icon {
        width: 46px;
        height: 46px;
        font-size: 30px;
        margin-bottom: 8px;
    }

    .fa-home-cat-text {
        font-size: 13px;
    }
}

/* mobile */
@media (max-width: 575px) {
    .fa-home-cats-wrap {
        padding: 10px 0;
    }

    .fa-home-cats {
        gap: 8px;
    }

    .fa-home-cat {
        width: calc(25% - 6px);
        min-height: 88px;
        border-radius: 12px;
        padding: 10px 4px;
    }

    .fa-home-cat-icon {
        width: 40px;
        height: 40px;
        font-size: 25px;
        border-radius: 12px;
        margin-bottom: 6px;
    }

    .fa-home-cat-text {
        font-size: 12px;
        line-height: 1.15;
        font-weight: 600;
    }
}
