/* V18.55 — category navigation; retains the existing store grid and filter drawer. */
.shop-category-nav {display:flex;align-items:center;gap:6px;margin:0 0 24px;padding:6px;background:#f3f5f7;border:1px solid #e5e8ec;border-radius:14px;overflow-x:auto;scrollbar-width:thin;scroll-padding:6px;}
.shop-category-nav a {flex:none;display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border:1px solid transparent;border-radius:10px;font-size:17px;font-weight:650;line-height:1.35;white-space:nowrap;color:#4b5561;text-decoration:none;}
.shop-category-nav a[aria-current] {background:#fff;color:#121820;border-color:#dde2e7;box-shadow:0 1px 3px #17212b0a;}
.shop-category-nav a:hover {color:#111827;background:#fff;}
.shop-category-nav a:focus-visible,.shop-subcategory-quick a:focus-visible {outline:3px solid #2563eb;outline-offset:-3px;}
.shop-categories-fieldset .shop-filter-option {min-height:40px;font-size:16px;}
.shop-subcategory-list {border-left:2px solid #e8ebef;padding-left:12px;margin:5px 0 12px 8px;}
.shop-subcategory-list .shop-filter-option {min-height:40px;grid-template-columns:16px minmax(0,1fr) auto;gap:7px;font-size:15px;line-height:1.4;}
.shop-subcategory-list .shop-filter-check {width:15px;height:15px;}
.shop-subcategory-list .shop-filter-option input:checked ~ .shop-filter-option-copy {color:#b9360e;font-weight:650;}
.shop-subcategory-quick {display:none;}
.shop-used-note {font-size:17px;line-height:1.6;color:#5a6571;margin:0 0 16px;}
[data-shop-installation][hidden],[data-model-section][hidden],[data-accessory-section][hidden],[data-used-device-note][hidden] {display:none!important;}
@media(max-width:900px){
 .shop-category-nav {margin-bottom:22px;gap:3px;}
 .shop-category-nav a {padding:10px 15px;}
 .shop-subcategory-quick:not([hidden]) {display:flex;gap:8px;overflow-x:auto;margin:0 0 18px;padding:3px 0 8px;scrollbar-width:thin;}
 .shop-subcategory-quick a {flex:none;display:flex;align-items:center;min-height:44px;padding:9px 14px;font-size:16px;line-height:1.4;border:1px solid #dfe4e9;border-radius:22px;color:#485360;text-decoration:none;white-space:nowrap;}
 .shop-subcategory-quick a[aria-current] {color:#fff;background:#17212b;border-color:#17212b;}
 .shop-categories-fieldset .shop-filter-option {min-height:44px;font-size:17px;}
 .shop-subcategory-list .shop-filter-option {font-size:16px;}
}
@media(prefers-reduced-motion:reduce){.shop-category-nav,.shop-subcategory-quick {scroll-behavior:auto;}}
/* Long category names must not sit underneath the filter/sort controls. */
@media(max-width:900px){
 .shop-products-head {display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;}
 .shop-products-title {width:100%;}
 .shop-products-title h2 {overflow-wrap:anywhere;line-height:1.2;}
 .shop-products-tools {display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;gap:10px;}
 .shop-filter-open,.shop-sort {min-height:46px;font-size:16px;}
 .shop-sort {min-width:0;width:100%;}
 .shop-intro p {font-size:17px;}
}
@media(max-width:620px){
 .shop-category-nav {gap:2px;padding:4px;}
 .shop-category-nav a {padding:10px 4px;font-size:16px;}
}

/* V18.57 — accessory children stay collapsed until requested. */
.shop-compact-view .shop-accessory-parent {display:flex;align-items:center;gap:4px;}
.shop-compact-view .shop-accessory-parent>.shop-filter-option {flex:1;min-width:0;}
.shop-compact-view .shop-accessory-toggle {display:grid;place-items:center;width:44px;min-height:44px;flex:none;padding:0;border:0;border-radius:8px;background:transparent;color:#59636d;cursor:pointer;}
.shop-compact-view .shop-accessory-toggle:hover,.shop-compact-view .shop-accessory-browse:hover {background:#f3f5f7;}
.shop-compact-view [data-accessory-toggle] svg {width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.shop-compact-view [data-accessory-toggle][aria-expanded="true"] svg {transform:rotate(180deg);}
.shop-compact-view [data-accessory-toggle]:focus-visible {outline:2px solid #2563eb;outline-offset:-2px;}
.shop-compact-view [data-accessory-subcategories][hidden],.shop-compact-view [data-accessory-quick-links][hidden] {display:none!important;}
.shop-compact-view .shop-accessory-mobile {display:none;}
.shop-compact-view [data-subcategory]~.shop-filter-option-copy {overflow-wrap:anywhere;}
@media(max-width:900px){
 .shop-compact-view .shop-accessory-mobile:not([hidden]) {display:block;margin:0 0 14px;}
 .shop-compact-view .shop-accessory-browse {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;width:100%;padding:10px 12px;border:1px solid #dfe4e9;border-radius:10px;background:#fff;color:#394450;font:inherit;font-size:17px;font-weight:550;text-align:left;cursor:pointer;}
 .shop-compact-view .shop-subcategory-quick:not([hidden]) {display:grid;grid-template-columns:1fr;gap:2px;overflow:visible;margin:6px 0 0;padding:6px;border:1px solid #e1e5e9;border-radius:10px;background:#fff;}
 .shop-compact-view .shop-subcategory-quick a {min-height:44px;padding:10px 12px;border:0;border-radius:7px;font-size:17px;line-height:1.45;white-space:normal;}
 .shop-compact-view .shop-subcategory-quick a[aria-current] {background:#fff2ec;color:#b9360e;}
 .shop-compact-view .shop-subcategory-list .shop-filter-option {font-size:17px;min-height:44px;}
}
