/* ===========================================================
 * iMold — Умные фильтры глазурей 1.2.0
 * Ненавязчиво наследует стиль текущих WooCommerce-виджетов.
 * =========================================================== */

/* Недоступные значения существуют в DOM, но не содержат <a>. */
.woocommerce-widget-layered-nav-list.imold-glaze-facet > li.imold-glaze-is-disabled {
    opacity: .43;
    cursor: not-allowed;
}
.imold-glaze-facet .imold-glaze-is-disabled .imold-glaze-disabled-label {
    color: inherit;
    cursor: not-allowed;
    text-decoration: none;
    user-select: none;
}
.imold-glaze-facet .imold-glaze-is-disabled .count {
    color: inherit;
}
/* При отрисовке чекбоксов темой через a::before, сохраняем квадрат. */
.imold-glaze-facet .imold-glaze-is-disabled .imold-glaze-disabled-label::before {
    content: '';
    display: inline-block;
    vertical-align: -1px;
    width: .78em;
    height: .78em;
    margin-right: .5em;
    background: #eee;
    border: 1px solid #bcbcbc;
    border-radius: 2px;
    box-sizing: border-box;
}
/* Выбранный фильтр всегда выделен и доступен для снятия. */
.imold-glaze-facet > li.chosen {
    opacity: 1;
}
.imold-glaze-clear {
    margin: -.15em 0 .85em;
    font-size: .83em;
}
.imold-glaze-clear a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.imold-glaze-no-results {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45em;
    margin: 1.5rem 0;
}
.imold-glaze-no-results .imold-glaze-reset {
    display: inline-block;
    margin-left: auto;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .imold-glaze-no-results .imold-glaze-reset { margin-left: 0; width: 100%; }
}
