.business-filters-container-72b38541 {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.bf-filter-group-72b38541 {
    position: relative;
    font-family: sans-serif;
}

.bf-dropdown-toggle-72b38541, .bf-clear-filters-72b38541 {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 150px;
    font-family: sans-serif;
}

.bf-clear-filters-72b38541 {
    min-width: auto;
    background: #f9f9f9;
}

.bf-clear-filters-72b38541:hover {
    background: #eaeaea;
}

.bf-dropdown-menu-72b38541 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    min-width: 200px;
    z-index: 99;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 250px;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.bf-filter-group-72b38541.active .bf-dropdown-menu-72b38541 {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Default gap, can be overridden by Elementor setting */
}

.bf-checkbox-label-72b38541 {
    display: flex;
    align-items: flex-start; /* Align to top instead of center to prevent awkward wrapping */
    gap: 8px; /* Default spacing, can be overridden by Elementor setting */
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
    line-height: 1.2; /* Slightly increased for better multiline readability */
}

/* Add an explicit span for the label text to control its wrapping behavior */
.bf-checkbox-text-72b38541 {
    flex: 1; /* Allow text to take remaining space */
    word-break: break-word; /* Ensure long words wrap correctly */
}

/* Base styles to allow borders on checkboxes and maintain 1:1 ratio */
.bf-term-checkbox-72b38541 {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    margin: 0;
    margin-top: 1px; /* Slight adjustment to align with text when flex-start is used */
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    min-width: 1.15em; /* Prevent shrinking */
    min-height: 1.15em; /* Prevent shrinking */
    border: 1px solid #ccc; /* Default border */
    border-radius: 0.15em; /* Default radius */
    display: grid;
    place-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Critical: prevent flexbox from squishing the checkbox when label wraps */
}

.bf-term-checkbox-72b38541::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color, #000);
    background-color: currentColor;
    transform-origin: center;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.bf-term-checkbox-72b38541:checked::before {
    transform: scale(1);
}

.bf-no-results-72b38541 {
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    width: 100%;
}

.bf-results-info-container-72b38541 {
    margin-top: 20px;
    font-family: sans-serif;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bf-results-count-72b38541 {
    font-size: 16px;
    font-weight: bold;
}

.bf-active-filters-72b38541 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bf-active-filter-tag-72b38541 {
    display: inline-flex;
    align-items: center;
    background-color: #f1f1f1;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ddd;
}

.bf-remove-tag-72b38541 {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #888;
    line-height: 1;
}

.bf-remove-tag-72b38541:hover {
    color: #d32f2f;
}

@media (max-width: 767px) {
    .business-filters-container-72b38541 {
        flex-direction: column !important;
        align-items: stretch;
    }
    .bf-dropdown-toggle-72b38541, .bf-clear-filters-72b38541 {
        width: 100%;
    }
}