/* KB Elementor Sidebar - kb-sidebar.css */

.kbes-sidebar {
    font-family: inherit;
}

.kbes-heading {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid currentColor;
}

.kbes-cat-list,
.kbes-cat-children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kbes-cat-children {
    padding-left: 1rem;
    margin-top: 0.25rem;
}

.kbes-cat-item {
    margin: 0;
}

.kbes-cat-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    text-decoration: none !important;
    color: inherit;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}

.kbes-cat-link:hover {
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
}

.kbes-cat-item.kbes-active > .kbes-cat-link {
    font-weight: 600;
    background: rgba(0, 0, 0, 0.07);
}

.kbes-cat-icon {
    flex-shrink: 0;
    width: 1em;
    text-align: center;
}

.kbes-cat-name {
    flex: 1;
}

.kbes-cat-count {
    font-size: 0.85em;
    opacity: 0.6;
    flex-shrink: 0;
}

.kbes-empty {
    color: #999;
    font-style: italic;
}
