/* ===================== Shop sidebar navigation (accordion, find-a-category, show all) ===================== */
.shop-side{scrollbar-width:thin;scrollbar-color:#C9DEDD transparent;scroll-behavior:smooth;padding-right:8px}
.shop-side::-webkit-scrollbar{width:6px} .shop-side::-webkit-scrollbar-thumb{background:#C9DEDD;border-radius:99px} .shop-side::-webkit-scrollbar-thumb:hover{background:#9CC4C3}

/* find a category – stays on top while the list scrolls */
.side-find{position:sticky;top:0;z-index:3;background:var(--bg,#fff);padding:0 0 10px;margin-bottom:4px;box-shadow:0 8px 10px -10px rgba(10,46,47,.25)}
.side-find svg{position:absolute;left:12px;top:11px;width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;pointer-events:none}
.side-find input{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:9px 12px 9px 36px;font:inherit;font-size:.88rem;background:var(--bg-soft);color:var(--ink);transition:border-color .15s,background .15s,box-shadow .15s}
.side-find input::placeholder{color:#7A9392}
.side-find input:focus{outline:none;border-color:var(--tq);background:#fff;box-shadow:0 0 0 4px rgba(58,192,195,.14)}
.side-res{display:grid;gap:2px;margin-bottom:10px}
.side-hit{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;cursor:pointer}
.side-hit:hover,.side-hit:focus-visible{background:var(--ice);outline:none}
.side-hit>span:first-child{flex:1;min-width:0;display:grid}
.side-hit b{font-weight:500;font-size:.9rem;color:var(--ink);line-height:1.3} .side-hit.top b{font-weight:700;color:var(--deeper)}
.side-hit small{font-size:.72rem;color:var(--muted);font-family:Jost;letter-spacing:.03em}
.side-hit mark{background:#FFE9B8;color:inherit;border-radius:3px;padding:0 1px}
.side-hit .n,.side-morehits{font-family:Jost;font-size:.74rem;color:var(--muted);font-variant-numeric:tabular-nums}
.side-morehits,.side-nohit{padding:6px 10px;font-size:.8rem;color:var(--muted)}

/* category rows */
.shop-side .shop-cat{position:relative;padding:9px 10px 9px 12px;border-radius:10px;gap:8px;transition:background .15s,color .15s}
.shop-side .shop-cat>span:first-child{flex:1;min-width:0}
.shop-side .shop-cat .n{margin-left:0;min-width:34px;text-align:right}
.shop-side .shop-cat:focus-visible,.shop-side .shop-sub:focus-visible,.shop-side .shop-group:focus-visible{outline:2px solid var(--tq);outline-offset:1px}
.shop-side .shop-cat.on{background:var(--tq-soft);color:var(--darkest);font-weight:600}
.shop-side .shop-cat.on::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:3px;background:var(--deep)}
.shop-side .cv{display:grid;place-items:center;width:18px;height:18px;flex:none;color:#7A9392;transition:transform .2s ease,color .15s}
.shop-side .cv svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.shop-side .shop-cat.has:hover .cv{color:var(--deeper)}
.shop-side .shop-cat.open .cv{transform:rotate(90deg);color:var(--deeper)}
.shop-side .shop-cat.fgrow .chev{display:none}

/* sub-groups */
.shop-side .shop-subs{margin:4px 0 10px 14px;padding-left:8px;border-left:2px solid var(--tq-soft);animation:sideOpen .2s ease}
@keyframes sideOpen{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.shop-side .shop-subs{animation:none}.shop-side .cv{transition:none}.shop-side{scroll-behavior:auto}}
.shop-side .shop-sub{padding:7px 10px;border-radius:8px;line-height:1.3;gap:8px;transition:background .15s}
.shop-side .shop-sub>span:first-child{flex:1;min-width:0}
.shop-side .shop-sub .n{margin-left:0}
.shop-side .shop-sub.all{font-family:Jost;font-weight:600;font-size:.8rem;letter-spacing:.02em;color:var(--deeper)}
.shop-side .shop-sub.on{background:#fff;box-shadow:inset 0 0 0 1.5px var(--tq);color:var(--darkest);font-weight:600}
.shop-more{display:flex;align-items:center;gap:4px;width:100%;margin-top:4px;padding:7px 10px;border:0;background:none;border-radius:8px;font-family:Jost;font-weight:600;font-size:.8rem;color:var(--deep);cursor:pointer;text-align:left}
.shop-more:hover{background:var(--ice)}
.shop-more .cv{transform:rotate(90deg);color:var(--deep)} .shop-more.less .cv{transform:rotate(-90deg)}
