.bd-filters .directorist-search-form__box { width: 100%; }
.bd-filters .directorist-advanced-filter__top {
    width: 100%; padding: 25px 30px 20px;
    border-bottom: 1px solid var(--directorist-color-light, #e9e9e9);
    display: flex; align-items: center; justify-content: space-between; box-sizing: border-box;
}
.bd-filters .directorist-advanced-filter__title {
    margin: 0; font-size: 20px; font-weight: 500;
    color: var(--directorist-color-dark, #14161a);
    display: flex; align-items: center; gap: 12px;
}
.bd-filters .directorist-advanced-filter__close { display: none; }
.bd-filters .directorist-advanced-filter__advanced { padding: 25px 30px 10px; box-sizing: border-box; }

.bd-filters .directorist-search-field { margin: 0 0 24px; }
.bd-filters .bd-search-input {
    width: 100%; box-sizing: border-box;
    padding: 10px 14px; font-size: 14px;
    border: 1px solid var(--directorist-color-border-light, #e9e9e9);
    border-radius: 8px;
    background: var(--directorist-color-white, #fff);
    color: var(--directorist-color-body, #2b2d33);
}

.bd-filters .my-filter { border-bottom: 1px solid #e9e9e9; }
.bd-filters .my-filter__header {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    background: none; border: 0; margin: 0; padding: 20px 0;
    font-size: 20px; font-weight: 700; color: #14161a; text-align: left; cursor: pointer;
}
.bd-filters .my-filter__header:hover,
.bd-filters .my-filter__header:focus { background: none !important; color: #000 !important; }
.bd-filters .my-filter__toggle::before { content: "+"; font-size: 22px; font-weight: 400; color: #e5344a; line-height: 1; }
.bd-filters .my-filter.is-open .my-filter__toggle::before { content: "\2212"; }
.bd-filters .my-filter__body { display: none; padding: 2px 0 20px; }
.bd-filters .my-filter.is-open .my-filter__body { display: block; }
.bd-filters .my-filter__item {
    display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
    font-size: 15px; color: #2b2d33; cursor: pointer;
}
.bd-filters .my-filter__item:last-child { margin-bottom: 4px; }
.bd-filters .my-filter__item input {
    appearance: none; -webkit-appearance: none;
    width: 20px; height: 20px; min-width: 20px; margin: 0;
    border: 1.5px solid #e5344a; border-radius: 6px; background: #fff; cursor: pointer;
}
.bd-filters .my-filter__item input:checked {
    background-color: #e5344a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 10.6 3.6 8l-1 1 3.6 3.6 7-7-1-1z'/%3E%3C/svg%3E");
    background-size: 14px; background-position: center; background-repeat: no-repeat;
}

.bd-filters .directorist-advanced-filter__action { padding: 20px 0 25px; }
.bd-filters .bd-clear-all {
    background: none; border: 0; padding: 0; cursor: pointer;
    color: #e5344a; font-size: 14px; font-weight: 600;
}
.bd-filters .bd-clear-all:hover { text-decoration: underline; }

.bd-directory .bd-sidebar-layout { display: flex; gap: 30px; align-items: flex-start; }
.bd-directory .bd-sidebar { flex: 0 0 320px; max-width: 350px; width: 100%; }
.bd-directory.bd-sidebar-right .bd-sidebar-layout { flex-direction: row-reverse; }
.bd-directory .bd-content { flex: 1; min-width: 0; width: 100%; }

.bd-listing-header {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; margin: 0 0 20px;
	border-bottom: 1px solid #5C5C5C;
	padding-bottom: 20px;
}
.bd-count { color: #EE374A; font-size: 15px; font-weight: 500; margin: 0; }

.bd-filters-toggle-btn {
	display: none !important; align-items: center; gap: 8px;
	padding: 10px 20px; margin: 0;
	border: 0; border-radius: 8px;
	background: #fff !important; color: #EE374A !important;
	font-size: 14px; font-weight: 600; cursor: pointer;
	border-color: #fff !important;
}

.bd-filters-toggle-btn:hover {
    background: #EE374A !important; color: #fff !important; border-color: #EE374A !important;
}
.bd-filters-toggle-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.bd-filters-toggle-btn:hover svg {fill: #fff;}

.bd-offcanvas-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.5);
	z-index: 9998; opacity: 0; visibility: hidden; transition: .3s;
}
.bd-offcanvas-overlay.show { opacity: 1; visibility: visible; }

@media only screen and (max-width: 1367px) {
    .bd-filters {height: 100%; background: #181818;}
	.bd-filters-toggle-btn { display: flex !important; }
	.bd-directory .bd-sidebar {
		position: fixed; left: -360px; top: 0;
		height: 100svh; max-width: 340px; flex: none;
		background: #fff; z-index: 9999; overflow: auto;
		box-shadow: 0 10px 15px rgba(0,0,0,.15);
		visibility: hidden; opacity: 0; transition: .3s ease;
	}
	.bd-filters .directorist-advanced-filter__title {
	    font-size: 20px;
	}
	
	.bd-filters .my-filter__header {
	    font-size: 18px;
	    padding-block: 15px;
	}
	
	.bd-filters .my-filter__item {
	    font-size: 14px;
	}
	
	.bd-filters .my-filter__item input {
	    width: 16px;
	    min-width: 16px;
	    height: 16px;
	}
	.directorist-search-form__box {border-radius: 0; padding: 24px 30px;}
	.bd-directory .bd-sidebar.bd-sidebar--open { left: 0; visibility: visible; opacity: 1; }
	.bd-directory.bd-sidebar-right .bd-sidebar { left: auto; right: -360px; }
	.bd-directory.bd-sidebar-right .bd-sidebar.bd-sidebar--open { right: 0; }
	.bd-directory .directorist-advanced-filter__close {
		display: flex; align-items: center; justify-content: center;
		width: 28px; height: 28px; border: 0; border-radius: 100%;
		background: #f2f2f2; color: #14161a; font-size: 18px; padding: 0; cursor: pointer;
	} 
	.bd-directory .directorist-advanced-filter__close span {
	    height: 100%;
	}
}