.wisal-cat-page {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    min-height: calc(100vh - 60px);
}

/* ===== Sidebar gauche ===== */
.wisal-cat-sidebar {
    width: 110px;
    flex-shrink: 0;
    background: #fafafa;
    border-right: 1px solid #eef1f5;
    overflow-y: auto;
}
.wisal-cat-sidebar-item {
    padding: 16px 10px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    text-align: left;
    border-left: 3px solid transparent;
}
.wisal-cat-sidebar-item.active {
    background: #fff;
    color: #1e1e2e;
    font-weight: 700;
    border-left-color: #1e1e2e;
}

/* ===== Contenu droite ===== */
.wisal-cat-content {
    flex: 1;
    min-width: 0;
    padding: 16px;
}
.wisal-cat-panel {
    display: none;
}
.wisal-cat-panel.show {
    display: block;
}

.wisal-cat-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    color: #1e1e2e;
}
.wisal-cat-panel-header a {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: none;
}

.wisal-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 12px;
}
.wisal-cat-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1e1e2e;
    font-size: 12px;
    text-align: center;
}
.wisal-cat-grid-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    background: #f1f5f9;
}
.wisal-cat-grid-icon-all {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1e1e2e;
}

@media (min-width: 768px) {
    .wisal-cat-sidebar { width: 160px; }
    .wisal-cat-grid { grid-template-columns: repeat(4, 1fr); }
}
.wisal-cat-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 6px;
    margin-right: 6px;
    vertical-align: middle;
    white-space: nowrap;
}

.wisal-cat-sidebar-item {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}