.cat-grid-167f144d {
    display: grid;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.cat-card-167f144d {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    text-decoration: none;
    box-sizing: border-box;
    z-index: 1;
    transform: translateZ(0); /* Fix overflow bugs in Safari */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.cat-card-167f144d:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.cat-image-167f144d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cat-overlay-167f144d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: background-color 0.3s ease;
}

.cat-info-167f144d {
    width: 100%;
    pointer-events: none;
}

.cat-name-167f144d {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.cat-empty-167f144d {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}
