/* ==========================================================================
   BYM Search form — glass bar layout
   ========================================================================== */

.bym-search-bar {
	--bym-search-burgundy: #702344;
	--bym-search-burgundy-dark: #5a1c37;
	--bym-search-text: #2d2a32;
	--bym-search-muted: #7a7380;
	--bym-search-border: rgba(112, 35, 68, 0.22);
	--bym-search-glass: rgba(255, 255, 255, 0.78);
	--bym-search-radius: 14px;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.bym-search-bar.lp-search-bar {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.lp-home-banner-contianer .bym-search-bar,
.pos-relative .bym-search-bar {
	width: 100%;
}

.bym-search-bar.lp-search-bar .form-group,
.bym-search-bar.lp-search-bar .form-group.lp-location-search-imbnet {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.bym-search-bar .bym-search-form {
	margin: 0;
}

.bym-search-bar .bym-search-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
	grid-template-areas: "what where submit";
	gap: 0.65rem;
	align-items: stretch;
	padding: 0.65rem;
	border-radius: calc(var(--bym-search-radius) + 4px);
	border: 1px solid rgba(255, 255, 255, 0.92);
	background: var(--bym-search-glass);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 18px 48px rgba(45, 42, 50, 0.12);
}

.bym-search-bar .bym-search-field {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	min-width: 0;
	padding: 0.5rem 0.75rem;
	border-radius: var(--bym-search-radius);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--bym-search-border);
}

.bym-search-bar .bym-search-field--what {
	grid-area: what;
	overflow: visible;
}

.bym-search-bar .bym-search-field--what .bym-search-control {
	overflow: visible;
}

.bym-search-bar .bym-search-field--what.is-service-open {
	position: relative;
	z-index: 120;
}

.bym-search-bar.is-service-open {
	position: relative;
	z-index: 200;
}

.bym-search-bar.is-service-open .bym-search-field--what {
	z-index: 210;
}

.bym-search-bar .bym-search-field--where {
	grid-area: where;
	justify-content: flex-start;
	overflow: visible;
}

.bym-search-bar .bym-search-field,
.bym-search-bar .bym-search-shell,
.bym-search-bar .bym-search-form,
.bym-search-bar .bym-search-control,
.bym-search-bar .bym-search-select-wrap {
	overflow: visible;
}

.bym-search-bar .bym-search-control {
	position: relative;
	width: 100%;
	min-width: 0;
}

.bym-search-bar .bym-search-input-anchor {
	position: relative;
	width: 100%;
	min-width: 0;
	overflow: visible;
}

.bym-search-bar .bym-search-input-anchor.is-open {
	z-index: 10050;
}

.bym-search-bar .bym-search-input,
.bym-search-bar .bym-search-select {
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--bym-search-text);
	font-size: 0.95rem;
	line-height: 1.4;
	padding: 0.45rem 0.15rem;
	box-sizing: border-box;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.bym-search-bar .bym-search-input::placeholder {
	color: #9b939c;
}

.bym-search-bar .bym-search-select-wrap.bym-search-region-text {
	position: relative;
	width: 100%;
	display: block;
}

.bym-search-bar .bym-search-select-wrap.bym-search-region-text .bym-search-input-anchor {
	width: 100%;
	padding-right: 1.75rem;
}

.bym-search-bar .bym-search-field--where.is-region-open {
	position: relative;
	z-index: 120;
}

.bym-search-bar .bym-search-region-option {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	background: transparent;
	padding: 0.55rem 0.75rem;
	cursor: pointer;
	color: inherit;
	font: inherit;
}

.bym-search-bar .bym-search-region-option:hover,
.bym-search-bar .bym-search-region-option:focus {
	background: rgba(112, 35, 68, 0.08);
}

.bym-search-bar .bym-search-select-wrap {
	position: relative;
	width: 100%;
	min-width: 0;
	display: flex;
	align-items: center;
}

.bym-search-bar .bym-search-select {
	padding-right: 2rem;
	cursor: pointer;
}

.bym-search-bar .bym-search-location-icon {
	position: absolute;
	right: 0.15rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	color: #9b939c;
	pointer-events: none;
}

.bym-search-bar .bym-search-near-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0 0.1rem;
}

.bym-search-bar .bym-search-near-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.bym-search-bar .bym-search-near {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--bym-search-text);
	cursor: pointer;
}

.bym-search-bar .bym-search-near input {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--bym-search-burgundy);
}

.bym-search-bar .bym-search-radius {
	flex: 0 0 auto;
	min-width: 72px;
	max-width: 100%;
	padding: 0.3rem 1.6rem 0.3rem 0.55rem;
	border: 1px solid var(--bym-search-border);
	border-radius: 8px;
	background-color: #fff;
	color: var(--bym-search-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23702344' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.45rem center;
	background-size: 12px;
	opacity: 0.45;
	pointer-events: none;
}

.bym-search-bar .bym-search-near-wrap.is-active .bym-search-radius {
	opacity: 1;
	pointer-events: auto;
	cursor: pointer;
}

.bym-search-bar .bym-search-near-hint {
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
	color: var(--bym-search-muted);
}

.bym-search-bar .bym-search-submit {
	grid-area: submit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-width: 132px;
	min-height: 48px;
	padding: 0 1.35rem;
	border: 0;
	border-radius: var(--bym-search-radius);
	background: linear-gradient(180deg, var(--bym-search-burgundy) 0%, var(--bym-search-burgundy-dark) 100%);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 10px 24px rgba(112, 35, 68, 0.28);
	white-space: nowrap;
	align-self: stretch;
}

.bym-search-bar .bym-search-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(112, 35, 68, 0.32);
}

.bym-search-bar .bym-search-submit-icon {
	flex: 0 0 auto;
}

/* Service / region suggestions dropdown — directly below input */
.bym-search-service-list {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	width: 100%;
	z-index: 10050;
	background: #fff;
	border: 1px solid #eadde7;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
	max-height: min(260px, 45vh);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
	box-sizing: border-box;
}

.bym-search-service-list.is-visible {
	display: block;
}

.bym-search-service-list[hidden] {
	display: none !important;
}

.bym-search-service-list ul {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
}

.bym-search-service-option {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 0.6rem 1rem;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.bym-search-service-option:hover,
.bym-search-service-option:focus {
	background: #fdf4f8;
}

.bym-search-bar .bym-search-service-list {
	top: calc(100% + 4px);
}

.bym-search-bar .bym-search-service-list[hidden] {
	display: none !important;
}

.bym-search-bar .bym-search-service-list ul {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
}

.bym-search-bar .bym-search-service-option {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 0.6rem 1rem;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.bym-search-bar .bym-search-service-option:hover,
.bym-search-bar .bym-search-service-option:focus {
	background: #fdf4f8;
}

/* Chosen.js (ListingPro) compatibility */
.bym-search-bar .chosen-container {
	position: relative !important;
	width: 100% !important;
	font-size: 0.95rem;
}

.bym-search-bar .chosen-container-single .chosen-single {
	height: auto;
	line-height: 1.4;
	padding: 0.55rem 2rem 0.55rem 0.15rem;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--bym-search-text);
}

.bym-search-bar .chosen-container-single .chosen-single span {
	margin-right: 0;
}

.bym-search-bar .chosen-container-single .chosen-single div {
	right: 0;
	width: 24px;
}

.bym-search-bar .chosen-container-single .chosen-single div b {
	background-position: 0 8px;
	opacity: 0.45;
}

.bym-search-bar .chosen-container-active.chosen-with-drop .chosen-single {
	border: 0;
	background: transparent;
	box-shadow: none;
}

.bym-search-bar .chosen-container .chosen-drop {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	margin-top: 4px;
	border-color: #eadde7;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
	z-index: 10050;
	max-width: 100% !important;
	box-sizing: border-box;
}

.bym-search-bar .chosen-container .chosen-results {
	max-height: min(280px, 50vh) !important;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.bym-search-bar .bym-search-field--where.is-region-open,
.bym-search-bar .bym-search-field--where .chosen-container-active,
.bym-search-bar.is-region-open .bym-search-field--where {
	position: relative;
	z-index: 200;
}

.bym-search-bar.is-region-open .bym-search-submit {
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.bym-search-bar .bym-search-select-wrap.bym-search-region-native .bym-search-select {
	display: block;
	padding: 0.55rem 2rem 0.55rem 0.15rem;
	font-size: 16px;
}

/* Neutralize legacy ListingPro search layout inside BYM bar */
.bym-search-bar .lp-search-bar-right,
.bym-search-bar .input-group-addon-imbnet,
.bym-search-bar .ui-widget-imbnet {
	display: none !important;
}

@media (max-width: 1024px) {
	.bym-search-bar .bym-search-shell {
		grid-template-columns: 1fr;
		grid-template-areas:
			"what"
			"where"
			"submit";
		align-items: stretch;
		gap: 0.55rem;
		padding: 0.55rem;
		overflow: visible;
	}

	.bym-search-bar .bym-search-field--what,
	.bym-search-bar .bym-search-field--where {
		align-self: stretch;
		width: 100%;
		min-width: 0;
	}

	.bym-search-bar .bym-search-select-wrap {
		width: 100%;
	}

	.bym-search-bar .bym-search-submit {
		width: 100%;
		min-height: 52px;
		align-self: stretch;
	}
}

@media (max-width: 640px) {
	.bym-search-bar {
		max-width: 100%;
	}

	.bym-search-bar .bym-search-field {
		padding: 0.55rem 0.65rem;
		overflow: visible;
	}

	.bym-search-bar .bym-search-input,
	.bym-search-bar .bym-search-select,
	.bym-search-bar .chosen-container {
		font-size: 16px;
	}

	.bym-search-bar .bym-search-near-hint {
		font-size: 0.7rem;
	}

	.bym-search-bar .bym-search-submit {
		min-height: 52px;
		font-size: 1.05rem;
	}

	.bym-search-bar .chosen-container .chosen-drop {
		width: 100% !important;
		max-width: 100% !important;
		left: 0 !important;
		right: 0 !important;
	}

	.bym-search-bar .bym-search-service-list {
		max-height: min(220px, 40vh);
	}
}

@media (max-width: 400px) {
	.bym-search-bar .bym-search-shell {
		padding: 0.45rem;
		border-radius: 12px;
	}

	.bym-search-bar .bym-search-field {
		border-radius: 10px;
	}

	.bym-search-bar .bym-search-submit {
		min-width: 0;
		padding: 0 1rem;
	}

	.bym-search-bar .bym-search-submit-text {
		display: inline;
	}
	.lp-home-banner-contianer .lp-search-bar .chosen-container-single .chosen-single{
		background: #fff;
		border-radius: 5px;
	}
}

/* ==========================================================================
   Search results
   ========================================================================== */

.bym-search-results {
	margin-top: 1.5rem;
	overflow: visible;
}

.bym-search-results-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
}

.bym-search-results-summary,
.bym-search-results-count,
.bym-search-results-empty {
	margin: 0;
	color: var(--bym-muted, #7a7380);
}

.bym-search-results-summary {
	font-weight: 600;
	color: var(--bym-text, #2d2a32);
}

.bym-search-results-pagination {
	margin-top: 1.5rem;
}

.bym-search-results-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bym-search-results-pagination a,
.bym-search-results-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding: 0.35rem 0.65rem;
	border: 1px solid #eadde7;
	border-radius: 8px;
	text-decoration: none;
}

.bym-search-results-pagination .current {
	background: #fff0f6;
	border-color: #e84a8a;
}

.bym-artist-search-page .bym-search-results {
	margin-top: 1.25rem;
}

.bym-search-results-form {
	max-width: 100%;
	position: relative;
	z-index: 50;
}

.bym-artist-search-page > .bym-search-bar {
	position: relative;
	z-index: 50;
}

.bym-search-results-head,
.bym-search-results-shell {
	position: relative;
	z-index: 1;
}

.bym-search-results-shell {
	display: block;
}

.bym-search-results--has-map .bym-search-results-shell {
	display: grid;
	grid-template-columns: minmax(0, 40%) minmax(0, 60%);
	gap: 0;
	align-items: stretch;
	border: 1px solid #ece7ee;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	min-height: 560px;
}

.bym-search-results--has-map .bym-search-results-content {
	padding: 1rem 1rem 1.25rem;
	min-width: 0;
}

.bym-search-results--has-map .bym-search-results-content .bym-artist-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.bym-search-results--has-map .bym-search-map-panel {
	position: relative;
	border-left: 1px solid #ece7ee;
	background: #eef0f2;
	min-height: 560px;
}

.bym-search-results--has-map .bym-search-map-panel .bym-archive-map {
	width: 100%;
	height: 100%;
	min-height: 560px;
}

@media (min-width: 992px) {
	.bym-search-results--has-map .bym-search-results-shell {
		min-height: calc(100vh - 140px);
	}

	.bym-search-results--has-map .bym-search-map-panel {
		position: sticky;
		top: 0.75rem;
		align-self: start;
		height: calc(100vh - 140px);
		min-height: 620px;
	}

	.bym-search-results--has-map .bym-search-map-panel .bym-archive-map {
		min-height: calc(100vh - 140px);
	}
}

@media (max-width: 991px) {
	.bym-search-results--has-map .bym-search-results-shell {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.bym-search-results--has-map .bym-search-map-panel {
		order: -1;
		border-left: 0;
		border-bottom: 1px solid #ece7ee;
		height: auto;
		min-height: 0;
	}

	.bym-search-results--has-map .bym-search-map-panel .bym-archive-map {
		min-height: 380px;
		height: 380px;
	}
}

.bym-search-results:not(.bym-search-results--has-map) .bym-search-results-content .bym-artist-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bym-results-listingpro .lp-listings-inner-wrap {
	display: block;
}

.bym-lp-grid-card .bym-lp-card-age {
	display: block;
	margin-bottom: 0.35rem;
}

.bym-search-field.bym-search-field--where.form-group.lp-location-search-imbnet {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem;
}

.bym-search-select-wrap {
	width: 100%;
}

.bym-search-bar .bym-search-input::placeholder {
	font-size: inherit;
}

button.bym-search-submit span {
	color: #fff;
	font-size: inherit;
}

/* ListingPro homepage banner — horizontal bar on desktop only */
@media (min-width: 770px) {
	.lp-home-banner-contianer .bym-search-bar .bym-search-shell {
		display: flex !important;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: stretch;
		gap: 0.65rem;
	}

	.lp-home-banner-contianer .bym-search-bar .bym-search-field--what {
		flex: 1 1 38%;
		min-width: 0;
	}

	.lp-home-banner-contianer .bym-search-bar .bym-search-field.bym-search-field--where.form-group.lp-location-search-imbnet {
		flex: 1 1 42%;
		width: auto !important;
		min-width: 0;
	}

	.lp-home-banner-contianer .bym-search-bar .bym-search-select-wrap {
		width: 100% !important;
	}

	.lp-home-banner-contianer .bym-search-bar .bym-search-submit {
		flex: 0 0 auto;
		width: auto;
		min-width: 132px;
		align-self: stretch;
	}

	.lp-home-banner-contianer .bym-search-bar .chosen-container-single .chosen-single span {
		margin-left: 0 !important;
		line-height: 1.4 !important;
	}
}

@media screen and (max-width: 769px) {
	.bym-search-bar .bym-search-near-row {
		flex-wrap: wrap;
	}

	.bym-search-bar .bym-search-radius {
		min-width: 84px;
		font-size: 16px;
	}

	.bym-search-bar a.chosen-single {
		border-radius: 10px !important;
	}

	.lp-home-banner-contianer .lp-search-bar .chosen-container-single .chosen-single {
		background: #fff;
		border-radius: 10px;
	}
}

.bym-search-bar ul.chosen-results {
	font-size: 13px;
}

.bym-search-bar div#bym_search_location_chosen,
.bym-search-bar .chosen-container.chosen-container-single {
	background: #fff;
	border-radius: 12px;
	min-height: 40px;
}

.bym-search-bar.lp-search-bar .form-group {
	float: none !important;
	width: auto;
	max-width: none;
}
div#bym-search-region-list li {
    color: #000;
}

.bym-search-input-anchor li, .bym-search-input-anchor input[placeholder],span.bym-search-submit-text {
    font-size: 15px;
}