.home-categories {
    background: #fff;
}

.home-category-card {
    display: block;
    color: inherit;
}

.home-category-card:hover {
    color: inherit;
}

.home-category-card .cat-item {
    position: relative;
    min-height: 118px;
    padding: 17px;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
}

.home-category-card__image {
    display: grid;
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    padding: 8px;
    place-items: center;
    overflow: hidden;
    border-radius: 17px;
    background: #f7f7f7;
}

.home-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-category-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #b5121b;
    border-radius: 12px;
    background: #fff2f3;
    font-size: 28px;
    font-weight: 950;
}

.home-category-card__content {
    min-width: 0;
    padding-inline-end: 24px;
}

.home-category-card__content h3 {
    margin: 0 0 9px;
    overflow: hidden;
    color: #171717;
    font-size: 16px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-category-card__content p {
    font-size: 12px;
}

.home-category-card__arrow {
    position: absolute;
    inset: 50% auto auto 15px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #b5121b;
    border-radius: 9px;
    background: #fff2f3;
    transform: translateY(-50%);
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.home-category-card:hover .home-category-card__arrow {
    color: #fff;
    background: #b5121b;
    transform: translate(-3px, -50%);
}

@media (max-width: 575.98px) {
    .home-category-card .cat-item {
        min-height: 105px;
        padding: 13px;
    }

    .home-category-card__image {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }
}
