.store__sidebar {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px;
    border-radius: 8px;
    background: var(--white--white100);
    box-shadow: 0 0 3.6px 0 rgba(0, 0, 0, 0.15);
}

.store__sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store__sidebar-list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.store__sidebar-item:last-child {
    border-bottom: none;
}

.store__sidebar-item--hidden {
    display: none;
    pointer-events: none;
}

.store__sidebar-root-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
}

.store__sidebar-root-link {
    color: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    display: block;
    transition: color 0.2s ease;
}

.store__sidebar-root-link.is-active {
    font-weight: 500;
}

.store__sidebar-root-row:hover .store__sidebar-root-link {
    color: var(--azure--azure50);
}

.store__sidebar-toggle svg path {
    transition: stroke 0.2s ease;
}

.store__sidebar-root-row:hover .store__sidebar-toggle svg path{
    stroke: var(--azure--azure50);
}

.store__sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.store__sidebar-toggle-arrow {
    display: inline-flex;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.store__sidebar-toggle[aria-expanded="true"] .store__sidebar-toggle-arrow {
    transform: rotate(90deg);
}

.store__sidebar-children {
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.25s ease;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.store__sidebar-children--collapsed {
    /* state controlled by JS max-height/opacity; keep class for identification */
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.store__sidebar-children:not(.store__sidebar-children--collapsed) {
    max-height: 5000px;
    opacity: 1;
    pointer-events: auto;
}

.store__sidebar-leaf {
    color: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    display: block;
    transition: color 0.2s ease;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
    padding-left: 20px;
}

.store__sidebar-leaf:hover {
    color: var(--azure--azure50);
}

.store__sidebar-leaf.is-active {
    font-weight: 500;
}

.store__sidebar-show-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.store__sidebar-show-all svg {
    transition: transform 0.2s ease;
}

.store__sidebar-show-all.is-expanded svg {
    transform: rotate(180deg);
}

.store__sidebar-show-all-text {
    color: var(--color-link--default);
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

.store__sidebar-links {
    display: flex;
    flex-direction: column;
}

.store__sidebar-link {
    color: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
    padding-left: 20px;
    transition: color 0.2s ease;
}

.store__sidebar-link:hover {
    color: var(--azure--azure50);
}

@media (max-width: 1199px) {
    .store__sidebar {
        position: static;
        top: auto;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .store__sidebar {
        padding: 10px;
        gap: 12px;
        width: 100%;
    }

    .store__sidebar-root-link,
    .store__sidebar-leaf,
    .store__sidebar-show-all-text,
    .store__sidebar-link {
        font-size: 14px;
    }

    .store__sidebar-links {
        gap: 12px;
    }
}