/* BEF Harita Konum — İlan Haritası (dizin) sayfası stilleri */

.befgh-dir {
	margin: 10px 0 40px;
}

/* ---------------------------------- Arama paneli */

.befgh-dir-search {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
	padding: 18px 20px;
	margin-bottom: 22px;
	overflow: visible;
}

/* Grid: her alan aynı hizada, buton alta yapışık */
.befgh-dir-search-inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1.1fr 1.6fr auto;
	gap: 14px;
	align-items: end;
}

.befgh-dir-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
}

/* Yalnızca alan başlıkları (panel içindeki checkbox etiketlerini etkilemesin) */
.befgh-dir-field > label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #6b7280;
	margin: 0;
	line-height: 1.2;
	white-space: nowrap;
}

/* Tüm kontroller aynı yükseklikte — tema stillerine karşı sabitlenir */
.befgh-dir-field select,
.befgh-dir-field input[type="text"],
.befgh-catdd-toggle {
	box-sizing: border-box !important;
	width: 100% !important;
	height: 46px !important;
	min-height: 46px !important;
	max-height: 46px !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: 1px solid #d7dbe0 !important;
	border-radius: 10px !important;
	background-color: #fafbfc !important;
	font-size: 14.5px !important;
	line-height: 1.4 !important;
	color: #374151 !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Select için özel ok */
.befgh-dir-field select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%239ca3af' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	padding-right: 36px !important;
	cursor: pointer;
}

.befgh-dir-field select:focus,
.befgh-dir-field input[type="text"]:focus,
.befgh-catdd.open .befgh-catdd-toggle {
	outline: none !important;
	border-color: #e91e63 !important;
	box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.12) !important;
	background-color: #fff !important;
}

.befgh-dir-field select:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.befgh-dir-field-btn .befgh-btn {
	height: 46px;
	min-height: 46px;
	padding: 10px 26px;
	cursor: pointer;
	border-radius: 10px;
	white-space: nowrap;
}

/* Duyarlı: orta ekranda 2 sütun, mobilde tek sütun */
@media (max-width: 1100px) {
	.befgh-dir-search-inner {
		grid-template-columns: 1fr 1fr;
	}

	.befgh-dir-field-grow,
	.befgh-dir-field-btn {
		grid-column: 1 / -1;
	}

	.befgh-dir-field-btn .befgh-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 600px) {
	.befgh-dir-search {
		padding: 14px;
	}

	.befgh-dir-search-inner {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* ---------------------------------- Gövde: liste + harita */

.befgh-dir-body {
	display: grid;
	grid-template-columns: minmax(340px, 44%) 1fr;
	gap: 22px;
	align-items: start;
}

.befgh-dir-count {
	font-size: 14px;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 12px;
	min-height: 18px;
}

.befgh-dir-mapwrap {
	position: sticky;
	top: 90px;
}

.befgh-dir-map {
	width: 100%;
	height: 640px;
	border-radius: 14px;
	background: #eef1f4;
	border: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
	overflow: hidden;
}

/* ---------------------------------- İlan kartları */

.befgh-dir-results {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 220px;
}

.befgh-dir-loading {
	position: static;
	padding: 70px 0;
}

.befgh-dir-item {
	display: flex;
	gap: 14px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 14px;
	padding: 12px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	overflow: hidden;
	max-width: 100%;
	box-sizing: border-box;
}

.befgh-dir-item * {
	box-sizing: border-box;
}

.befgh-dir-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
	border-color: rgba(233, 30, 99, 0.35);
}

.befgh-dir-thumb {
	flex: 0 0 118px;
	display: block;
}

.befgh-dir-thumb img {
	width: 118px;
	height: 96px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.befgh-dir-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.befgh-dir-item-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.35;
}

.befgh-dir-item-title a {
	color: #1f2933;
	text-decoration: none;
}

.befgh-dir-item-title a:hover {
	color: #e91e63;
}

.befgh-dir-chip {
	align-self: flex-start;
	font-size: 11.5px;
	font-weight: 700;
	color: #e91e63;
	background: rgba(233, 30, 99, 0.09);
	border-radius: 50px;
	padding: 3px 10px;
}

.befgh-dir-addr {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	font-size: 12.5px;
	color: #6b7280;
	line-height: 1.4;
}

.befgh-dir-addr svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #e91e63;
}

.befgh-dir-addr span {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

.befgh-dir-excerpt {
	margin: 0;
	font-size: 13px;
	color: #4b5563;
	line-height: 1.5;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.befgh-dir-item-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
	width: 100%;
	min-width: 0;
}

.befgh-btn-sm {
	padding: 6px 12px !important;
	font-size: 12px !important;
	line-height: 1.25 !important;
	cursor: pointer;
	max-width: 100%;
}

.befgh-dir-noresult {
	padding: 60px 20px;
	text-align: center;
	color: #6b7280;
	font-size: 15px;
	background: #fff;
	border: 1px dashed #d7dbe0;
	border-radius: 14px;
}

/* ---------------------------------- Sayfalama */

.befgh-dir-pager {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-top: 18px;
	flex-wrap: wrap;
}

.befgh-page-btn {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #d7dbe0;
	background: #fff;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	transition: all 0.15s ease;
}

.befgh-page-btn:hover:not(:disabled):not(.befgh-page-active) {
	border-color: #e91e63;
	color: #e91e63;
}

.befgh-page-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.befgh-page-active {
	background: #e91e63;
	border-color: #e91e63;
	color: #fff;
	cursor: default;
}

/* ---------------------------------- Üst satır: konum çipi + fiyat */

.befgh-dir-toprow {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.befgh-dir-price {
	font-size: 13px;
	font-weight: 800;
	color: #0f766e;
	background: rgba(15, 118, 110, 0.09);
	border-radius: 50px;
	padding: 3px 10px;
	white-space: nowrap;
}

/* Kategori ve etiket çipleri */
.befgh-dir-terms {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}

.befgh-term-chip {
	font-size: 11px;
	font-weight: 600;
	border-radius: 6px;
	padding: 3px 8px;
	line-height: 1.3;
}

.befgh-term-cat {
	background: rgba(34, 113, 177, 0.1);
	color: #2271b1;
}

.befgh-term-tag {
	background: #f1f3f5;
	color: #6b7280;
}

/* Mini iletişim butonları */
.befgh-mini-phone,
.befgh-mini-wa {
	padding: 7px 9px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.befgh-mini-phone {
	color: #2271b1 !important;
	border-color: rgba(34, 113, 177, 0.4) !important;
}

.befgh-mini-wa {
	background: #25d366 !important;
	border-color: #25d366 !important;
	color: #fff !important;
}

/* Harita senkron anahtarı — haritanın altında, minimal switch */
.befgh-dir-sync {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 12.5px;
	font-weight: 500;
	color: #8b93a0;
	cursor: pointer;
	user-select: none;
	transition: color 0.15s ease;
}

.befgh-dir-sync:hover {
	color: #4b5563;
}

.befgh-dir-sync input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.befgh-switch {
	position: relative;
	flex: 0 0 32px;
	width: 32px;
	height: 18px;
	border-radius: 20px;
	background: #d4d8de;
	transition: background 0.2s ease;
}

.befgh-switch::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: left 0.2s ease;
}

.befgh-dir-sync input:checked ~ .befgh-switch {
	background: #e91e63;
}

.befgh-dir-sync input:checked ~ .befgh-switch::after {
	left: 16px;
}

/* Kategori çoklu seçim menüsü */
.befgh-catdd {
	position: relative;
	min-width: 160px;
}

.befgh-catdd-toggle {
	width: 100%;
	min-height: 44px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid #d7dbe0;
	border-radius: 10px;
	background: #fafbfc;
	font-size: 15px;
	font-family: inherit;
	color: #374151;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	text-align: left;
}

.befgh-catdd-toggle svg {
	flex-shrink: 0;
	color: #9ca3af;
	transition: transform 0.2s ease;
}

#befgh-catdd-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
}

.befgh-catdd.open .befgh-catdd-toggle {
	border-color: #e91e63;
	box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.12);
	background: #fff;
}

.befgh-catdd.open .befgh-catdd-toggle svg {
	transform: rotate(180deg);
}

.befgh-catdd-panel {
	display: none;
	position: absolute;
	z-index: 40;
	top: calc(100% + 6px);
	left: 0;
	min-width: 230px;
	max-height: 260px;
	overflow: auto;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
	padding: 8px;
}

.befgh-catdd.open .befgh-catdd-panel {
	display: block;
}

.befgh-catdd-item {
	display: flex !important;
	align-items: center !important;
	gap: 10px;
	padding: 8px 10px !important;
	border-radius: 8px;
	cursor: pointer;
	margin: 0 !important;
	width: auto !important;
}

.befgh-catdd-item:hover {
	background: #f7f8fa;
}

.befgh-catdd-item span {
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #374151 !important;
	line-height: 1.35 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Tema checkbox stillerini ez: kendi küçük kutumuzu çiz */
.befgh-catdd-item input.befgh-catdd-cb {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	position: relative !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	flex: 0 0 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #cfd4da !important;
	border-radius: 5px !important;
	background: #fff !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer;
	display: inline-block !important;
	vertical-align: middle !important;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.befgh-catdd-item input.befgh-catdd-cb::before,
.befgh-catdd-item input.befgh-catdd-cb::after {
	content: none !important;
	display: none !important;
}

.befgh-catdd-item input.befgh-catdd-cb:checked {
	background: #e91e63 !important;
	border-color: #e91e63 !important;
}

.befgh-catdd-item input.befgh-catdd-cb:checked::after {
	content: "" !important;
	display: block !important;
	position: absolute;
	left: 4px;
	top: 0.5px;
	width: 4px;
	height: 9px;
	border: solid #fff !important;
	border-width: 0 2px 2px 0 !important;
	transform: rotate(45deg);
	background: transparent !important;
	border-radius: 0 !important;
}

.befgh-catdd-empty {
	display: block;
	padding: 10px;
	color: #9ca3af;
	font-size: 13px;
}

/* Öne çıkan ilanlar */
.befgh-feat-badge {
	font-size: 11px;
	font-weight: 800;
	background: linear-gradient(135deg, #ffd54f, #f5b301);
	color: #6b4e00;
	border-radius: 50px;
	padding: 3px 10px;
	letter-spacing: 0.2px;
	white-space: nowrap;
}

.befgh-dir-featured {
	border-color: rgba(245, 179, 1, 0.55);
	box-shadow: 0 4px 16px rgba(245, 179, 1, 0.14);
}

.befgh-dir-featured:hover {
	border-color: rgba(245, 179, 1, 0.85);
}

/* Harita araç butonları (ısı haritası / alan çiz) */
.befgh-map-tools {
	position: absolute;
	z-index: 6;
	top: 12px;
	right: 12px;
	display: flex;
	gap: 8px;
}

.befgh-tool-btn {
	border: 0;
	background: #fff;
	border-radius: 50px;
	padding: 8px 14px;
	font-size: 12.5px;
	font-weight: 700;
	color: #374151;
	cursor: pointer;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
	transition: all 0.15s ease;
	font-family: inherit;
}

.befgh-tool-btn:hover {
	transform: translateY(-1px);
}

.befgh-tool-btn.befgh-tool-on {
	background: #e91e63;
	color: #fff;
}

.befgh-region-alert {
	position: absolute;
	z-index: 6;
	top: 58px;
	right: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	max-width: min(420px, calc(100% - 24px));
	padding: 10px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 8px 26px rgba(15, 23, 42, 0.18);
}

.befgh-region-alert input {
	min-width: 190px;
	flex: 1 1 190px;
	height: 36px;
	border: 1px solid #d7dce5;
	border-radius: 10px;
	padding: 0 10px;
	font: inherit;
}

.befgh-region-alert-status {
	flex: 1 1 100%;
	font-size: 12px;
	color: #475569;
	font-weight: 700;
}

/* Yüzen çubuklar: rota ve karşılaştırma */
.befgh-float-bar {
	position: fixed;
	z-index: 9999;
	left: 50%;
	bottom: -80px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 10px;
	background: #1f2933;
	color: #fff;
	border-radius: 50px;
	padding: 10px 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transition: bottom 0.25s ease;
}

.befgh-float-bar-2 {
	left: auto;
	right: 20px;
	transform: none;
}

.befgh-float-bar.befgh-float-on {
	bottom: 20px;
}

.befgh-float-count {
	font-weight: 800;
	font-size: 14px;
}

/* Karşılaştırma modali */
.befgh-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(15, 20, 30, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	backdrop-filter: blur(3px);
}

.befgh-modal-box {
	position: relative;
	background: #fff;
	border-radius: 16px;
	max-width: 860px;
	width: 100%;
	max-height: 85vh;
	overflow: auto;
	padding: 26px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.befgh-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #f1f3f5;
	cursor: pointer;
	font-size: 15px;
	color: #374151;
}

.befgh-cmp-table {
	width: 100%;
	border-collapse: collapse;
}

.befgh-cmp-table th {
	text-align: left;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #6b7280;
	padding: 10px 12px;
	width: 110px;
	vertical-align: middle;
}

.befgh-cmp-table td {
	padding: 10px 12px;
	border-bottom: 1px dashed #eef0f2;
	vertical-align: middle;
	font-size: 14px;
}

.befgh-cmp-table img {
	width: 130px;
	height: 90px;
	object-fit: cover;
	border-radius: 10px;
}

/* Favori kalbi */
.befgh-dir-item {
	position: relative;
}

.befgh-fav-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #c3c9d1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: transform 0.15s ease, color 0.15s ease;
	padding: 0;
}

.befgh-fav-btn:hover {
	transform: scale(1.15);
	color: #e91e63;
}

.befgh-fav-btn.befgh-fav-on {
	color: #e91e63;
}

.befgh-no-map .befgh-dir-showmap {
	display: none;
}

.befgh-dir-recommend {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #e8ebf1;
}

.befgh-dir-recommend h3 {
	margin: 0 0 12px !important;
	font-size: 18px;
	color: #1f2430;
}

.befgh-dir-recommend-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px;
}

.befgh-dir-recommend-grid .befgh-dir-item {
	margin: 0;
	min-width: 0;
}

/* Aktif rota/karşılaştırma butonları */
.befgh-route-btn.befgh-on,
.befgh-cmp-btn.befgh-on {
	background: #1f2933 !important;
	border-color: #1f2933 !important;
	color: #fff !important;
}

/* Yakınımdakiler */
.befgh-nearby {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 12px;
	margin: 16px 0;
	min-height: 80px;
	position: relative;
}

.befgh-near-item {
	display: flex;
	gap: 10px;
	align-items: center;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 12px;
	padding: 10px;
	text-decoration: none !important;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.befgh-near-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.befgh-near-deal {
	border-color: rgba(233, 30, 99, 0.24);
	background: linear-gradient(135deg, #fff, #fff7fb);
}

.befgh-near-item img {
	width: 62px;
	height: 56px;
	object-fit: cover;
	border-radius: 9px;
	flex-shrink: 0;
}

.befgh-near-info {
	min-width: 0;
}

.befgh-near-deal-badge {
	display: inline-flex;
	max-width: 100%;
	margin-bottom: 3px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #e91e63;
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.befgh-near-info strong {
	display: block;
	font-size: 13.5px;
	color: #1f2933;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.befgh-near-info em {
	font-style: normal;
	font-size: 12px;
	color: #e91e63;
	font-weight: 700;
}

/* ---------------------------------- Kategori kartları */

.befgh-cats {
	display: grid;
	gap: 16px;
	margin: 16px 0;
}

.befgh-cats-c2 { grid-template-columns: repeat(2, 1fr); }
.befgh-cats-c3 { grid-template-columns: repeat(3, 1fr); }
.befgh-cats-c4 { grid-template-columns: repeat(4, 1fr); }
.befgh-cats-c5 { grid-template-columns: repeat(5, 1fr); }
.befgh-cats-c6 { grid-template-columns: repeat(6, 1fr); }

.befgh-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 170px;
	padding: 22px 14px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 14px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
	text-decoration: none !important;
	text-align: center;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	background-size: cover;
	background-position: center;
}

.befgh-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
	border-color: rgba(233, 30, 99, 0.35);
}

.befgh-cat-ico {
	font-size: 34px;
	line-height: 1;
	color: #e91e63;
}

.befgh-cat-ico svg {
	display: block;
}

.befgh-cat-name {
	font-size: 15px;
	font-weight: 700;
	color: #1f2933;
	line-height: 1.3;
}

.befgh-cat-count {
	position: absolute;
	top: 10px;
	right: 10px;
	min-width: 24px;
	padding: 3px 8px;
	border-radius: 50px;
	background: rgba(233, 30, 99, 0.1);
	color: #e91e63;
	font-size: 11.5px;
	font-weight: 800;
}

/* Hover'da beliren arka plan görseli (Elementor widget'ı) */
.befgh-cat-hoverbg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	border-radius: inherit;
}

.befgh-cat-card:hover .befgh-cat-hoverbg {
	opacity: 1;
}

.befgh-cat-ico,
.befgh-cat-name,
.befgh-cat-count {
	position: relative;
	z-index: 1;
}

.befgh-cat-ico i {
	font-size: inherit;
	line-height: 1;
}

.befgh-cat-ico svg {
	fill: currentColor;
}

/* Hover görseli olan kartta yazı ve ikon beyaza döner (Elementor'dan renk seçilirse o kazanır) */
.befgh-cat-hashover:hover .befgh-cat-name,
.befgh-cat-hashover:hover .befgh-cat-ico {
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	transition: color 0.25s ease;
}

.befgh-cat-hashover:hover .befgh-cat-ico svg {
	fill: #fff;
}

/* Görselli kart: fotoğraf + karartma + beyaz yazı */
.befgh-cat-hasimg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.55) 100%);
	transition: background 0.18s ease;
}

.befgh-cat-hasimg:hover::before {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 20%, rgba(233, 30, 99, 0.55) 100%);
}

.befgh-cat-hasimg .befgh-cat-name {
	position: relative;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
	margin-top: auto;
}

.befgh-cat-hasimg .befgh-cat-count {
	background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991px) {
	.befgh-cats-c4,
	.befgh-cats-c5,
	.befgh-cats-c6 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.befgh-cats {
		gap: 10px;
	}

	.befgh-cats-c2,
	.befgh-cats-c3,
	.befgh-cats-c4,
	.befgh-cats-c5,
	.befgh-cats-c6 {
		grid-template-columns: repeat(2, 1fr);
	}

	.befgh-cat-card {
		min-height: 130px;
		padding: 16px 10px;
	}

	.befgh-cat-ico {
		font-size: 28px;
	}

	.befgh-cat-name {
		font-size: 13.5px;
	}
}

/* Bölge takibi aboneliği */
.befgh-subscribe {
	background: linear-gradient(135deg, #fff5f8, #fff);
	border: 1px solid rgba(233, 30, 99, 0.18);
	border-radius: 16px;
	padding: 22px;
	margin: 20px 0;
}

.befgh-subscribe h4 {
	margin: 0 0 4px;
	font-size: 17px;
}

.befgh-subscribe p {
	margin: 0 0 12px;
	color: #6b7280;
	font-size: 13.5px;
}

.befgh-subscribe-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.befgh-subscribe-form select,
.befgh-subscribe-form input[type="email"],
.befgh-subscribe-form input[type="text"],
.befgh-subscribe-form input[type="number"] {
	flex: 1 1 180px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid #d7dbe0;
	border-radius: 10px;
	background: #fff;
	font-size: 14px;
}

.befgh-subscribe-form button {
	cursor: pointer;
}

.befgh-subscribe-status {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
}

@media (max-width: 600px) {
	.befgh-float-bar-2 {
		right: 10px;
	}

	.befgh-modal-box {
		padding: 18px;
	}

	.befgh-cmp-table img {
		width: 80px;
		height: 60px;
	}

	.befgh-map-tools {
		top: 8px;
		right: 8px;
	}

	.befgh-tool-btn {
		padding: 7px 11px;
		font-size: 11.5px;
	}
}

/* ---------------------------------- Bilgi penceresi görseli */

.befgh-iw-img {
	width: 100%;
	max-width: 220px;
	height: 110px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 6px;
	display: block;
}

/* ---------------------------------- Duyarlı */

@media (max-width: 991px) {
	.befgh-dir-body {
		grid-template-columns: 1fr;
	}

	.befgh-dir-mapwrap {
		position: relative;
		top: 0;
		order: -1;
	}

	.befgh-dir-map {
		height: 340px;
	}
}

@media (max-width: 600px) {
	/* Mobil: görsel üstte tam genişlik, bilgiler altta — taşma imkânsız. */
	.befgh-dir-item {
		flex-direction: column;
		gap: 10px;
	}

	.befgh-dir-thumb {
		flex: none;
		width: 100%;
	}

	.befgh-dir-thumb img {
		width: 100%;
		height: 150px;
	}

	.befgh-dir-item-actions .befgh-btn-primary,
	.befgh-dir-item-actions .befgh-dir-showmap {
		flex: 1 1 calc(50% - 6px);
		justify-content: center;
	}

	.befgh-dir-item-actions .befgh-route-btn,
	.befgh-dir-item-actions .befgh-cmp-btn {
		flex: 1 1 calc(50% - 6px);
		justify-content: center;
	}

	.befgh-catdd-panel {
		min-width: 100%;
		max-height: 220px;
	}

	.befgh-page-btn {
		min-width: 36px;
		height: 36px;
	}
}

/* ------------------------------------------------------------------
   v2.3.0 — Akıllı filtreler, sesli arama, kayıtlı aramalar, karşılama
   ------------------------------------------------------------------ */

.befgh-q-wrap { position: relative; }
.befgh-q-wrap input { padding-right: 40px !important; }
.befgh-mic {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent;
	color: #667085; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.befgh-mic:hover { color: #e91e63; background: #fdeef4; }
.befgh-mic-on { color: #fff !important; background: #e91e63 !important; animation: befghMicPulse 1.2s ease infinite; }
@keyframes befghMicPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, .4); }
	50% { box-shadow: 0 0 0 7px rgba(233, 30, 99, 0); }
}

.befgh-dir-adv {
	display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
	margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e3e6ec;
}
.befgh-adv-field { display: flex; align-items: center; gap: 7px; }
.befgh-adv-label { font-size: 12px; font-weight: 700; color: #667085; text-transform: uppercase; letter-spacing: .3px; }
.befgh-adv-sep { color: #98a2b3; }
.befgh-dir-adv input[type="number"] {
	width: 92px !important; border: 1px solid #d7dbe3 !important; border-radius: 9px !important;
	padding: 7px 9px !important; font-size: 13px !important; background: #fff !important; min-height: 0 !important;
}
.befgh-dir-adv select {
	border: 1px solid #d7dbe3 !important; border-radius: 9px !important; padding: 7px 26px 7px 9px !important;
	font-size: 13px !important; background: #fff !important; min-height: 0 !important; width: auto !important;
}
.befgh-adv-open { display: inline-flex !important; align-items: center; gap: 7px; font-size: 13px !important; font-weight: 600; color: #3a4152; cursor: pointer; margin: 0 !important; text-transform: none !important; }
.befgh-adv-open input { width: 16px !important; height: 16px !important; accent-color: #e91e63; margin: 0 !important; }

.befgh-saved-wrap { position: relative; display: flex; gap: 8px; margin-left: auto; }
.befgh-adv-btn {
	border: 1px solid #e3e6ec; background: #fff; color: #3a4152; border-radius: 9px; cursor: pointer;
	padding: 7px 13px; font-size: 12.5px; font-weight: 600; transition: all .15s ease; line-height: 1.3;
}
.befgh-adv-btn:hover { border-color: #e91e63; color: #e91e63; }
.befgh-saved-panel {
	position: absolute; top: calc(100% + 6px); right: 0; z-index: 50; min-width: 230px;
	background: #fff; border: 1px solid #e3e6ec; border-radius: 12px; padding: 8px;
	box-shadow: 0 12px 30px rgba(16, 24, 40, .16);
}
.befgh-saved-empty { display: block; padding: 8px 10px; color: #98a2b3; font-size: 12.5px; }
.befgh-saved-row { display: flex; align-items: center; gap: 5px; }
.befgh-saved-open {
	flex: 1; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px;
	font-size: 13px; color: #1f2430; cursor: pointer; font-weight: 600;
}
.befgh-saved-open:hover { background: #f4f5f8; color: #e91e63; }
.befgh-saved-del { border: 0; background: none; color: #98a2b3; cursor: pointer; padding: 6px 8px; border-radius: 8px; font-size: 12px; }
.befgh-saved-del:hover { color: #b91c1c; background: #fef2f2; }

.befgh-open-chip { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 12px; white-space: nowrap; }
.befgh-open-yes { background: #e8f5e9; color: #1b5e20; }
.befgh-open-no { background: #f1f3f6; color: #6b7280; }
.befgh-today-chip { font-size: 11.5px; font-weight: 600; color: #b26a00; background: #fff7ed; padding: 3px 9px; border-radius: 12px; white-space: nowrap; }

.befgh-welcome {
	position: fixed; inset: 0; z-index: 99999; background: rgba(15, 18, 26, .6);
	display: flex; align-items: center; justify-content: center; padding: 20px;
	-webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.befgh-welcome-box {
	position: relative; background: #fff; border-radius: 18px; padding: 30px 28px 26px; max-width: 380px; width: 100%;
	text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); animation: befghPopIn .25s ease;
}
@keyframes befghPopIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.befgh-welcome-ic { font-size: 40px; margin-bottom: 6px; }
.befgh-welcome-box h3 { margin: 0 0 6px !important; font-size: 20px; color: #1f2430; }
.befgh-welcome-box p { margin: 0 0 16px !important; color: #667085; font-size: 13.5px; }
.befgh-welcome-il {
	width: 100% !important; border: 1px solid #d7dbe3 !important; border-radius: 10px !important;
	padding: 10px 12px !important; font-size: 14px !important; margin-bottom: 12px !important; background: #fff !important;
}
.befgh-welcome-go { width: 100%; justify-content: center; }
.befgh-welcome-close {
	position: absolute; top: 10px; right: 12px; border: 0; background: none; color: #98a2b3;
	font-size: 16px; cursor: pointer; padding: 6px; line-height: 1;
}
.befgh-welcome-close:hover { color: #1f2430; }
@media (max-width: 700px) {
	.befgh-dir-adv { gap: 9px; }
	.befgh-saved-wrap { margin-left: 0; }
}

/* =====================================================================
   v2.4.1 — hidden özniteliği her koşulda kazanır (alan aç/kapa ayarları)
   display:flex tanımlı alanlarda hidden ezilmesin diye yüksek öncelikli kural.
   ===================================================================== */
.befgh-dir-search [hidden],
.befgh-dir-search-inner [hidden],
.befgh-dir-adv [hidden],
.befgh-dir-field[hidden],
.befgh-adv-field[hidden],
label.befgh-adv-open[hidden],
.befgh-saved-wrap[hidden]{display:none !important}
