/* Moma native catalog sidebar — categories remain editable in WooCommerce. */
#shop-sidebar {border:1px solid #ededed;border-radius:12px;padding:16px;background:#fff;box-shadow:none;}
#shop-sidebar .widget {margin-bottom:20px;}
#shop-sidebar .widget:last-child {margin-bottom:0;}
#shop-sidebar .widget_product_categories .widget-title {display:block;color:#333;font-size:14px;font-weight:600;line-height:1.6;margin:0 0 10px;}
#shop-sidebar .widget_product_categories>.is-divider {display:none;}
#shop-sidebar .product-categories {margin:0;padding:0;}
#shop-sidebar .product-categories li {position:relative;border:0!important;margin:0!important;padding:0!important;}
#shop-sidebar .product-categories li>a {display:flex;align-items:center;gap:9px;min-height:38px;line-height:1.6;padding:6px 8px!important;border-radius:8px;color:#555;font-size:13px;text-decoration:none;}
#shop-sidebar .product-categories li.has-child>a {padding-left:36px!important;}
#shop-sidebar .product-categories li>a:hover,#shop-sidebar .product-categories li.current-cat>a {background:#f5f5f5;color:#222;}
#shop-sidebar .product-categories a:focus-visible,#shop-sidebar .product-categories .toggle:focus-visible {outline:2px solid #777;outline-offset:-2px;}
#shop-sidebar .moma-catalog-icon {display:block;width:22px;height:22px;min-width:22px;flex:0 0 22px;color:#333;}
#shop-sidebar .moma-catalog-label {min-width:0;overflow-wrap:anywhere;color:inherit!important;font-size:inherit!important;font-weight:inherit;opacity:1!important;}
#shop-sidebar .product-categories .toggle {position:absolute;top:3px;left:0;right:auto;width:32px;height:32px;min-height:32px;margin:0;padding:0;border-radius:8px;color:#777;opacity:1;}
#shop-sidebar .product-categories .children {margin:4px 18px 6px 0!important;padding:0 10px 0 0!important;border-right:1px solid #eee;}
#shop-sidebar .product-categories .children a {font-size:12px;}
#shop-sidebar .widget_product_search .searchform>.flex-row {border:1px solid #e5e5e5;border-radius:9px;background:#f8f8f8;overflow:hidden;}
#shop-sidebar .widget_product_search .search-field {height:36px;border:0;box-shadow:none;background:transparent;font-size:12px;padding:0 10px;}
#shop-sidebar .widget_product_search .ux-search-submit {height:36px;min-height:36px;width:36px;min-width:36px;border:0;background:transparent!important;color:#555!important;box-shadow:none;padding:0;margin:0;}
@media(max-width:849px){#shop-sidebar {border:0;border-radius:0;padding:20px 16px;}}
@media(min-width:850px){
 .category-page-row>.col:has(>#shop-sidebar) {align-self:stretch;}
 .category-page-row #shop-sidebar {position:sticky;top:calc(var(--moma-catalog-header-offset,80px) + 16px);max-height:calc(100vh - var(--moma-catalog-header-offset,80px) - 32px);max-height:calc(100dvh - var(--moma-catalog-header-offset,80px) - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccc transparent;}
 body.archive .woocommerce-pagination {display:block!important;margin:24px 0;}
 body.archive .page-load-status,body.archive .view-more-button.products-archive {display:none!important;}
 .woocommerce-pagination .nav-pagination {display:flex;flex-wrap:wrap;justify-content:center;gap:6px;}
 .woocommerce-pagination .nav-pagination>li {margin:0;}
 .woocommerce-pagination .page-number {border-radius:9px;}
}
