select.ninetheme-ajax-category[data-me-tree]{display:none!important}
.me-category-picker{position:relative;min-width:0;flex:0 1 auto;color:#29231e}
.me-category-picker summary{cursor:pointer;list-style:none}
.me-category-picker summary::-webkit-details-marker{display:none}
.me-category-picker summary::after{content:'▾';float:right;margin-left:.65em}
.me-category-picker details[open]>summary::after{content:'▴'}
.me-category-picker>summary{padding:10px 12px;font:inherit;white-space:nowrap}
.me-category-panel{position:absolute;z-index:1005;top:100%;left:0;width:min(270px,82vw);max-height:48vh;overflow:auto;background:white;border:1px solid #ded8cf;box-shadow:0 8px 18px #0002;padding:5px;text-align:left}
.me-category-panel button,.me-category-panel summary{display:block;width:100%;height:auto;text-align:left;border:0;background:white;color:#29231e;font:inherit;line-height:1.35;padding:9px 12px;text-transform:none;letter-spacing:normal}
.me-category-panel details>button,.me-category-panel details>details{padding-left:22px}
.me-category-panel button:hover,.me-category-panel summary:hover{background:#f6f1e9}
.ninetheme-ajax-product-search .me-category-panel button,
.ninetheme-ajax-product-search .me-category-panel summary {
  position:static!important; inset:auto!important; transform:none!important;
  display:block!important; width:100%!important; max-width:none!important; height:auto!important;
  min-height:40px; padding:9px 12px!important; background:#fff!important;
  color:#29231e!important; -webkit-text-fill-color:#29231e; box-shadow:none!important;
  white-space:normal!important; text-align:start!important; line-height:1.4!important;
}
.ninetheme-ajax-product-search .me-category-panel details>button {padding-inline-start:24px!important}
.ninetheme-ajax-product-search .me-category-panel button:is(:hover,:focus-visible),
.ninetheme-ajax-product-search .me-category-panel summary:is(:hover,:focus-visible),
.ninetheme-ajax-product-search .me-category-panel details[open]>summary {background:#f5efe7!important}
.me-category-picker>summary {display:flex;align-items:center;justify-content:space-between;gap:8px;white-space:normal}
@media(max-width:767px){
  .ninetheme-ajax-product-search form:has(>.me-category-picker){display:grid!important;grid-template-columns:minmax(0,1fr);height:auto!important;gap:8px}
  .ninetheme-ajax-product-search form>.me-category-picker,
  .ninetheme-ajax-product-search form:has(>.me-category-picker)>.ninetheme-ajax-search-wrapper{width:100%!important;min-width:0!important;max-width:100%!important}
  .me-category-picker>summary{border:1px solid #ded8cf;min-height:44px;box-sizing:border-box}
  .me-category-panel{width:100%;box-sizing:border-box}
  .me-category-picker[open]{z-index:10}
}
