.jao-category-browser{padding:0!important;overflow:hidden;border-radius:16px}
.jao-category-browser-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;background:linear-gradient(120deg,#f1f7f0,#fffaf0)}
.jao-category-browser-header .jao-eyebrow{margin:0 0 5px;color:#40805d;font-size:9px;font-weight:850;letter-spacing:1.3px}
.jao-category-browser-header h1{margin:0;font-size:clamp(21px,4vw,29px);line-height:1.2}
.jao-category-browser-header p:last-child{margin:5px 0 0;color:#76827a;font-size:12px}
.jao-category-back{flex:none;min-height:38px;padding:0 13px;border:1px solid #dce5d9;border-radius:10px;background:#fff;color:#174b36;font:inherit;font-size:11px;font-weight:750;cursor:pointer}
.jao-category-browser-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid #e7ece7;background:var(--surface,#fff)}
.jao-category-browser-tools form{min-width:0;margin:0}
.jao-category-browser-tools input,.jao-category-browser-tools select{max-width:100%}
.jao-category-browser-layout{display:grid;grid-template-columns:minmax(154px,.68fr) minmax(0,2.7fr);min-height:450px;background:var(--surface,#fff)}
.jao-category-sidebar{display:grid;align-content:start;gap:3px;padding:12px 9px;border-inline-end:1px solid #e7ece7;background:#f7faf6}
.jao-category-sidebar button{display:flex;min-width:0;min-height:53px;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--ink,#24352c);text-align:start;font:inherit;font-size:11px;font-weight:650;cursor:pointer}
.jao-category-sidebar button:hover{background:#edf4eb}
.jao-category-sidebar button.is-selected,.jao-category-sidebar button[aria-selected=true]{background:#e7f1e5;color:#174b36;box-shadow:inset 3px 0 #c89b3c}
.jao-category-sidebar button>span:first-child{display:grid;flex:none;place-items:center;width:28px;height:28px;border-radius:8px;background:#fff;color:#36714f;font-size:16px}
.jao-category-sidebar button>span:last-child{min-width:0;overflow-wrap:anywhere}
.jao-category-results{min-width:0;padding:14px 15px 18px}
.jao-category-results>header{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:0 0 12px;padding:2px 2px 10px;border-bottom:1px solid #edf0eb}
.jao-category-results>header small{color:#7b877e;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.7px}
.jao-category-results>header h2{margin:2px 0 0;font-size:17px}
.jao-category-count{flex:none;color:#7b877e;font-size:10px}
.jao-category-browser .jao-category-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.jao-category-browser .jao-category-products>.jao-product{min-width:0;padding:9px;border-radius:12px;box-shadow:0 3px 12px #193f2710}
.jao-category-browser .jao-category-products .jao-product img{max-width:100%;object-fit:cover}
.jao-category-browser .jao-category-products .jao-empty{grid-column:1/-1}
:root[data-theme=dark] .jao-category-browser-header{background:linear-gradient(120deg,#1f3227,#302a1e)}
:root[data-theme=dark] .jao-category-browser-header p:last-child,:root[data-theme=dark] .jao-category-count,:root[data-theme=dark] .jao-category-results>header small{color:#aebbb1}
:root[data-theme=dark] .jao-category-back{border-color:#455449;background:#24332a;color:#d8e7d9}
:root[data-theme=dark] .jao-category-sidebar{border-color:#3d4a3f;background:#202c24}
:root[data-theme=dark] .jao-category-sidebar button{color:#e1e9e2}
:root[data-theme=dark] .jao-category-sidebar button:hover{background:#293a2e}
:root[data-theme=dark] .jao-category-sidebar button.is-selected,:root[data-theme=dark] .jao-category-sidebar button[aria-selected=true]{background:#2d4333;color:#c8dfc9}
:root[data-theme=dark] .jao-category-sidebar button>span:first-child{background:#26372b;color:#b8d7b8}
:root[data-theme=dark] .jao-category-results>header{border-color:#39453b}
/* Categories-only layout: title row, full-width pink search, then the helper description. */
.jao-category-browser .jao-category-browser-header{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}
.jao-category-browser .jao-category-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.jao-category-browser .jao-category-title-row>div{min-width:0}
.jao-category-browser .jao-category-browser-header .jao-top-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%;margin:0}
.jao-category-browser .jao-category-browser-header .jao-search-field{min-width:0;width:100%}
.jao-category-browser .jao-category-browser-header>p:last-child{margin:0;color:#76827a;font-size:12px}
@media(min-width:850px){.jao-category-browser .jao-category-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.jao-category-browser{border-radius:13px}.jao-category-browser-header{align-items:flex-start;padding:15px 12px;gap:9px}.jao-category-browser-header h1{font-size:20px}.jao-category-browser-header p:last-child{font-size:10px}.jao-category-back{min-height:34px;padding:0 9px;font-size:10px}.jao-category-browser-tools{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px}.jao-category-browser-layout{grid-template-columns:88px minmax(0,1fr);min-height:390px}.jao-category-sidebar{gap:2px;padding:8px 4px}.jao-category-sidebar button{min-height:58px;flex-direction:column;justify-content:center;gap:3px;padding:5px 2px;text-align:center;font-size:9px;line-height:1.1}.jao-category-sidebar button>span:first-child{width:25px;height:25px;font-size:14px}.jao-category-sidebar button.is-selected,.jao-category-sidebar button[aria-selected=true]{box-shadow:inset 3px 0 #c89b3c}.jao-category-results{padding:10px 7px 12px}.jao-category-results>header{margin-bottom:8px;padding-bottom:8px}.jao-category-results>header h2{font-size:14px}.jao-category-results>header small,.jao-category-count{font-size:8px}.jao-category-browser .jao-category-products{gap:7px}.jao-category-browser .jao-category-products>.jao-product{padding:6px;border-radius:9px}}
@media(max-width:350px){.jao-category-browser-layout{grid-template-columns:78px minmax(0,1fr)}.jao-category-browser .jao-category-products{grid-template-columns:minmax(0,1fr)}}
.jao-category-icon svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
