/* Container */
.bizdir-container {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	max-width: 1600px;
	margin: 0 auto;
	padding-bottom: 80px;
}
.d-none {
	display: none;
}
.link-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
@media screen and (max-width: 1660px) {
	.bizdir-container {
		padding-left: 30px;
		padding-right: 30px;
		max-width: 100%;
	}
}
@media screen and (max-width: 767px) {
	.bizdir-container {
		padding-left: 15px;
		padding-right: 15px;
	}
}
/* Map */
#bizdir-map {
	width: 100%;
	height: 500px;
	border-radius: 24px;
	margin-bottom: 1.5rem;
	background-color: #ececec;
}

.bizdir-infowindow {
	display: flex;
	max-width: 300px;
	font-family: inherit;
	padding-top: 1.4rem;
	position: relative;
}

.bizdir-infowindow-left img,
.bizdir-infowindow-left .no-thumb {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 6px;
	margin-right: 10px;
}

.bizdir-infowindow-right {
	flex: 1;
}

.bizdir-infowindow-right h3 {
	margin: 0 0 5px;
	font-size: 14px;
	font-weight: 600;
}

.bizdir-infowindow-right .excerpt{
	font-family: "Atkinson Hyperlegible", Sans-serif;
	font-size: 12px;
	color: #666 !important;
	margin-bottom: 5px;
}

.bizdir-infowindow-right .address {
	font-family: "Atkinson Hyperlegible", Sans-serif;
	font-size: 12px;
	margin-bottom: 5px;
}

.bizdir-infowindow-right .address-icon {
	margin-right: 4px;
}

.bizdir-infowindow-right .address-icon svg{
	fill: var(--e-global-color-secondary);
}

.bizdir-infowindow-right .link-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.bizdir-infowindow-right .more-details-txt {
	text-decoration: underline;
	font-family: "Atkinson Hyperlegible", Sans-serif;
	font-size: 12px;
	color: #EE7880;
}

.gm-style-iw-chr {
	position: absolute;
	right: 0;
	z-index: 100;
	width: 24px;
	height: 24px;
}

.gm-style-iw-chr button {
	width: 24px !important;
	height: 24px !important;
}
.gm-style-iw-chr button span {
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
}

/* Grid: Filters + Listings */
.bizdir-grid {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 2rem;
}
@media screen and (max-width: 1180px) {
	.bizdir-grid {
		display: flex;
		flex-direction: column;
	}
}
/* Filters */
.bizdir-filters {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.bizdir-filters-mobile {
	display: none;
}

.bizdir-filters-mobile select {
	width: 100%;
	outline: none !important;
	height: 55px;
	border: 1px solid #f2f2f2;
	border-radius: 100px;
	font-size: 18px;
	line-height: 1.2rem;
	font-family: "Baloo 2", sans-serif;
}

.bizdir-filters-mobile select:focus {
	border-color: #f2f2f2 !important;
}

.bizdir-filter-group h4 {
	font-family: var( --e-global-typography-5081c6e-font-family ), Sans-serif;
	font-weight: var( --e-global-typography-5081c6e-font-weight );
	font-size: var(--n-accordion-title-font-size);
	line-height: var( --e-global-typography-5081c6e-line-height );
	letter-spacing: var( --e-global-typography-5081c6e-letter-spacing );
	border-bottom: 1px solid #833340;
	color: #833340;
	padding-bottom: 14px;
}

.bizdir-filter-group {
	display: flex;
	flex-direction: column;
}

.bizdir-filter-btn {
	font-family: "Atkinson Hyperlegible", Sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1em;
	letter-spacing: 0px;
	color: var(--e-filter-active-text-color);
	padding: 0.6em 0.8em 0.6em 0.8em;
	align-items: var(--e-filter-item-align-items);
	background-color: initial;
	border: 1px solid transparent;
	border-radius: 6px;
	box-sizing: var(--e-filter-item-box-sizing);
	display: var(--e-filter-display);
	flex-basis: content;
	flex-grow: var(--e-filter-item-flex-grow);
	flex-shrink: 0;
	justify-content: var(--e-filter-item-justify-content);
	overflow: hidden;
	overflow-wrap: break-word;
	text-align: var(--e-filter-item-align-text);
	white-space: var(--e-filter-white-space);
	width: var(--e-filter-item-width);
	margin-bottom: 4px;
	transition: all .3s;
}
.bizdir-filter-btn:hover {
	background-color: #EE788033;
	border-color: #EE788033;
	color: var(--e-filter-hover-text-color);
}
.bizdir-filter-btn.active {
	background-color: #EE7880;
	color: #fff;
	border-color: #EE7880;
}
.bizdir-listings-area__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.bizdir-listings-area__filters {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.bizdir-listings-area__filters .nearby-btn {
	font-size: 16px;
	line-height: 24px;
	padding: 10px 24px;
}
.bizdir-filters--cat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
}
.bizdir-filters-btn {
	background-color: #FAE7E6;
	border-color: #FAE7E6;
	font-size: 12px;
	line-height: 1;
	text-transform: uppercase;
	color: #833340;
	padding: 8px 12px;
	border-radius: 22px;
	min-height: 38px;
	min-width: 98px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bizdir-filters-btn.active {
	background-color: #EE7880;
	border-color: #EE7880;
	color: #fff;
}
.nearby-btn {
	background-color: #833340;
	border-color: #833340;
	color: #fff !important;
	padding: 8px;
	min-width: 76px;
	min-height: 38px;
	border-radius: 22px;
	font-size: 12px;
	line-height: 1;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bizdir-filters-popup {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center; 
	justify-content: flex-start;
	flex-direction: column;
	z-index: 9999;
}
.bizdir-filters-popup-header {
	width: 100%;
	padding: 10px 15px;
	text-align: left;
	background-color: #fff;
	border-bottom: 1px solid rgb(131, 51, 64, 0.2);
}
.bizdir-filters-popup.hidden {
	display: none;
}
.bizdir-filters-popup-content {
	background: #fff;
	width: 100%;
	max-height: 90%;
	padding: 20px;
	overflow-y: auto;
	position: relative;
}
.bizdir-filters-popup-group:not(:last-of-type) {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgb(131, 51, 64, 0.2);
}
.bizdir-filters-popup-group h4 {
	color: #833340;
	font-size: 18px;
}
.bizdir-filters-popup-terms {
	display: flex;
	gap: 6px;
	flex-flow: row wrap;
}
.bizdir-filter-mobile-btn {
	background-color: #FAE7E6;
	border-color: #FAE7E6;
	font-size: 12px;
	line-height: 1;
	text-transform: uppercase;
	color: #833340;
	padding: 8px 12px;
	border-radius: 22px;
	min-height: 38px;
	min-width: 98px;
	max-width: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bizdir-filter-mobile-btn.active {
	background-color: #833340;
	border-color: #833340;
	color: #fff;
}
.filter-close {
	position: absolute;
	top: 5px; 
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}
.bizdir-filters-popup-footer {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-top: 1px solid #eee;
	position: sticky;
	bottom: 0;
	background: #fff;
	width: 100%;
	padding: 8px 15px;
}

.filter-clear {
	background: #f2f2f2;
	border: none;
	padding: 10px 20px;
	border-radius: 22px;
	cursor: pointer;
	text-transform: uppercase;
}

.filter-apply {
	background: #000;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 22px;
	cursor: pointer;
	text-transform: uppercase;
}
@media screen and (max-width: 1180px) {
	.bizdir-filters {
		display: none;
	}
	.bizdir-filters-mobile {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}
	.bizdir-filters-mobile .bizdir-filter-dropdown:first-of-type {
		flex: .8;
	}
	.bizdir-filters-mobile .bizdir-filter-dropdown:last-of-type {
		flex: 1.2;
	}
}
@media screen and (max-width: 767px) {
	.bizdir-filters-mobile .bizdir-filter-dropdown:first-of-type {
		flex: 1;
		width: 100%;
	}
	.bizdir-filters-mobile .bizdir-filter-dropdown:last-of-type {
		flex: 1;
		width: 100%;
	}
	.bizdir-filters-mobile {
		/* 		flex-direction: column; */
		/* 		gap: 1.2rem; */
	}
	.bizdir-infowindow {
		flex-direction: column;
		gap: 8px;
	}
	.bizdir-infowindow-left img {
		width: 100%;
	}
}

/* Listings area */
.bizdir-listings-area {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bizdir-search form {
	height: 55px;
	border: 1px solid #f2f2f2;
	border-radius: 100px;
	min-width: 280px;
	max-width: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	overflow: hidden;
	position: relative;    
	margin-right: 0;
	margin-left: auto;
}
.bizdir-search input {
	font-size: 18px;
	line-height: 1.2rem;
	font-family: "Baloo 2", sans-serif;
	border: none !important;
	height: 55px;
	padding: 15px !important;
}
#bizdir-search-btn {
	background-color: #833340;
	width: 65px;
	height: 53px;
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #833340 !important;
	font-size: 1rem;
	font-weight: 400;
	padding: .5rem 1rem;
	text-align: center;
	transition: all .3s;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	white-space: nowrap;
	-webkit-appearance: button;
}
#bizdir-search-btn svg {
	height: 2.4rem;
	width: auto;
	fill: #fff;
}
#bizdir-listings {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
#bizdir-search-clear {
	position: absolute;
	right: 64px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	line-height: 1px;
	text-align: center;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	padding-bottom: 10px;
	border-radius: 100%;
}

/** Pagination **/
.bizdir-pagination-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	margin-top: 20px;
}

.bizdir-page-btn {
	background: #833340;
	color: #fff;
	border: none;
	border-radius: 4px;
	width: 36px;
	height: 36px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.2s ease;
}

.bizdir-page-btn:hover {
	background: #a94455;
}

.bizdir-page-btn.active {
	background: #5e212b;
	font-weight: bold;
}

.bizdir-ellipsis {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #833340;
	font-size: 14px;
}
/* Listing card */
.bizdir-listing {
	display: flex;
	align-items: center;
	gap: 1rem;
	border: 1px solid #eee;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0);
	transition: all 0.3s ease;
}

.bizdir-listing.highlight {
	border-color: #EE7880;
	box-shadow: 0 2px 8px rgb(253, 242, 245,0.08);
}

.bizdir-listing:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bizdir-listing-left {
	flex: 0 0 432px;
	position: relative;
	border-radius: 24px;
	overflow: hidden;
}

.bizdir-listing-left img {
	width: 432px;
	height: 360px;
	object-fit: cover;
}

.bizdir-listing-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 4rem;
	gap: 2rem;
}

.bizdir-listing-right h2 {
	font-family: "Baloo 2", Sans-serif;
	font-size: 2.2rem;
	font-weight: 600;
	line-height: 1em;
	letter-spacing: -0.02em;
	color: var( --e-global-color-c36d857 );
	margin-top: 0;
	margin-bottom: 0;
}

.bizdir-listing-right .tags {
	display: flex;
	flex-flow: wrap;
	gap: 0.8rem;
	align-items: center;
}

.bizdir-listing-right .tags .tag {
	background-color: #8333401A;
	padding: 0.3em 0.4em 0.3em 0.4em;
	border-radius: 4px 4px 4px 4px;
	font-family: "Atkinson Hyperlegible", Sans-serif;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1em;
	letter-spacing: 0.5px;
	color: var( --e-global-color-primary );
}

.bizdir-listing-right .excerpt {
	text-align: left;
	font-family: "Atkinson Hyperlegible", Sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.5em;
	letter-spacing: 0px;
	border-bottom: 1px solid var( --e-global-color-secondary );
	padding-bottom: 2rem;
}
.bizdir-listing-right .excerpt a {
	font-family: "Atkinson Hyperlegible", Sans-serif;
	color: #666 !important;
}
.bizdir-listing-right .address-icon {
	display: flex;
}
.bizdir-listing-right .address-icon svg {
	fill: var(--e-global-color-secondary);
	transition: fill 0.3s;
	height: var(--e-icon-list-icon-size,1em);
	width: var(--e-icon-list-icon-size,1em);
	margin: var(--e-icon-list-icon-margin,0 calc(var(--e-icon-list-icon-size, 1em) * .25) 0 0);
}
.bizdir-listing-right .address {
	font-family: "Atkinson Hyperlegible", Sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.5em;
	letter-spacing: 0px;
	display: flex;
	align-items: center;
}

.bizdir-listing-right .elementor-button {
	background-color: var( --e-global-color-77f349d );
	font-family: "Atkinson Hyperlegible", Sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	fill: var( --e-global-color-primary );
	color: var( --e-global-color-primary ) !important;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: var( --e-global-color-primary );
	border-radius: 100rem 100rem 100rem 100rem;
	padding: 0.8em 1em 0.8em 1em;
	max-width: fit-content;
}

.bizdir-listing-right .elementor-button:hover {
	background-color: #EE7880;
	color: #fff !important;
	border-color: #EE7880;
}

/* Skeleton Loader */
.skeleton {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.skeleton-card {
	display: flex;
	gap: 1rem;
	border: 1px solid #eee;
	border-radius: 24px;
	background: #fff;
}

.skeleton-thumb {
	flex: 0 0 432px;
	height: 360px;
	background: #eee;
	border-radius: 24px;
	animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-border {
	height: 1px;
	width: 100%;
	animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-line {
	height: 12px;
	background: #eee;
	border-radius: 4px;
	margin-bottom: 8px;
	animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-button {
	width: 120px;
	height: 42px;
	background: #eee;
	border-radius: 100rem 100rem 100rem 100rem;
	padding: 0.8em 1em 0.8em 1em;
	animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-line.short {
	width: 50%;
}

.skeleton-line:not(.short) {
	width: 80%;
}
@media screen and (max-width: 1180px) {
	.bizdir-listing {
		flex-direction: column;
	}
	.bizdir-listings-area {
		gap: 2rem;
	}
	.bizdir-listing-right {
		width: 100%;
	}
	.bizdir-listing-left, .skeleton-thumb {
		flex: 1;
		width: 100%;
		max-height: 340px;
	}
	.bizdir-listing-left img {
		width: 100%;
		height: 340px;
		object-position: center;
	}
}
@media screen and (max-width: 767px) {
	.bizdir-listings-area__top {
		flex-direction: column-reverse;
		gap: 1.2rem;
		align-items: flex-start;
		padding-bottom: 12px;
		margin-bottom: 12px;
		border-bottom: 1px solid #833340;
	}
	.bizdir-listing-right {
		padding: 3rem 2rem;
	}
}
@media screen and (max-width: 460px) {
	.bizdir-search, .bizdir-search form, .bizdir-listings-area__filters {
		max-width: 100%;
		width: 100%;
		min-width: 100%;
		display: none;
	}
}
@keyframes skeleton-loading {
	0% {
		background-color: #eee;
	}
	50% {
		background-color: #ddd;
	}
	100% {
		background-color: #eee;
	}
}
