.momo-category-filter{width:100%;clear:both;margin:12px 0 26px;font-family:inherit}.momo-category-main{display:flex;align-items:center;justify-content:center;gap:12px 18px;flex-wrap:wrap}.momo-category-item{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.momo-category-main a,.momo-category-sub a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;background:#fff;color:#333!important;border:1px solid #ddd;border-radius:25px;padding:9px 16px;font-size:13px;line-height:1.4;transition:background .15s,border-color .15s}.momo-category-main a:hover,.momo-category-sub a:hover,.momo-category-main a.is-active,.momo-category-sub a.is-active{border-color:#333;background:#f4f4f4}.momo-category-expand{appearance:none!important;border:0!important;background:transparent!important;color:#555!important;font-size:21px!important;line-height:1!important;padding:5px!important;cursor:pointer;min-width:24px}.momo-category-expand:hover{color:#111!important}.momo-category-sub{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 12px;width:100%;margin:16px 0 0}.momo-category-sub[hidden]{display:none!important}.momo-category-filter.is-loading{opacity:.65;pointer-events:none}.momo-category-filter a:focus-visible,.momo-category-filter button:focus-visible{outline:2px solid #222;outline-offset:3px}@media(max-width:768px){.momo-category-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.momo-category-item{justify-content:center;min-width:0}.momo-category-main a{padding:9px 10px;min-width:0}.momo-category-sub{justify-content:center;gap:8px}}

/* v1.0.1: stronger, larger top-level category labels only */
.momo-category-filter .momo-category-main a{font-size:15px!important;font-weight:700!important;color:#111!important;min-height:44px;box-sizing:border-box;padding:11px 19px;letter-spacing:.01em}
@media(max-width:768px){.momo-category-filter .momo-category-main a{font-size:15px!important;font-weight:700!important;color:#111!important;min-height:44px;padding:10px 12px}}

/* v1.0.3: move the native WooCommerce sorting form below the filter. */
body.post-type-archive-product form.woocommerce-ordering.momo-sorting-after-filter,
body.woocommerce-shop form.woocommerce-ordering.momo-sorting-after-filter{
  float:none!important;clear:both!important;display:flex!important;justify-content:flex-end!important;
  align-items:center;width:100%!important;max-width:none!important;box-sizing:border-box;
  margin:10px 0 20px!important;padding:0!important;position:relative!important;
}
body.post-type-archive-product .momo-category-filter,body.woocommerce-shop .momo-category-filter{margin-bottom:10px}
body.post-type-archive-product form.woocommerce-ordering.momo-sorting-after-filter select,
body.woocommerce-shop form.woocommerce-ordering.momo-sorting-after-filter select{max-width:100%;min-height:38px}
@media(max-width:768px){
 body.post-type-archive-product form.woocommerce-ordering.momo-sorting-after-filter,
 body.woocommerce-shop form.woocommerce-ordering.momo-sorting-after-filter{margin:12px 0 18px!important;justify-content:flex-end!important}
}

/* v1.0.4: independent third row and compact native sorting. */
.momo-category-child-item{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.momo-category-child-expand{appearance:none!important;border:0!important;background:transparent!important;color:#555!important;font-size:19px!important;line-height:1!important;padding:5px!important;cursor:pointer;min-width:24px}
.momo-category-child-expand:hover{color:#111!important}
.momo-category-third{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 12px;width:100%;margin:12px 0 0}
.momo-category-third[hidden]{display:none!important}
.momo-category-third a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;background:#fff;color:#333!important;border:1px solid #ddd;border-radius:25px;padding:8px 14px;font-size:13px;line-height:1.4}
.momo-category-third a:hover,.momo-category-third a.is-active{border-color:#333;background:#f4f4f4}
.momo-category-third a:focus-visible,.momo-category-child-expand:focus-visible{outline:2px solid #222;outline-offset:3px}
body.post-type-archive-product form.woocommerce-ordering.momo-sorting-after-filter,
body.woocommerce-shop form.woocommerce-ordering.momo-sorting-after-filter{width:100%!important;max-width:100%!important;justify-content:flex-end!important}
body.post-type-archive-product form.woocommerce-ordering.momo-sorting-after-filter select,
body.woocommerce-shop form.woocommerce-ordering.momo-sorting-after-filter select{width:190px!important;max-width:190px!important;min-width:0!important;min-height:40px!important;flex:0 0 190px!important}
@media(max-width:768px){
 .momo-category-third{gap:8px}
 body.post-type-archive-product form.woocommerce-ordering.momo-sorting-after-filter select,
 body.woocommerce-shop form.woocommerce-ordering.momo-sorting-after-filter select{width:175px!important;max-width:175px!important;flex:0 0 175px!important}
}

/* v1.0.7: compact brand archive native sorting, leaving shop styles untouched. */
body.tax-product_brand form.woocommerce-ordering.momo-sorting-after-filter,
body.tax-brand form.woocommerce-ordering.momo-sorting-after-filter,
body.tax-pwb-brand form.woocommerce-ordering.momo-sorting-after-filter,
body.tax-yith_product_brand form.woocommerce-ordering.momo-sorting-after-filter{
 float:none!important;clear:both!important;display:flex!important;justify-content:flex-end!important;
 align-items:center!important;width:100%!important;max-width:100%!important;
 margin:10px 0 20px!important;padding:0!important;box-sizing:border-box!important;
}
body.tax-product_brand form.woocommerce-ordering.momo-sorting-after-filter select,
body.tax-brand form.woocommerce-ordering.momo-sorting-after-filter select,
body.tax-pwb-brand form.woocommerce-ordering.momo-sorting-after-filter select,
body.tax-yith_product_brand form.woocommerce-ordering.momo-sorting-after-filter select{
 width:190px!important;max-width:190px!important;min-width:0!important;flex:0 0 190px!important;min-height:40px!important;
}
@media(max-width:768px){
 body.tax-product_brand form.woocommerce-ordering.momo-sorting-after-filter select,
 body.tax-brand form.woocommerce-ordering.momo-sorting-after-filter select,
 body.tax-pwb-brand form.woocommerce-ordering.momo-sorting-after-filter select,
 body.tax-yith_product_brand form.woocommerce-ordering.momo-sorting-after-filter select{
  width:175px!important;max-width:175px!important;flex:0 0 175px!important;
 }
}
