.select2-dropdown.wpf_selectbox {
    z-index: 9999999 !important;
}

/* Prevent Divi's builder overlay from intercepting clicks on the filter module.
   :has() is the CSS-only path (no JS class needed); the class selector is a
   fallback for browsers that predate :has() support. */
.et_pb_module:has(.wpf_form) > .et_pb_module_overlay,
.we-has-wpf-filter > .et_pb_module_overlay {
    pointer-events: none !important;
}

.we-region-hover-tooltip {
    background: #162120;
    border-radius: 10px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    color: #ffffff;
    max-width: 260px;
    padding: 12px 14px;
    pointer-events: none;
    position: fixed;
    z-index: 10000000;
}

.we-region-hover-tooltip__title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.we-region-hover-tooltip__desc {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.45;
}

@media screen and (max-width: 767px) {
    .we-region-hover-tooltip {
        max-width: min(240px, calc(100vw - 24px));
    }
}
