/* Category hierarchy. Only the outer list scrolls. */
#cl-cat-panel .clct-children {
    list-style: none;
    margin: 0 0 0 13px;
    padding: 0 0 0 10px;
    border-left: 1px solid #eadde4;
    max-height: none;
    overflow: visible;
}
#cl-cat-panel .clct-node {
    display: list-item;
    margin: 0;
    padding: 0;
}
#cl-cat-panel .clct-node[hidden] { display: none !important; }
#cl-cat-panel .clct-branch { margin: 0; padding: 0; border: 0; }
#cl-cat-panel .clct-branch > summary {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0;
    cursor: pointer;
    list-style: none;
}
#cl-cat-panel .clct-branch > summary::-webkit-details-marker { display: none; }
#cl-cat-panel .clct-branch > summary::before {
    content: '▸';
    flex: 0 0 17px;
    text-align: center;
    color: #8f6377;
}
#cl-cat-panel .clct-branch[open] > summary::before { content: '▾'; }
#cl-cat-panel .clct-branch > summary > a,
#cl-cat-panel .clct-branch > summary > .clct-label {
    flex: 1;
    min-width: 0;
}
#cl-cat-panel .clct-leaf { padding-left: 20px; }
#cl-cat-panel .clct-label {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 7px;
    font-size: 13px;
}
#cl-cat-panel .clct-name { overflow-wrap: anywhere; }
#cl-cat-panel .clct-node a { align-items: flex-start; }
#cl-cat-panel summary:focus-visible { outline: 2px solid #a74369; outline-offset: -2px; }

/* Keep the action at the bottom of each product card in its grid row. */
body.clsf-active ul.products > li.product:not(.product-category) {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    box-sizing: border-box;
}
body.clsf-active ul.products > li.product > a.woocommerce-LoopProduct-link,
body.clsf-active ul.products > li.product > a.woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}
body.clsf-active ul.products > li.product > a.button {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    align-self: stretch !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    box-sizing: border-box;
    text-align: center;
    float: none !important;
}
