/* amasty layered navigation */

.filter-current .filter-current-subtitle,
.filter-options .item input[type='radio'],
.filter-options-content .filter-count-label,
.amshopby-button-wrap {
    display: none;
}

.amshopby-items {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5rem;
    row-gap: 0.5rem;
    padding: 0;
    list-style: none;
}

.amshopby-item {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .125rem .75rem;
    border-radius: 1rem;
    font-size: calc(13 / 16 * 1rem);
    line-height: normal;
}

.amshopby-filter-name {
    display: inline-flex;
    margin-right: 0.25rem;
    font-family: var(--ff-pri);
    font-weight: 700;
}

.amshopby-filter-name::after {
    content: ":";
}

.amshopby-remove {
    order: 1;
    position: relative;
    top: 0.0625rem;
    margin-left: 0.25rem;
    font-size: calc(15 / 16 * 1rem);
}

.amshopby-remove:hover {
    color: var(--c-red-text);
}

.amshopby-remove::before {
    content: "\f00d";
    font-weight: 700;
}

.filter-options .items {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.filter-options .items > .item {
    position: relative;
    padding: 0.1875rem 0.125rem 0.1875rem 0;
}

.filter-options .item > a {
    display: inline-flex;
    align-items: center;
}

.filter-options .item > a:hover {
    text-decoration: none;
}

.filter-options .item > a:not(.am-swatch-link)::before {
    content: "";
    display: inline-block;
    position: relative;
    top: -0.0625rem;
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.5rem;
    border: solid 0.0625rem #dadada;
}

.filter-options .item > a:hover::before,
.filter-options .item > a.amshopby-link-selected::before {
    border: solid 0.0625rem #555;
    -webkit-box-shadow: inset 0 0 0 0.4375rem var(--c-red-text);
    box-shadow: inset 0 0 0 0.4375rem var(--c-red-text);
    -webkit-transition: -webkit-box-shadow .4s cubic-bezier(.165, .84, .44, 1);
    transition: -webkit-box-shadow .4s cubic-bezier(.165, .84, .44, 1);
    transition: box-shadow .4s cubic-bezier(.165, .84, .44, 1);
    transition: box-shadow .4s cubic-bezier(.165, .84, .44, 1), -webkit-box-shadow .4s cubic-bezier(.165, .84, .44, 1);
}

.filter-options .items-children {
    width: 100%;
}

.filter-options-content .am-swatch-wrapper {
    display: inline-block;
}

.filter-options-content .count {
    margin-left: 0.25rem;
    color: #999;
}

.filter-options-content .count::before {
    content: "[";
}

.filter-options-content .count::after {
    content: "]";
}

.filter-options .items.-am-overflow {
    overflow-x: hidden;
    overflow-y: auto;
}

.filter-options .items.-am-overflow::-webkit-scrollbar {
    width: 0.3125rem;
}

.filter-options .items.-am-overflow::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
}

.filter-options .items.-am-overflow::-webkit-scrollbar-thumb,
.filter-options .items.-am-overflow::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0, 0, 0, 0.75);
}

@media screen and (max-width: 61.9375rem) {

    .gmw-mobile_filters-button {
        height: 3.375rem;
        background-color: #eee;
    }

    .gmw-mobile_filters-button.open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 115;
        background: #333;
        color: #fff;
    }

    .sidebar .block.filter {
        display: none;
        position: fixed;
        top: 3.375rem;
        left: 0;
        right: 0;
        bottom: 0;
        padding-top: 1rem;
        background-color: #eee;
        z-index: 110;
        overflow-y: auto;
    }

    .sidebar .block.filter.open {
        display: block;
    }

    .gmw-mobile_filters-button.open .gmw-mobile_filters-button-close {
        display: inline-block !important;
        margin-top: -0.625rem;
        padding-right: .75rem;
    }

    body:has(.gmw-mobile_filters-button.open) {
        overflow: hidden;
    }

    .amshopby-items {
        margin-top: 1rem;
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .filter-title,
    .filter-options-content {
        display: none;
    }

    .amshopby-item {
        background: #fff;
    }

    .filter-options-title i {
        margin-top: -.5rem;
        right: .75rem;
    }

    .filter-options-title.open i {
        transform: rotate(180deg);
    }

    .filter-options .item > a::before {
        background-color: #fff;
    }
}

@media screen and (min-width: 62rem) {

    .amshopby-item {
        background: #eee;
    }
}

/* / amasty layered navigation */
