/* Container styling */
.angie-sidebar-menu-container-6ff8c5f2 {
    display: block;
    width: 100%;
}

/* Bulletproof Sticky functionality */
.angie-sidebar-menu-container-6ff8c5f2.is-sticky-6ff8c5f2 {
    position: -webkit-sticky;
    position: sticky;
    z-index: 99;
    align-self: flex-start; /* Crucial so it doesn't stretch to full flex height */
    display: block;
}

.angie-wc-cat-list-6ff8c5f2 {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.angie-wc-cat-list-6ff8c5f2 li {
    list-style: none !important;
    display: block;
}

.angie-wc-cat-list-6ff8c5f2 a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Parent formatting */
.angie-cat-parent-6ff8c5f2 > a {
    justify-content: flex-start;
}

/* Child indentation & flex layout */
.angie-wc-subcat-list-6ff8c5f2 {
    margin-left: 20px !important;
    padding: 0;
    list-style: none !important;
}

.angie-cat-child-6ff8c5f2 > a {
    justify-content: space-between;
    border-left: 2px solid transparent; /* Ready for hover accent */
}

/* Circular Badge styling */
.angie-sidebar-menu-container-6ff8c5f2 .cat-count-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #E8E5E1;
    color: #888;
    width: 24px;
    height: 24px;
    font-size: 12px;
    margin-left: auto; /* Push to right */
    flex-shrink: 0; /* Prevent squishing */
}

/* Group Divider */
hr.angie-group-divider-6ff8c5f2 {
    border: 0;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #ddd;
    margin: 15px 0;
}

/* Mobile Toggle Styles */
.angie-mobile-toggle-btn-6ff8c5f2 {
    display: none; /* Hidden on desktop */
    width: 100%;
    cursor: pointer;
    text-align: left;
    border: none;
}

/* Mobile View: max-width 767px */
@media (max-width: 767px) {
    .angie-mobile-toggle-btn-6ff8c5f2 {
        display: block; /* Show on mobile */
    }
    
    .angie-wc-cat-list-wrapper-6ff8c5f2 {
        display: none; /* Hide list by default on mobile */
    }
    
    .angie-wc-cat-list-wrapper-6ff8c5f2.is-open {
        display: block; /* Show list when toggle is clicked */
    }
}

/* Desktop View: min-width 768px */
@media (min-width: 768px) {
    .angie-wc-cat-list-wrapper-6ff8c5f2 {
        display: block !important; /* Always visible on desktop */
    }
}
