/* Desktop category explorer. The theme's original tree remains the mobile/fallback source. */
.bd-category-panel[hidden],.bd-category-panel [hidden]{display:none!important}
@media(min-width:1025px){
.ninetheme-header-bottom .bd-category-enhanced>.submenu,.ninetheme-header-bottom .bd-category-enhanced:before{display:none!important}
.ninetheme-header-bottom .bd-category-trigger{min-width:230px;width:230px;min-height:44px;border:1px solid #d8c596!important;background:#f8f5ed!important;color:#26251f!important;border-radius:8px!important;cursor:pointer;transition:background .18s,border-color .18s;box-shadow:none!important}
.ninetheme-header-bottom .bd-category-trigger:hover,.ninetheme-header-bottom .bd-category-trigger[aria-expanded=true]{background:#f0e8d5!important;border-color:#b99a4c!important}
.bd-category-trigger .menuBars,.bd-category-trigger .icon-arrow{color:#9a7b37}
.bd-category-trigger[aria-expanded=true] .icon-arrow{transform:rotate(180deg)}
}
.bd-category-panel{position:fixed;z-index:1100;width:min(780px,calc(100vw - 32px));display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background:#fff;border:1px solid #e6e1d7;border-radius:14px;box-shadow:0 18px 55px #29251b26;color:#29271f;font-family:inherit;animation:bd-category-in .16s ease-out}
.bd-category-head{display:flex;align-items:center;gap:10px;padding:16px 18px 10px;flex-shrink:0}
.bd-category-heading{font-size:17px!important;font-weight:600!important;line-height:1.3!important;margin:0!important;flex:1;min-width:0}
.bd-category-panel button{font-family:inherit;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal}
.bd-category-close,.bd-category-back{display:grid;place-items:center;flex-shrink:0;background:#faf9f6!important;color:#7e6836!important;border:1px solid #e8e1d1!important;border-radius:50%!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;font-size:24px!important;line-height:1!important}
.bd-category-back{font-size:19px!important}
.bd-category-tools{display:flex;align-items:center;gap:18px;padding:0 18px 14px;flex-shrink:0;border-bottom:1px solid #efede7}
.bd-category-panel .bd-category-search{flex:1;min-width:0;width:auto;height:40px!important;min-height:40px;padding:8px 12px!important;background:#faf9f6!important;border:1px solid #e6e1d7!important;border-radius:7px!important;font-size:13px!important;color:#29271f!important;box-shadow:none!important}
.bd-category-all{font-size:12px;color:#8b6c2a!important;white-space:nowrap}
.bd-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 18px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#cbb980 #f7f5ef}
.bd-category-card{display:flex;min-width:0;border:1px solid #ece8df;border-radius:9px;min-height:62px;background:#fff;transition:background .15s,border-color .15s}
.bd-category-card:hover,.bd-category-card:focus-within{border-color:#d2bd88;background:#faf8f2}
.bd-category-link{display:flex;align-items:center;gap:10px;padding:9px;min-width:0;flex:1;color:#29271f!important;text-decoration:none!important}
.bd-category-picture{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#f5f4f0;border-radius:7px;color:#ab8b40;font-size:23px;overflow:hidden}
.bd-category-picture img{width:32px!important;height:32px!important;max-width:32px!important;object-fit:contain;padding:0!important;border:0!important;border-radius:0!important}
.bd-category-text{min-width:0;display:flex;flex-direction:column;gap:3px}
.bd-category-name{font-size:13px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
.bd-category-context{font-size:10px;line-height:1.3;color:#827c70}
.bd-category-expand{align-self:stretch;width:34px;flex-shrink:0;padding:0!important;border:0!important;border-left:1px solid #efede7!important;background:transparent!important;color:#9a7b37!important;font-size:25px!important;border-radius:0 8px 8px 0!important}
.bd-category-expand:hover{background:#f0e8d5!important}
.bd-category-status{flex-shrink:0;padding:9px 18px;border-top:1px solid #efede7;background:#faf9f6;font-size:11px;color:#827b6b;line-height:1.5}
.bd-category-empty{grid-column:1/-1;font-size:13px;margin:10px}
.bd-category-panel :is(a,button,input):focus-visible,.bd-category-trigger:focus-visible{outline:2px solid #a88638!important;outline-offset:2px}
@keyframes bd-category-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:520px){.bd-category-head{padding-top:9px;padding-bottom:6px}.bd-category-tools{padding-bottom:8px}.bd-category-grid{padding-top:8px;padding-bottom:8px}.bd-category-status{padding-top:5px;padding-bottom:5px}}
@media(max-width:1024px){.bd-category-panel{display:none!important}}
@media(prefers-reduced-motion:reduce){.bd-category-panel{animation:none}.bd-category-card,.bd-category-trigger{transition:none}}
