.bb-explore-topbar {
    width: 100%;
}

.bb-explore-search {
    background: #f7f7f8;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    padding: 2px;
}

.bb-explore-topbar .bb-explore-search .bb-explore-search-icon {
    /* Physical edges only — do not use Bootstrap start/end (logical) here */
    left: auto !important;
    right: 20px !important;
    inset-inline-start: auto !important;
    inset-inline-end: auto !important;
    transform: translateY(-50%);
    color: #6b7280;
    z-index: 2;
    pointer-events: none;
}

.bb-explore-topbar .bb-explore-search .bb-explore-search-input,
.bb-explore-topbar .bb-explore-search input.location-autocomplete {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding-left: 18px !important;
    padding-right: 52px !important;
    height: 46px;
}

.bb-explore-search-input:focus {
    box-shadow: none;
    outline: none;
}

.bb-explore-filters-btn {
    height: 46px;
    border-radius: 999px;
    padding: 0 18px;
    font-weight: 600;
    color: #374151;
    background-color: #fff;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.bb-explore-filters-btn:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}

.bb-explore-filters-btn:not(.collapsed) {
    background-color: #111827;
    border-color: #111827;
    color: #fff;
}

.bb-explore-filter-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.bb-explore-filters-panel {
    background: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 18px;
}

.bb-explore-filters-panel .filter-widget {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    overflow: visible;
}

.bb-explore-filters-panel .filter-widget:hover {
    border-color: transparent !important;
    box-shadow: none !important;
}

.bb-explore-filters-panel .btn-clear-filters {
    margin-top: 14px;
}

.bb-explore-filters-panel .filter-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.bb-explore-filters-panel .form-select {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e5e7eb !important;
    box-shadow: none;
    background-color: #ffffff;
    padding-left: 14px;
}

.bb-explore-filters-panel .form-select:hover,
.bb-explore-filters-panel .form-select:focus {
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18) !important;
}

/* Extra specificity: ensure filter widget/select borders are removed inside the collapse. */
#bbExploreFilters .filter-widget {
    border: none !important;
    box-shadow: none !important;
}

#bbExploreFilters .form-select {
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}

#bbExploreFilters .form-select:hover,
#bbExploreFilters .form-select:focus {
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18) !important;
}

.bb-explore-filters-panel .bb-price-preset {
    background-color: #fff;
}

/* Quick filter pills */
.bb-quick-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.bb-quick-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f7f7f8;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.4;
    -webkit-tap-highlight-color: transparent;
}

.bb-quick-filter-pill:hover {
    background: #ebedf0;
    border-color: #d1d5db;
}

.bb-quick-filter-pill.active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.bb-quick-filter-pill .qf-emoji {
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .bb-quick-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }

    .bb-quick-filters::-webkit-scrollbar {
        display: none;
    }

    .bb-quick-filter-pill {
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }
}

