/* Only links converted by this module are reset; Amasty Apply/Show More buttons stay intact. */
.block.filter button.smd-navigation-button {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #121214;
    cursor: pointer;
    font: inherit;
    font-weight: normal;
    letter-spacing: inherit;
    margin: 0;
    padding: 0;
    text-align: left;
    text-transform: none;
    white-space: normal;
}
.block.filter .filter-options-content .item > button.smd-navigation-button {
    display: block;
    max-width: 100%;
}
.block.filter button.smd-navigation-button:hover,
.block.filter button.smd-navigation-button:hover .count,
.block.filter button.smd-navigation-button.amshopby-link-selected,
.block.filter button.smd-navigation-button.amshopby-link-selected .count {
    color: var(--pinkis, #ac81b0);
    background: transparent;
}
.block.filter button.smd-navigation-button:focus-visible {
    outline: 2px solid var(--pinkis, #ac81b0);
    outline-offset: 2px;
}
.block.filter button.smd-navigation-button:disabled {
    cursor: default;
}
.block.filter .am-category-view .item button.amshopby-filter-parent {
    padding-left: 20px;
}
.block.filter .am-category-view.-am-multiselect .item > .am-collapse-icon ~ button.amshopby-filter-parent {
    padding-left: 40px;
}
.block.filter [data-amshopby-filter="category_ids"] ul.categories li button.smd-navigation-button {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    padding-left: 4px;
}
.block.filter [data-amshopby-filter="category_ids"] ul.categories li button.smd-navigation-button::before {
    content: "\e617";
    font-family: 'luma-icons';
    font-size: 14px;
    position: absolute;
    left: -12px;
    margin-top: 2px;
}
.block.filter [data-amshopby-filter="category_ids"] ul.categories li:last-child button.smd-navigation-button::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--pinkis, #ac81b0);
}
.block.filter button.smd-navigation-button.amshopby-remove {
    /* Keep the close icon's Amasty dimensions and positioning. */
    position: absolute;
}
@media (max-width: 767px) {
    .block.filter .am-category-view .item button.amshopby-filter-parent {
        padding-left: 35px;
    }
    .block.filter .am-category-view.-am-multiselect .item > .am-collapse-icon ~ button.amshopby-filter-parent {
        padding-left: 70px;
    }
}

.block.filter .filter-options-content .am-swatch-wrapper.item > button.am-swatch-link {
    display: flex;
    align-items: center;
}
