.svc-catalog-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    align-content: flex-start;
}

.svc-catalog-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex: 1 1 calc(33.333% - 1px);
    min-width: 100px;
    max-width: calc(33.333% + 1px);
    padding: 16px 8px 14px;
    border: 1px solid #e8eef3;
    background: #fff;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    min-height: 130px;
}

.svc-catalog-item:hover {
    background: #f6fafd;
    transform: scale(1.02);
    z-index: 1;
    box-shadow: inset 0 0 0 2px #6aadcf;
}

.svc-catalog-item__img {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svc-catalog-item__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.svc-catalog-item__img:empty {
    background: #e8f4fc;
    border-radius: 8px;
}

.svc-catalog-item__name {
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.svc-catalog-item__book {
    font-size: 9px;
    font-weight: 700;
    color: #1a5278;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.svc-catalog-item:hover .svc-catalog-item__book {
    opacity: 1;
}

.svc-catalog-empty {
    padding: 24px;
    text-align: center;
    color: #64748b;
    width: 100%;
}

@media (max-width: 640px) {
    .svc-catalog-item {
        flex: 1 1 calc(50% - 1px);
        max-width: calc(50% + 1px);
    }
}
