/**
 * ====================================================================
 * Sidebar Navigation - Clean Minimal Design
 * ====================================================================
 * Styling for sidebar elements including HUSKY category menu
 * Update-safe! This file won't be affected by theme/plugin updates.
 */

/* ===== HUSKY Category Menu (iksm widget) ===== */
.iksm.iksm-container {
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e5e7;
}

/* Clean up inner spacing */
.iksm-terms {
    padding: 0;
}

/* Category Links - Clean Apple Style */
.iksm-term__link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: background 0.2s ease, color 0.2s ease;
}

.iksm-term__link:hover {
    background: #f5f5f7;
    color: #1d1d1f;
}

/* Active/Current Category */
.iksm-term--current > .iksm-term__inner > .iksm-term__link,
.iksm-term--current-ancestor > .iksm-term__inner > .iksm-term__link {
    background: #f5f5f7;
    font-weight: 500;
    color: #cd5618;
}

/* Category Text */
.iksm-term__text {
    flex: 1;
    line-height: 1.5;
}

/* Expand/Collapse Toggle Button */
.iksm-term__toggle {
    padding: 8px;
    cursor: pointer;
    color: #86868b;
    transition: color 0.2s ease;
}

.iksm-term__toggle:hover {
    color: #1d1d1f;
}

/* Shift spacing for nested items */
.iksm-term__shifts {
    background: transparent !important;
}

/* Product items in sidebar (if shown) */
.iksm-term--is-post .iksm-term__link {
    font-size: 13px;
    color: #86868b;
}

.iksm-term--is-post .iksm-term__link:hover {
    color: #1d1d1f;
}

/* ===== Optional: Add shadow to sidebar ===== */

.iksm.iksm-container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


/* ===== Optional: Use Team Colors for Active Items ===== */

.iksm-term--current > .iksm-term__inner > .iksm-term__link {
    color: #cd5618;
    background: rgba(205, 86, 24, 0.05);
}


