.layered-nav {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(27, 23, 20, .05);
}

.layered-nav summary {
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.layered-nav summary::-webkit-details-marker { display: none; }
.layered-nav summary::after {
    content: '+';
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--paper);
    font-size: 16px;
}
.layered-nav details[open] summary::after { content: '−'; }
.layered-nav summary small { order: 2; color: var(--muted); font-size: 10px; font-weight: 500; }
.facet-options { max-height: 260px; gap: 6px; padding-right: 4px; }
.facet-options .facet-option {
    position: relative;
    display: grid;
    grid-template-columns: 20px 1fr auto;
    gap: 10px;
    align-items: center;
    min-height: 36px;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: 14px;
    cursor: pointer;
    transition: .18s;
}
.facet-option:hover { background: var(--paper); }
.facet-option input { position: absolute; opacity: 0; pointer-events: none; }
.facet-check {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid #aaa39c;
    border-radius: 5px;
    background: #fff;
    transition: .18s;
}
.facet-option input:focus-visible + .facet-check { outline: 2px solid var(--orange-dark); outline-offset: 2px; }
.facet-option input:checked + .facet-check { border-color: var(--orange-dark); background: var(--orange-dark); }
.facet-option input:checked + .facet-check::after { content: '✓'; color: #fff; font-size: 12px; font-style: normal; font-weight: 800; }
.facet-option:has(input:checked) { background: #fff4e8; color: var(--ink); font-weight: 600; }
.colour-facet-options .facet-option { grid-template-columns: 20px 24px 1fr auto; }
.colour-facet-options .colour-swatch { width: 18px; height: 18px; }

@media (max-width: 760px) {
    .layered-nav { padding: 16px; border-radius: 14px; }
}
