/* ─── Semantic Category Results Row (full search page) ─────────────────────── */
.zss-search-categories {
    margin: 0 0 32px;
    padding: 0;
}

.zss-search-categories-title {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 14px;
}

.zss-search-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.zss-search-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    flex: 1 1 0;
    min-width: 96px;
    max-width: 130px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.zss-search-cat-card:hover {
    border-color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    color: inherit;
    text-decoration: none;
}

.zss-search-cat-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
}

.zss-search-cat-placeholder {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f2f2f2;
    margin-bottom: 8px;
}

.zss-search-cat-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.zss-search-cat-count {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

/* ─── Instant-search: category chips ───────────────────────────────────────── */
.zss-instant-categories {
    padding: 8px 12px 4px;
    border-bottom: 1px solid #ebebeb;
}

.zss-instant-categories-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}

.zss-instant-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zss-instant-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    background: #fff;
    transition: background .15s, border-color .15s;
    white-space: nowrap;
}

.zss-instant-cat-chip:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #111;
    text-decoration: none;
}

.zss-instant-cat-chip img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Parent category labels */
.zss-instant-cat-parent,
.zss-search-cat-parent {
    font-weight: 400;
    color: #999;
    font-size: .9em;
}
