/* Product category navigation: exact selection, parent context, and keyboard focus. */
.lemi-product-categories > ul { margin: 0; padding: 0; }
.lemi-product-categories li { margin: 3px 0; }
.lemi-product-categories li > a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    color: #334155;
    background: transparent;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.lemi-product-categories > ul > li.current > a:not([aria-current]) {
    color: #075569;
    background: #eaf4f7;
    font-weight: 600;
}
.lemi-product-categories ul ul {
    margin: 5px 0 9px 12px;
    padding: 0 0 0 9px;
    border-left: 1px solid #dbe8ed;
}
.lemi-product-categories ul ul:empty { display: none; }
.lemi-product-categories ul ul li > a {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 14px;
}
.lemi-product-categories li > a:hover {
    color: #075569;
    background: #eaf4f7;
    text-decoration: none;
}
.lemi-product-categories li > a[aria-current="page"] {
    color: #fff;
    background: #006b78;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #004a54;
}
.lemi-product-categories li > a[aria-current="page"]:hover {
    color: #fff;
    background: #005c69;
}
.lemi-product-categories li > a:focus-visible {
    outline: 3px solid #0077a6;
    outline-offset: 3px;
}
.lemi-product-categories .lemi-category-all {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}
@media (prefers-reduced-motion: reduce) {
    .lemi-product-categories li > a { transition: none; }
}
