.am-category {

    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 20px;

    margin: 40px 0;

}

.am-category-item {

    background: #fff;

    border: 1px solid #ececec;

    border-radius: 15px;

    padding: 20px 10px;

    text-align: center;

    text-decoration: none;

    transition: .3s;

    display: flex;

    flex-direction: column;

    align-items: center;

}

.am-category-item:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}

.am-category-item img {

    width: 70px;

    height: 70px;

    object-fit: contain;

    margin-bottom: 10px;

}

.am-category-item span {

    font-weight: 600;

    font-size: 16px;

    color: #333;

}

/* Tablet */

@media(max-width:991px) {

    .am-category {

        grid-template-columns: repeat(4, 1fr);

    }

}

/* Mobile */

@media(max-width:768px) {

    .am-category {

        grid-template-columns: repeat(3, 1fr);

        gap: 15px;

    }

    .am-category-item {

        padding: 15px 8px;

    }

    .am-category-item img {

        width: 55px;

        height: 55px;

    }

    .am-category-item span {

        font-size: 14px;

    }

}