.ww-theme-filters {
    overflow-y: hidden;
}

.ww-preview-dialog > img {
    max-height: 65vh;
}

.ww-theme-image {
    display: block;
}

.ww-theme-subfilters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -24px auto 34px;
}

.ww-theme-subfilters[hidden] {
    display: none;
}

.ww-theme-subfilters > span {
    margin-right: 3px;
    color: #766c82;
    font-size: 12px;
    font-weight: 700;
}

.ww-theme-subfilters button,
.ww-theme-tags span {
    border: 1px solid #eadff0;
    border-radius: 999px;
    background: #fff;
    color: #625b6d;
    font-weight: 700;
}

.ww-theme-subfilters button {
    padding: 8px 13px;
    cursor: pointer;
}

.ww-theme-subfilters button:hover,
.ww-theme-subfilters button.active {
    border-color: #ee347c;
    background: #fff1f7;
    color: #ee347c;
}

.ww-theme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 25px;
}

.ww-theme-tags span {
    padding: 5px 9px;
    color: #a10f58;
    font-size: 9px;
    letter-spacing: .25px;
    text-transform: uppercase;
}

@media (min-width: 681px) {
    .ww-theme-filters {
        flex-wrap: wrap;
        gap: 10px;
        border-bottom: 0;
        overflow: visible;
    }

    .ww-theme-filters button {
        padding: 11px 17px;
        border: 1px solid #eadff0;
        border-radius: 999px;
        background: #fff;
    }

    .ww-theme-filters button::after {
        display: none;
    }

    .ww-theme-filters button:hover,
    .ww-theme-filters button.active {
        border-color: #ee347c;
        background: #fff1f7;
    }
}

@media (max-width: 680px) {
    .ww-theme-subfilters {
        justify-content: flex-start;
        margin: -16px 0 26px;
    }

    .ww-theme-subfilters > span {
        flex-basis: 100%;
    }
}
