/* Plain category accordion with indented subcategories, not flat filter pills. */
.storefront .catalog-layout>.catalog-sidebar { display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;padding-top:0; }
.storefront .catalog-layout>.catalog-sidebar[hidden] { display:none!important; }
@media(min-width:701px) { .storefront .catalog-layout>.catalog-sidebar[hidden] { display:flex!important;visibility:hidden; } }
.storefront .catalog-sidebar .catalog-all-items,
.storefront .catalog-sidebar .catalog-category-single,
.storefront .catalog-sidebar .catalog-category-toggle,
.storefront .catalog-sidebar .catalog-folder-toggle {
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    width:100%;min-height:42px;padding:10px 0;border:0;border-radius:0;
    background:transparent;text-align:start;font:inherit;font-size:13px;
    font-weight:500;color:var(--store-ink);cursor:pointer;list-style:none;
}
.storefront .catalog-sidebar .catalog-all-items { color:var(--store-muted);margin-bottom:10px;font-size:12px; }
.storefront .catalog-sidebar .catalog-all-items.active,
.storefront .catalog-sidebar .catalog-category-single.active,
.storefront .catalog-sidebar .catalog-category-toggle.is-current { color:var(--store-ink);font-weight:650; }
.storefront .catalog-sidebar .catalog-category-group { width:100%;margin:0; }
.storefront .catalog-sidebar .catalog-category-toggle::-webkit-details-marker,
.storefront .catalog-sidebar .catalog-folder-toggle::-webkit-details-marker { display:none; }
.storefront .catalog-sidebar :is(.catalog-category-toggle,.catalog-folder-toggle)::marker { content:''; }
.storefront .catalog-sidebar :is(.catalog-category-toggle,.catalog-folder-toggle)::after {
    content:'';width:6px;height:6px;flex:none;margin-inline:8px 4px;
    border-inline-end:1px solid #827c7e;border-bottom:1px solid #827c7e;
    transform:rotate(45deg);transition:transform .16s ease;
}
.storefront .catalog-sidebar details[open]>.catalog-category-toggle::after,
.storefront .catalog-sidebar details[open]>.catalog-folder-toggle::after { transform:rotate(225deg); }
.storefront .catalog-sidebar .catalog-category-children { display:flex;flex-direction:column;gap:0;padding-inline-start:12px;padding-bottom:8px; }
.storefront .catalog-sidebar details:not([open])>.catalog-category-children { display:none; }
.storefront .catalog-sidebar .subcategory-link {
    width:100%;min-height:36px;padding:8px 0;border:0;border-radius:0;
    background:transparent;color:var(--store-muted);font-size:13px;line-height:1.5;text-align:start;
}
.storefront .catalog-sidebar .subcategory-link.active { background:transparent;color:var(--store-ink);font-weight:600; }
.storefront .catalog-sidebar :is(button,summary):hover { color:var(--store-rose);background:transparent; }
.storefront .catalog-sidebar .catalog-folder-toggle { color:var(--store-muted);font-weight:400;min-height:36px;padding:8px 0; }
.storefront .catalog-sidebar :is(button,summary):focus-visible { outline:2px solid var(--store-rose);outline-offset:3px;border-radius:3px; }
html[dir=rtl] .storefront .catalog-sidebar :is(.catalog-category-toggle,.catalog-folder-toggle)::after { transform:rotate(-45deg); }
html[dir=rtl] .storefront .catalog-sidebar details[open]>:is(.catalog-category-toggle,.catalog-folder-toggle)::after { transform:rotate(135deg); }
@media(max-width:700px) {
    .storefront .catalog-layout>.catalog-sidebar { flex-direction:column;flex-basis:auto;width:100%;max-height:340px;overflow-y:auto;padding:8px 0 16px;border-bottom:1px solid var(--store-line); }
    .storefront .catalog-sidebar .catalog-category-toggle,
    .storefront .catalog-sidebar .catalog-category-single,
    .storefront .catalog-sidebar .catalog-all-items,
    .storefront .catalog-sidebar .subcategory-link,
    .storefront .catalog-sidebar .catalog-folder-toggle { min-height:44px;padding-block:10px; }
}
@media(prefers-reduced-motion:reduce) {
    .storefront .catalog-sidebar :is(.catalog-category-toggle,.catalog-folder-toggle)::after { transition:none; }
}
