/*============================================================================================
   Start Category Area
=============================================================================================*/
.category-section-head {
    margin-bottom: 32px;
    text-align: center;
}
.category-section-head h3 {
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 12px;
}
.category-section-head p {
    text-align: center;
    margin: 0;
}
.category.style-4 .category-inner {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.category.style-4 .category-card {
    display: block;
    text-align: center;
    background: #f6f8fa;
    border-radius: 12px;
    padding: 16px;
}
.category.style-4 .category-card p {
    font-size: 15px;
    line-height: 120%;
    text-align: center;
    color: var(--title-color);
    margin: 0;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}
.category.style-4 .category-card:hover p {
    color: var(--primary-color);
}
.category.style-4 .category-card img {
    max-width: 70px;
    height: 70px;
    object-fit: contain;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .category.style-4 .category-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media only screen and (max-width: 767px) {
    .category.style-4 .category-inner {
        grid-template-columns: repeat(3, 1fr);
    }
    .category-section-head h3 {
        font-size: 18px;
    }
    .category.style-4 .category-card img {
        min-width: 48px;
        height: 48px;
        max-width: 48px;
    }
    .category.style-4 .category-card p {
        font-size: 12px;
    }
}
/*============================================================================================
   End Category Area
=============================================================================================*/
