.home-8-cat {
    margin: 0 !important;
    padding: 0;
    width: 100%;
}

.home-8-cat > .col-12 {
    padding-left: 0;
    padding-right: 0;
}

.home-category-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

.home-8-cat .home-8-div {
    background: #e9e9e9;
    border: 1px solid #fff;
    flex: none;
    max-width: none;
    min-width: 0;
    padding: 0;
    text-align: center;
    transition-duration: 0.4s;
}

.home-8-cat .home-category-card {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #2f2f2f;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    min-height: 118px;
    padding: 12px 8px 10px !important;
    transition: color 180ms ease;
}

.home-8-cat .home-category-icon {
    color: transparent;
    flex: 0 0 auto;
    filter: brightness(0);
    font-size: 0;
    height: 54px;
    line-height: 0;
    margin-bottom: 9px;
    object-fit: contain;
    width: 64px;
}

.home-8-cat .home-category-name {
    align-items: center;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.05;
    min-height: 38px;
    overflow-wrap: anywhere;
    padding: 0;
    text-align: center;
}

.home-8-cat .home-8-div:hover {
    background: #fff;
    border-color: #ccc;
}

.home-8-cat .home-category-card:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.18);
    outline: none;
}

.home-8-cat .home-category-card:active,
.home-8-cat .home-category-card.active,
.home-8-cat .home-category-card.is-active,
.home-8-cat .home-category-card[aria-current="true"],
.home-8-cat .home-category-card[aria-pressed="true"] {
    color: #000;
}

@media (min-width: 576px) {
    .home-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .home-category-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .home-8-cat .home-category-card {
        min-height: 124px;
    }
}
