/*
 * RomaniaHUB – pagina Firme (explorare)
 * Filtrele din stânga și rândul de deasupra rezultatelor.
 */

.cts-explore {
	--rh-accent: #6c1cff;
	--rh-accent-ink: #5612d6;
	--rh-accent-soft: #f1ebff;
	--rh-ink: #16141f;
	--rh-muted: #5b5870;
	--rh-line: #dcd9e6;
	--rh-bg: #f4f2f9;
}

/* ---------- Coloana cu filtre ---------- */

.cts-explore .finder-search {
	background: #fff;
	border-right: 1px solid #ebe8f3;
}

/* Taburile „Filtre / Categorii” ca un comutator */
.cts-explore .finder-tabs .nav-tabs {
	display: flex;
	gap: 4px;
	margin: 18px 20px 4px;
	padding: 4px;
	border: 0;
	border-radius: 12px;
	background: #f2f0f8;
}

.cts-explore .finder-tabs .nav-tabs > li {
	flex: 1 1 0;
	float: none;
	margin: 0;
}

.cts-explore .finder-tabs .nav-tabs > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px;
	margin: 0;
	padding: 0 10px;
	border: 0 !important;
	border-radius: 9px;
	background: transparent;
	color: var(--rh-muted);
	font-size: 14px;
	font-weight: 700;
}

.cts-explore .finder-tabs .nav-tabs > li > a i {
	font-size: 18px;
	margin: 0;
	color: inherit;
}

.cts-explore .finder-tabs .nav-tabs > li.active > a {
	background: #fff;
	color: var(--rh-ink);
	box-shadow: 0 1px 3px rgba(22, 20, 31, .1);
}

.cts-explore .finder-tabs .nav-tabs > li > a::after,
.cts-explore .finder-tabs .nav-tabs > li > a::before {
	display: none !important;
}

.cts-explore .finder-tabs .tab-content {
	padding: 0 20px;
}

/* Câmpurile: eticheta deasupra, câmp cu chenar */
.cts-explore .finder-search .md-group {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0 0 16px;
	padding: 0;
}

.cts-explore .finder-search .md-group > label {
	order: -1;
	position: static !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;
	margin: 0 0 6px;
	padding: 0;
	font-size: 14px !important;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rh-ink) !important;
	pointer-events: auto;
	white-space: normal;
}

.cts-explore .finder-search .md-group input[type="text"],
.cts-explore .finder-search .md-group input[type="search"] {
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--rh-line) !important;
	border-radius: 12px !important;
	background: #fff;
	box-shadow: none !important;
	font-size: 15px;
	color: var(--rh-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.cts-explore .finder-search .md-group input[type="text"]:focus,
.cts-explore .finder-search .md-group input[type="search"]:focus {
	border-color: var(--rh-accent) !important;
	box-shadow: 0 0 0 3px rgba(108, 28, 255, .15) !important;
	outline: none;
}

/* Câmpul „Unde?”: iconița de localizare în interiorul câmpului */
.cts-explore .finder-search .location-filter input {
	width: 100% !important;
	padding-right: 44px;
}

.cts-explore .finder-search .location-filter .geocode-location {
	position: absolute !important;
	right: 12px !important;
	left: auto !important;
	top: auto !important;
	bottom: 13px !important;
	margin: 0;
	padding: 0 !important;
	font-size: 20px;
	line-height: 20px;
	color: var(--rh-accent);
	cursor: pointer;
}

/* Listele derulante (categorii, județ, ordonare) */
.cts-explore .finder-search .select2-container {
	width: 100% !important;
}

.cts-explore .finder-search .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: 46px;
	padding: 0 40px 0 14px;
	border: 1px solid var(--rh-line) !important;
	border-radius: 12px !important;
	background: #fff;
	box-shadow: none !important;
}

.cts-explore .finder-search .select2-container--open .select2-selection--single,
.cts-explore .finder-search .select2-container--focus .select2-selection--single {
	border-color: var(--rh-accent) !important;
	box-shadow: 0 0 0 3px rgba(108, 28, 255, .15) !important;
}

.cts-explore .finder-search .select2-selection__rendered {
	border: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	font-size: 15px;
	font-weight: 600;
	color: var(--rh-ink) !important;
}

/* „×” pentru ștergerea alegerii, separat de săgeată */
.cts-explore .finder-search .select2-container .select2-selection--single:has(.select2-selection__clear) {
	padding-right: 66px;
}

.cts-explore .finder-search .select2-container--default .select2-selection--single .select2-selection__clear {
	position: absolute;
	right: 38px;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	margin: 0;
	float: none;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
}

.cts-explore .finder-search .select2-container--default .select2-selection--single .select2-selection__clear::before {
	font-size: 18px;
	color: var(--rh-muted);
}

.cts-explore .finder-search .select2-container--default .select2-selection--single .select2-selection__clear:hover {
	background: #f2f0f8;
}

/* Listă goală: arătăm „Toate” în loc de un câmp alb */
.cts-explore .finder-search .select2-selection__placeholder::before {
	content: "Toate";
	font-weight: 500;
	color: #8a8698;
}

.cts-explore .finder-search .select2-selection__arrow {
	right: 10px !important;
	top: 50% !important;
	transform: translateY(-50%);
	height: 24px !important;
	width: 24px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.cts-explore .finder-search .select2-selection__arrow::before {
	line-height: 1 !important;
	font-size: 24px !important;
	color: var(--rh-muted);
}

/* Raza de proximitate */
.cts-explore .finder-search .proximity-filter {
	margin: -4px 0 18px;
}

.cts-explore .finder-search .proximity-filter .amount {
	font-size: 13px;
	font-weight: 600;
	color: var(--rh-muted);
}

.cts-explore .finder-search .ui-slider-range,
.cts-explore .finder-search .ui-slider-handle {
	background: var(--rh-accent) !important;
	border-color: var(--rh-accent) !important;
}

/* Butoanele „Caută” și „Resetează” */
.cts-explore .finder-search .fc-search {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 6px;
}

.cts-explore .finder-search .c27-explore-search-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 12px !important;
	background: var(--rh-accent) !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: 0 6px 16px rgba(108, 28, 255, .3);
	transition: background .15s ease;
}

.cts-explore .finder-search .c27-explore-search-button:hover {
	background: var(--rh-accent-ink) !important;
}

.cts-explore .finder-search .c27-explore-search-button i {
	margin: 0;
	font-size: 19px;
	color: inherit;
}

.cts-explore .finder-search .reset-results-27 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 40px;
	border-radius: 10px;
	color: var(--rh-muted) !important;
	font-size: 14px;
	font-weight: 600;
}

.cts-explore .finder-search .reset-results-27:hover {
	background: #f4f2f9;
	color: var(--rh-ink) !important;
}

.cts-explore .finder-search .reset-results-27 i {
	margin: 0;
	font-size: 17px;
	color: inherit;
}

/* ---------- Rândul de deasupra rezultatelor ---------- */

.cts-explore .finder-listings {
	background: var(--rh-bg);
}

.cts-explore .fl-head {
	padding-top: 6px;
	padding-bottom: 6px;
}

.cts-explore .explore-desktop-head {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
}

.cts-explore .explore-desktop-head .fl-results-no {
	order: -1;
	flex: 1 1 auto;
	text-align: left !important;
	font-size: 15px;
	color: var(--rh-muted);
}

.cts-explore .explore-desktop-head .fl-results-no b {
	color: var(--rh-ink);
	font-weight: 800;
}

.cts-explore .explore-desktop-head .load-batch-icon,
.cts-explore .explore-desktop-head .expand-map-btn {
	position: static !important;
	float: none !important;
	margin: 0 !important;
}

.cts-explore .explore-desktop-head .load-batch-icon a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid #e0dde9;
	background: #fff;
	color: var(--rh-ink);
}

.cts-explore .explore-desktop-head .load-batch-icon a:hover {
	border-color: var(--rh-accent);
	color: var(--rh-accent);
}

.cts-explore .explore-desktop-head .batch-unavailable a {
	opacity: .4;
	pointer-events: none;
}

.cts-explore .explore-desktop-head .expand-map-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid #e0dde9;
	background: #fff;
	color: var(--rh-ink) !important;
	font-size: 14px;
	font-weight: 700;
}

.cts-explore .explore-desktop-head .expand-map-btn i {
	margin: 0;
	font-size: 18px;
	color: var(--rh-accent);
}

.cts-explore .explore-desktop-head .expand-map-btn:hover {
	border-color: var(--rh-accent);
}

/* ---------- Filtrele active (etichete cu ×) ---------- */

.cts-explore .rh-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 15px 18px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #ebe8f3;
	border-radius: 12px;
}

.cts-explore .rh-active-filters[hidden] {
	display: none;
}

.cts-explore .rh-af__title {
	margin-right: 2px;
	font-size: 14px;
	font-weight: 700;
	color: #3a3748;
}

.cts-explore .rh-af__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 34px;
	padding: 0 10px 0 12px;
	border: 1px solid #d8cbff;
	border-radius: 999px;
	background: #f1ebff;
	color: #3d0aa3;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}

.cts-explore .rh-af__chip:hover {
	background: #e6dbff;
	border-color: #b9a2ff;
}

.cts-explore .rh-af__chip svg:last-child {
	opacity: .7;
}

.cts-explore .rh-af__chip:hover svg:last-child {
	opacity: 1;
}

.cts-explore .rh-af__dot {
	width: 9px;
	height: 9px;
	border-radius: 3px;
	background: #6c1cff;
}

.cts-explore .rh-af__clear {
	margin-left: auto;
	padding: 6px 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #5b5870;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.cts-explore .rh-af__clear:hover {
	color: #16141f;
}

/* ---------- Tab-ul „Categorii”: rânduri compacte în loc de bannere ---------- */

.cts-explore .finder-search .c27-explore-categories .listing-cat {
	position: relative;
	float: none;
	width: 100% !important;
	height: 60px !important;
	margin: 0 0 8px !important;
	border: 1px solid #ebe8f3;
	border-radius: 14px;
	background: #fff;
	box-shadow: none;
	overflow: hidden;
	transition: border-color .15s ease, background .15s ease;
}

.cts-explore .finder-search .c27-explore-categories .listing-cat:hover {
	border-color: #cdbfff;
	background: #faf8ff;
}

.cts-explore .finder-search .c27-explore-categories .listing-cat.active {
	border-color: var(--rh-accent);
	background: #f6f1ff;
}

.cts-explore .finder-search .c27-explore-categories .listing-cat .overlay,
.cts-explore .finder-search .c27-explore-categories .listing-cat .lc-background {
	display: none !important;
}

.cts-explore .finder-search .c27-explore-categories .listing-cat > a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 0 40px 0 10px;
	color: var(--rh-ink);
}

/* Săgeata din dreapta */
.cts-explore .finder-search .c27-explore-categories .listing-cat > a::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #9a97aa;
	border-top: 2px solid #9a97aa;
	transform: translateY(-50%) rotate(45deg);
}

.cts-explore .finder-search .c27-explore-categories .lc-icon {
	order: -1;
	position: static !important;
	transform: none !important;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--rh-cat, var(--rh-accent));
	text-align: center;
}

.cts-explore .finder-search .c27-explore-categories .lc-icon i {
	font-size: 20px !important;
	color: #fff !important;
	margin: 0;
}

.cts-explore .finder-search .c27-explore-categories .lc-icon img {
	max-width: 22px;
	max-height: 22px;
	filter: brightness(0) invert(1);
}

.cts-explore .finder-search .c27-explore-categories .lc-info {
	position: static !important;
	padding: 0 !important;
	width: auto !important;
	min-width: 0;
	text-align: left !important;
	color: var(--rh-ink) !important;
}

.cts-explore .finder-search .c27-explore-categories .lc-info h4 {
	margin: 0 0 2px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--rh-ink) !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cts-explore .finder-search .c27-explore-categories .lc-info h6 {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--rh-muted) !important;
	text-transform: none;
	letter-spacing: 0;
}

/* Categoria aleasă (după click): fără banner mare */
.cts-explore .finder-search .active-taxonomy-container .category-background {
	display: none !important;
}

.cts-explore .finder-search .active-taxonomy-container {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	column-gap: 12px;
	align-items: center;
	padding: 16px !important;
	margin-bottom: 12px;
	border: 1px solid #ebe8f3;
	border-radius: 14px;
	background: #fff;
	color: var(--rh-ink);
}

.cts-explore .finder-search .active-taxonomy-container > :not(.cat-icon):not(.category-background) ~ :not(.cat-icon) {
	grid-column: 1 / -1;
}

.cts-explore .finder-search .active-taxonomy-container .cat-icon {
	position: static !important;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 12px;
	transform: none !important;
}

.cts-explore .finder-search .active-taxonomy-container .cat-icon i {
	font-size: 22px;
	color: #fff;
}

.cts-explore .finder-search .active-taxonomy-container h1,
.cts-explore .finder-search .active-taxonomy-container h2,
.cts-explore .finder-search .active-taxonomy-container h4 {
	color: var(--rh-ink) !important;
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 6px;
}

.cts-explore .finder-search .active-taxonomy-container .category-description {
	margin: 12px 0 14px;
	font-weight: 400;
	color: var(--rh-muted);
	font-size: 14px;
	line-height: 1.5;
}

.cts-explore .finder-search .taxonomy-back-btn {
	display: inline-flex;
	width: auto !important;
	height: auto !important;
	padding: 6px 4px !important;
	background: transparent !important;
	align-items: center;
	gap: 6px;
	margin: 4px 0 12px;
	color: var(--rh-muted) !important;
	font-size: 14px;
	font-weight: 700;
}

/* =====================================================================
   Telefon și tabletă (sub 1200px – exact când tema trece pe „mobil”)
   ===================================================================== */
@media (max-width: 1200px) {

	/* ---------- Bara de sus: căutare + buton „Filtre” ---------- */
	.cts-explore .mobile-explore-head-top {
		display: flex;
		align-items: center;
		gap: 8px;
		height: auto !important;
		padding: 12px 16px !important;
		background: #120c26 !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	.cts-explore .mobile-explore-head-top .explore-head-search {
		position: relative;
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		align-items: center;
		height: 48px;
		margin: 0 !important;
		padding: 0 12px 0 40px !important;
		border-radius: 12px;
		background: #fff;
	}

	.cts-explore .mobile-explore-head-top .explore-head-search i {
		position: absolute !important;
		left: 12px !important;
		top: 50% !important;
		transform: translateY(-50%);
		margin: 0 !important;
		font-size: 20px !important;
		color: var(--rh-accent) !important;
	}

	.cts-explore .mobile-explore-head-top .explore-head-search input {
		width: 100%;
		height: 46px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		font-size: 16px !important; /* 16px = telefonul nu mai face zoom când scrii */
		color: var(--rh-ink) !important;
		box-shadow: none !important;
	}

	.cts-explore .mobile-explore-head-top .explore-head-top-filters {
		flex: 0 0 auto;
		position: static !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	.cts-explore .mobile-explore-head-top .explore-head-top-filters a {
		display: inline-flex !important;
		flex-direction: row-reverse;
		align-items: center;
		gap: 8px;
		height: 48px;
		padding: 0 16px !important;
		border-radius: 12px;
		background: var(--rh-accent) !important;
		color: #fff !important;
		font-size: 15px !important;
		font-weight: 800 !important;
		line-height: 1 !important;
		white-space: nowrap;
		text-decoration: none !important;
	}

	.cts-explore .mobile-explore-head-top .explore-head-top-filters a i {
		position: static !important;
		margin: 0 !important;
		font-size: 17px !important;
		color: #fff !important;
		transform: none !important;
	}

	.cts-explore .rh-filter-badge {
		display: inline-grid;
		place-items: center;
		min-width: 20px;
		height: 20px;
		padding: 0 6px;
		border-radius: 999px;
		background: #fff;
		color: var(--rh-accent);
		font-size: 12px;
		font-weight: 800;
		order: -1; /* cu row-reverse ajunge la final, după text */
	}

	/* Categoria aleasă din tab-ul Categorii (în locul căutării) */
	.cts-explore .mobile-explore-head-top .primary-category {
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		align-items: center;
		gap: 10px;
		color: #fff;
	}

	.cts-explore .mobile-explore-head-top .primary-category .cat-icon {
		position: static !important;
		display: grid;
		place-items: center;
		flex: 0 0 auto;
		width: 40px;
		height: 40px;
		margin: 0 !important;
		border-radius: 12px;
	}

	.cts-explore .mobile-explore-head-top .primary-category .cat-icon i {
		font-size: 20px;
		color: #fff;
	}

	.cts-explore .mobile-explore-head-top .primary-category h1 {
		margin: 0 !important;
		font-size: 18px !important;
		font-weight: 800 !important;
		color: #fff !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* ---------- Panoul „Filtre”: se deschide de jos ---------- */
	html:has(.cts-explore.mobile-tab-filters),
	html:has(.cts-explore.mobile-tab-filters) body {
		overflow: hidden !important;
	}

	.cts-explore.mobile-tab-filters {
		z-index: 100000 !important;
	}

	.cts-explore.mobile-tab-filters::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 1;
		background: rgba(10, 6, 24, .6);
	}

	.cts-explore.mobile-tab-filters .finder-search {
		position: fixed !important;
		top: 56px !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		z-index: 2 !important;
		width: auto !important;
		height: auto !important;
		max-width: 640px;
		margin: 0 auto;
		padding: 0 !important;
		border-radius: 24px 24px 0 0;
		background: #fff !important;
		box-shadow: 0 -10px 40px rgba(0, 0, 0, .35);
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}

	.cts-explore.mobile-tab-filters .finder-search .finder-tabs {
		float: none;
		width: 100%;
		padding: 0 16px !important;
	}

	/* Capul panoului: „Filtre” + × */
	.cts-explore .rh-sheet-head {
		position: sticky;
		top: 0;
		z-index: 5;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 -16px 14px;
		padding: 20px 20px 12px;
		border-bottom: 1px solid #efedf4;
		background: #fff;
	}

	.cts-explore .rh-sheet-head::before {
		content: "";
		position: absolute;
		top: 8px;
		left: 50%;
		width: 44px;
		height: 5px;
		margin-left: -22px;
		border-radius: 999px;
		background: #d6d1e6;
	}

	.cts-explore .rh-sheet-head h2 {
		margin: 0;
		font-size: 21px;
		font-weight: 800;
		line-height: 1.2;
		color: var(--rh-ink);
	}

	.cts-explore .rh-sheet-close {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 999px;
		background: #f2f1f6;
		color: var(--rh-ink) !important;
	}

	/* Butoanele de jos: „Șterge tot” + „Arată firmele”, mereu la vedere */
	.cts-explore.mobile-tab-filters #search-form .search-filters {
		flex-direction: column !important;
	}

	.cts-explore.mobile-tab-filters .fc-search {
		position: sticky;
		bottom: 0;
		z-index: 5;
		display: flex !important;
		flex-direction: row-reverse;
		align-items: center;
		gap: 10px;
		width: auto !important;
		margin: 16px -16px 0 !important;
		padding: 12px 16px calc(14px + env(safe-area-inset-bottom)) !important;
		border-top: 1px solid #efedf4;
		background: #fff;
	}

	.cts-explore.mobile-tab-filters .fc-search .c27-explore-search-button {
		flex: 1 1 auto;
		width: auto !important;
		height: 54px !important;
		margin: 0 !important;
		border-radius: 12px !important;
		font-size: 16px !important;
		font-weight: 800 !important;
		box-shadow: 0 8px 20px rgba(108, 28, 255, .35) !important;
	}

	.cts-explore.mobile-tab-filters .fc-search .reset-results-27 {
		flex: 0 0 auto;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: auto !important;
		height: 54px;
		margin: 0 !important;
		padding: 0 18px !important;
		border: 1px solid var(--rh-line) !important;
		border-radius: 12px !important;
		background: #fff !important;
		color: var(--rh-ink) !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		text-decoration: none !important;
	}

	.cts-explore.mobile-tab-filters .fc-search .reset-results-27 i,
	.cts-explore .fc-search .close-filters-27 {
		display: none !important;
	}

	.cts-explore.mobile-tab-filters .finder-search .md-group,
	.cts-explore.mobile-tab-filters .finder-search .form-group {
		margin-bottom: 18px;
	}

	/* Câmpurile: 16px ca să nu mărească telefonul pagina la atingere */
	.cts-explore.mobile-tab-filters .finder-search input,
	.cts-explore.mobile-tab-filters .finder-search .select2-selection__rendered {
		font-size: 16px !important;
	}

	/* ---------- Butonul plutitor „Vezi harta / Vezi lista” ---------- */
	.cts-explore .explore-mobile-nav {
		top: auto !important;
		left: 50% !important;
		right: auto !important;
		bottom: calc(16px + env(safe-area-inset-bottom)) !important;
		width: auto !important;
		transform: translateX(-50%);
		padding: 0 !important;
		border-radius: 999px !important;
		background: #120c26 !important;
		box-shadow: 0 10px 28px rgba(18, 12, 38, .35) !important;
		overflow: hidden;
	}

	.cts-explore .explore-mobile-nav,
	.cts-explore .explore-mobile-nav .nav-tabs {
		height: auto !important;
	}

	.cts-explore .explore-mobile-nav .nav-tabs {
		display: flex !important;
		margin: 0 !important;
		border: 0 !important;
	}

	.cts-explore .explore-mobile-nav .nav-tabs > li {
		float: none !important;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
	}

	.cts-explore .explore-mobile-nav .nav-tabs > li > a {
		display: inline-flex !important;
		align-items: center;
		gap: 8px;
		height: 46px;
		margin: 0 !important;
		padding: 0 18px !important;
		border: 0 !important;
		background: transparent !important;
		color: #fff !important;
		font-size: 14px !important;
		font-weight: 700 !important;
	}

	.cts-explore .explore-mobile-nav .nav-tabs > li > a i {
		color: #fff !important;
		margin: 0 !important;
	}

	.cts-explore.mobile-tab-filters .explore-mobile-nav {
		display: none !important;
	}

	/* ---------- Lista de firme ---------- */
	.cts-explore .finder-listings .fl-head {
		padding: 14px 16px 6px !important;
	}

	.cts-explore .rh-active-filters {
		margin: 4px 16px 12px !important;
	}
}

/* =====================================================================
   Lista de firme – piese noi (pe toate paginile cu listă)
   ===================================================================== */

/* Capul listei: „Toate firmele” + câte s-au găsit, ordonarea, Grilă / Hartă */
.cts-explore .fl-head.rh-list-head {
	display: flex !important;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 16px;
	height: auto !important;
	margin: 0 0 14px !important;
	padding: 0 15px !important;
	border: 0 !important;
	background: transparent !important;
}

.cts-explore .rh-list-head__info h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.4px;
	color: var(--rh-ink);
}

.cts-explore .rh-list-head__info p {
	margin: 2px 0 0;
	font-size: 14px;
	color: var(--rh-muted);
}

.cts-explore .rh-list-head__info p strong {
	color: var(--rh-ink);
}

.cts-explore .rh-list-head__tools {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.cts-explore .rh-list-sort .form-group {
	width: 200px;
	margin: 0 !important;
	padding: 0 !important;
}

.cts-explore .rh-list-sort .form-group > label,
.cts-explore .rh-list-sort .orderby-filter-notes {
	display: none !important;
}

.cts-explore .rh-list-sort .select2-container .select2-selection {
	display: flex !important;
	align-items: center;
	height: 42px !important;
	padding: 0 34px 0 14px !important;
	border: 1px solid var(--rh-line) !important;
	border-radius: 12px !important;
	background: #fff !important;
}

.cts-explore .rh-list-sort .select2-selection__rendered {
	padding: 0 !important;
	border: 0 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	color: var(--rh-ink) !important;
}

.cts-explore .rh-list-sort .select2-selection__arrow {
	top: 0 !important;
	right: 10px !important;
	height: 100% !important;
	display: flex !important;
	align-items: center;
}

.cts-explore .rh-view-toggle {
	display: inline-flex;
	padding: 3px;
	border-radius: 12px;
	background: #ebe8f3;
}

.cts-explore .rh-view-toggle a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 12px;
	border-radius: 9px;
	color: var(--rh-muted) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.cts-explore .rh-view-toggle a.is-active {
	background: #fff;
	color: var(--rh-ink) !important;
	box-shadow: 0 1px 3px rgba(18, 12, 38, .12);
}

/* Paginarea de jos: 1 2 3 … 6  Următoarea › */
.cts-explore .c27-explore-pagination {
	float: none;
	width: 100%;
	margin: 10px 0 30px;
	padding: 0 15px;
	text-align: center;
}

.cts-explore .c27-explore-pagination ul {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.cts-explore .c27-explore-pagination li {
	display: block;
	margin: 0 !important;
}

.cts-explore .c27-explore-pagination li {
	float: none !important;
	width: auto !important;
	min-width: 0 !important;
	height: 42px;
}

.cts-explore .c27-explore-pagination a,
.cts-explore .c27-explore-pagination span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: static !important;
	top: auto !important;
	margin: 0 !important;
	width: auto !important;
	box-sizing: border-box !important;
	min-width: 42px;
	height: 42px;
	padding: 0 12px !important;
	border: 1px solid var(--rh-line) !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: var(--rh-ink) !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.cts-explore .c27-explore-pagination a:hover {
	border-color: var(--rh-accent) !important;
	color: var(--rh-accent-ink) !important;
}

.cts-explore .c27-explore-pagination span.current {
	border-color: var(--rh-accent) !important;
	background: var(--rh-accent) !important;
	color: #fff !important;
}

.cts-explore .c27-explore-pagination span.gap {
	min-width: 20px;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.cts-explore .c27-explore-pagination a[rel="next"],
.cts-explore .c27-explore-pagination a[rel="prev"] {
	font-size: 0 !important;
}

.cts-explore .c27-explore-pagination a[rel="next"] {
	padding: 0 16px !important;
}

.cts-explore .c27-explore-pagination a[rel="next"]::after {
	content: "Următoarea ›";
	font-size: 15px;
	line-height: 1;
	white-space: nowrap;
}

.cts-explore .c27-explore-pagination a[rel="prev"]::after {
	content: "‹ Înapoi";
	font-size: 15px;
	line-height: 1;
	white-space: nowrap;
}

.cts-explore .c27-explore-pagination a[rel="prev"] {
	padding: 0 16px !important;
}

.cts-explore .c27-explore-pagination a::before {
	display: none !important;
}

/* Caseta din grilă: „Locul ăsta poate fi al firmei tale” */
.cts-explore .rh-promo-item {
	display: flex;
}

.cts-explore .rh-promo-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	width: 100%;
	min-height: 320px;
	margin-bottom: 20px;
	padding: 26px 22px;
	border-radius: 20px;
	background:
		radial-gradient(circle at 85% 10%, rgba(169, 139, 255, .45) 0, rgba(169, 139, 255, 0) 45%),
		linear-gradient(160deg, #6c1cff 0%, #3d0aa3 100%);
	color: #fff;
}

.cts-explore .rh-promo-card__plus {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: auto;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 12px;
	background: rgba(255, 255, 255, .14);
	font-size: 24px;
	font-weight: 400;
}

.cts-explore .rh-promo-card h3 {
	margin: 0;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
	color: #fff;
}

.cts-explore .rh-promo-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #e3dbff;
}

.cts-explore .rh-promo-card a {
	align-self: flex-start;
	margin-top: 6px;
	padding: 10px 16px;
	border-radius: 12px;
	background: #fff;
	color: var(--rh-accent-ink) !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
}

/* Coloana de filtre: cap „Filtre” + „Resetează” */
.cts-explore .rh-side-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.cts-explore .rh-side-head h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: var(--rh-ink);
}

.cts-explore .rh-side-head h2 svg {
	color: var(--rh-accent);
}

.cts-explore .rh-side-reset {
	color: var(--rh-accent-ink) !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
}

/* Taburile „Filtre / Categorii” nu mai apar: categoriile sunt în listă cu bife */
.cts-explore .finder-tabs .nav-tabs.tabs-menu {
	display: none !important;
}

/* Ordonarea stă acum în capul listei; categoria se alege din lista cu bife */
.cts-explore .rh-filter--sort,
.cts-explore .rh-filter--category {
	display: none !important;
}

/* Pe pagina Firme căutarea e în hero (calculator) sau în bara de sus (telefon) */
body:has(.rh-firme-sus) .cts-explore .rh-filter--search_keywords,
body:has(.rh-firme-sus) .cts-explore .rh-filter--search_location,
body:has(.rh-firme-sus) .cts-explore .rh-filter--proximity {
	display: none !important;
}

/* Categoriile cu bife */
.cts-explore .rh-cats-filter {
	margin: 0 0 18px;
}

.cts-explore .rh-filter-label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--rh-ink);
}

.cts-explore .rh-check {
	position: relative;
	display: flex !important;
	align-items: center;
	gap: 9px;
	margin: 0 !important;
	padding: 7px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--rh-ink);
	cursor: pointer;
}

.cts-explore .rh-check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.cts-explore .rh-check__box {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border: 1.5px solid #c9c4d8;
	border-radius: 5px;
	background: #fff;
	transition: background .15s ease, border-color .15s ease;
}

.cts-explore .rh-check input:checked + .rh-check__box {
	border-color: var(--rh-accent);
	background: var(--rh-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.cts-explore .rh-check input:focus-visible + .rh-check__box {
	box-shadow: 0 0 0 3px rgba(108, 28, 255, .25);
}

.cts-explore .rh-check__dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 2px;
}

.cts-explore .rh-check__name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cts-explore .rh-check__count {
	flex: 0 0 auto;
	min-width: 26px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #f2f1f6;
	color: var(--rh-muted);
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.cts-explore .rh-check input:checked ~ .rh-check__count {
	background: #f1ebff;
	color: var(--rh-accent-ink);
}

.cts-explore .rh-check--more {
	display: none !important;
}

.cts-explore .rh-cats-filter.is-open .rh-check--more {
	display: flex !important;
}

.cts-explore .rh-cats-more {
	display: inline-block;
	margin-top: 4px;
	color: var(--rh-accent-ink) !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
}

.cts-explore .rh-cats-more__close,
.cts-explore .rh-cats-filter.is-open .rh-cats-more__open {
	display: none;
}

.cts-explore .rh-cats-filter.is-open .rh-cats-more__close {
	display: inline;
}

/* Caseta de sub filtre: „Firma ta nu e încă aici?” */
.cts-explore .rh-side-cta {
	clear: both; /* în modul „Hartă” filtrele sunt plutitoare (float) și caseta urca peste ele */
	margin: 16px 0 0;
	padding: 20px;
	border-radius: 20px;
	background:
		radial-gradient(circle at 90% 0%, rgba(169, 139, 255, .4) 0, rgba(169, 139, 255, 0) 50%),
		linear-gradient(160deg, #3d0aa3 0%, #1d0f4a 100%);
	color: #fff;
}

.cts-explore .rh-side-cta__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .14);
}

.cts-explore .rh-side-cta h3 {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 800;
	color: #fff;
}

.cts-explore .rh-side-cta p {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #ddd5f7;
}

.cts-explore .rh-side-cta a {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 10px;
	background: #fff;
	color: var(--rh-accent-ink) !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
}

/* Banda de la final: „Ai o firmă? Adaug-o gratuit…” */
.rh-bottom-cta {
	--rh-accent-ink: #5612d6;
	--rh-ink: #16141f;
	padding: 32px 10px 56px;
	background: #f4f2f9;
}

.rh-bottom-cta__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
	margin: 0;
	padding: 40px 48px;
	border-radius: 20px;
	background:
		radial-gradient(circle at 90% 0%, rgba(169, 139, 255, .45) 0, rgba(169, 139, 255, 0) 45%),
		linear-gradient(120deg, #3d0aa3 0%, #6c1cff 100%);
	color: #fff;
}

.rh-bottom-cta h2 {
	margin: 0 0 12px;
	font-size: clamp(22px, 2.3vw, 32px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.6px;
	color: #fff;
}

.rh-bottom-cta ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rh-bottom-cta li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
	color: #e3dbff;
}

.rh-bottom-cta li svg {
	color: #a8f0c6;
}

.rh-bottom-cta__btn {
	flex: 0 0 auto;
	padding: 14px 22px;
	border-radius: 12px;
	background: #fff;
	color: var(--rh-accent-ink) !important;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(18, 12, 38, .25);
}

@media (max-width: 767px) {
	.rh-bottom-cta {
		padding: 16px 16px 90px;
	}

	.rh-bottom-cta__box {
		flex-direction: column;
		align-items: flex-start;
		padding: 24px 20px;
	}

	.cts-explore .rh-list-head__info h2 {
		font-size: 20px;
	}

	.cts-explore .rh-list-sort .form-group {
		width: 170px;
	}
}

/* =====================================================================
   Calculator, pagina Firme (cu partea de sus RomaniaHUB):
   lista curge normal în pagină, în lățimea site-ului (1440px),
   coloana de filtre e un card care rămâne lipit sus cât derulezi.
   Când se deschide harta, tema revine la aranjarea ei obișnuită.
   ===================================================================== */
@media (min-width: 1201px) {
	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) {
		height: auto !important;
		overflow: visible !important;
		background: #f4f2f9;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .fc-default {
		display: flex;
		align-items: flex-start;
		gap: 32px;
		max-width: 1440px; /* aceeași lățime ca restul site-ului; harta deschisă rămâne pe tot ecranul */
		height: auto !important;
		margin: 0 auto;
		padding: 32px 10px 0;
		box-sizing: border-box;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .finder-search {
		position: sticky !important;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px) !important;
		flex: 0 0 300px;
		width: 300px !important;
		height: auto !important;
		max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 116px);
		padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		overflow-y: auto !important;
		scrollbar-width: none;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .finder-search::-webkit-scrollbar {
		display: none;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .finder-tabs {
		float: none;
		width: 100%;
		padding: 22px 22px 20px !important;
		border: 1px solid #ebe8f3;
		border-radius: 20px;
		background: #fff;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .finder-tabs .tab-content {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .finder-listings {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		flex: 1 1 auto;
		width: auto !important;
		min-width: 0;
		height: auto !important;
		padding: 0 !important;
		overflow: visible !important;
		background: transparent !important;
	}

	/* Grila de firme: 3 pe rând, cu spațiu de 24px între ele */
	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .fl-head.rh-list-head,
	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .rh-active-filters {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .results-view.grid {
		gap: 24px;
		margin: 0 !important;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .results-view.grid > .grid-item {
		width: calc((100% - 48px) / 3) !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .results-view.grid > .grid-item > .lf-item-container,
	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .rh-promo-card {
		margin-bottom: 0 !important;
	}

	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .c27-explore-pagination {
		margin-top: 32px;
		padding: 0;
	}

	/* Harta apare doar când apeși „Hartă” */
	body:has(.rh-firme-sus) .cts-explore.finder-container:not(.map-expanded) .finder-map {
		display: none !important;
	}

	/* „Resetează” e sus, lângă „Filtre”; jos rămâne doar „Arată rezultatele” */
	body:has(.rh-firme-sus) .cts-explore .finder-search .fc-search .reset-results-27 {
		display: none !important;
	}

	body:has(.rh-firme-sus) .cts-explore .finder-search .fc-search {
		margin: 6px 0 0 !important;
	}
}
