/**
 * Find Your Belle Vie — scoped to .shf-fbv only (no global conflicts).
 */

.shf-fbv {
	--shf-fbv-justify: center;
	--shf-fbv-ml: auto;
	--shf-fbv-mr: auto;
	position: relative;
	width: 100%;
	padding: 40px 20px;
	background-color: #fdfcf7;
	text-align: center;
	box-sizing: border-box;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1a1a;
}

.shf-fbv *,
.shf-fbv *::before,
.shf-fbv *::after {
	box-sizing: border-box;
}

/* Eyebrow */
.shf-fbv .shf-fbv__eyebrow {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #b08a68;
}

/* Title */
.shf-fbv .shf-fbv__titles {
	margin-bottom: 34px;
}

.shf-fbv .shf-fbv__title {
	margin: 0;
	margin-left: var(--shf-fbv-ml);
	margin-right: var(--shf-fbv-mr);
	padding: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 56px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.5px;
	color: #1a1a1a;
}

.shf-fbv .shf-fbv__title[hidden],
.shf-fbv .shf-fbv__desc[hidden],
.shf-fbv .shf-fbv__panel[hidden] {
	display: none !important;
}

.shf-fbv .shf-fbv__title-highlight {
	color: #b4865e;
}

/* Tabs */
.shf-fbv .shf-fbv__tabs-wrap {
	display: flex;
	justify-content: var(--shf-fbv-justify);
	margin-bottom: 34px;
}

.shf-fbv .shf-fbv__tabs {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	max-width: 100%;
	padding: 6px;
	background-color: #f3eee8;
	border-radius: 999px;
}

.shf-fbv .shf-fbv__tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.6px;
	text-transform: none;
	white-space: nowrap;
	color: #5b4f47;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition:
		color 0.25s ease,
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.shf-fbv .shf-fbv__tab:not(.is-active):hover,
.shf-fbv .shf-fbv__tab:not(.is-active):focus {
	color: #1a1a1a;
	background-color: rgba(255, 255, 255, 0.55);
}

.shf-fbv .shf-fbv__tab.is-active {
	color: #fff;
	background-color: #7e3a10;
	background-image: linear-gradient(90deg, #7e3a10 0%, #d9a05b 100%);
	box-shadow: 0 6px 18px rgba(176, 110, 50, 0.35);
}

.shf-fbv .shf-fbv__tab:focus {
	outline: none;
}

.shf-fbv .shf-fbv__tab:focus-visible {
	outline: 2px solid rgba(180, 134, 94, 0.6);
	outline-offset: 2px;
}

/* Description */
.shf-fbv .shf-fbv__desc {
	max-width: 520px;
	margin: 0 0 30px;
	margin-left: var(--shf-fbv-ml);
	margin-right: var(--shf-fbv-mr);
	padding: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: #4a4540;
}

/* Search bar */
.shf-fbv .shf-fbv__form {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 660px;
	min-height: 56px;
	margin: 0;
	margin-left: var(--shf-fbv-ml);
	margin-right: var(--shf-fbv-mr);
	padding: 7px 7px 7px 18px;
	background-color: #fff;
	border: 1px solid #e7e3dd;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(60, 40, 20, 0.04);
	text-align: left;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.shf-fbv .shf-fbv__form:focus-within {
	border-color: #d2b48f;
}

.shf-fbv .shf-fbv__field {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

.shf-fbv .shf-fbv__button .shf-fbv__button-icon--mobile {
	display: none;
}

.shf-fbv .shf-fbv__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-right: 10px;
	font-size: 15px;
	line-height: 1;
	color: #8a8f98;
}

.shf-fbv .shf-fbv__icon i,
.shf-fbv .shf-fbv__icon svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: inherit;
	fill: currentColor;
}

.shf-fbv .shf-fbv__input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: auto;
	min-height: 40px;
	margin: 0;
	padding: 0 12px 0 0;
	border: 0 !important;
	border-radius: 0;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: #2c2c2c;
	-webkit-appearance: none;
	appearance: none;
}

.shf-fbv .shf-fbv__input {
	text-overflow: ellipsis;
}

.shf-fbv .shf-fbv__input::placeholder {
	font-size: 16px;
	color: #9ca3af;
	opacity: 1;
}

.shf-fbv .shf-fbv__input::-webkit-search-decoration,
.shf-fbv .shf-fbv__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.shf-fbv .shf-fbv__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	margin: 0;
	padding: 13px 22px;
	border: 0;
	border-radius: 10px;
	background-color: #8a3f12;
	background-image: linear-gradient(90deg, #8a3f12 0%, #f6c77b 100%);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.2px;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease,
		background-color 0.2s ease;
}

.shf-fbv .shf-fbv__button:hover,
.shf-fbv .shf-fbv__button:focus-visible {
	color: #fff;
	filter: brightness(1.05);
}

.shf-fbv-lift-yes .shf-fbv .shf-fbv__button:hover {
	transform: translateY(-1px);
}

.shf-fbv .shf-fbv__button:active {
	transform: translateY(0) scale(0.98);
}

.shf-fbv .shf-fbv__button:focus {
	outline: none;
}

.shf-fbv .shf-fbv__button:focus-visible {
	outline: 2px solid rgba(180, 134, 94, 0.6);
	outline-offset: 2px;
}

.shf-fbv .shf-fbv__button-icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.shf-fbv .shf-fbv__button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Live results dropdown */
.shf-fbv .shf-fbv__form {
	position: relative;
}

.shf-fbv .shf-fbv__results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 50;
	max-height: 360px;
	overflow-y: auto;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #ece6df;
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(60, 40, 20, 0.12);
	text-align: left;
	overscroll-behavior: contain;
	animation: shf-fbv-fade-up 0.18s ease both;
}

.shf-fbv .shf-fbv__results[hidden] {
	display: none !important;
}

.shf-fbv .shf-fbv__result {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-top: 1px solid transparent;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.shf-fbv .shf-fbv__result + .shf-fbv__result {
	border-top-color: #f1ece6;
}

.shf-fbv .shf-fbv__result:hover,
.shf-fbv .shf-fbv__result.is-active {
	background-color: #faf5ef;
	text-decoration: none;
	color: inherit;
}

.shf-fbv div.shf-fbv__result {
	cursor: default;
}

.shf-fbv .shf-fbv__result-image {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	background: #f3eee8;
}

.shf-fbv .shf-fbv__result-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.shf-fbv .shf-fbv__result-title {
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #1a1a1a;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shf-fbv .shf-fbv__result-title mark {
	padding: 0;
	background: transparent;
	color: #9a5a2a;
}

.shf-fbv .shf-fbv__result-subtitle {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.4;
	color: #7a7470;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.shf-fbv .shf-fbv__results-message {
	padding: 14px 12px;
	font-size: 14px;
	color: #7a7470;
	text-align: center;
}

.shf-fbv .shf-fbv__results-message--loading::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 8px;
	vertical-align: -1px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: shf-fbv-spin 0.7s linear infinite;
}

.shf-fbv .shf-fbv__results-message--error {
	color: #b3412e;
}

@keyframes shf-fbv-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Hint */
.shf-fbv .shf-fbv__hint {
	margin: 18px 0 0;
	padding: 0;
	font-size: 13px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.5;
	color: #bdbab5;
}

/* Tab switch animation */
.shf-fbv-animate-yes .shf-fbv .shf-fbv__title.is-active,
.shf-fbv-animate-yes .shf-fbv .shf-fbv__desc.is-active,
.shf-fbv-animate-yes .shf-fbv .shf-fbv__panel.is-active {
	animation: shf-fbv-fade-up 0.4s ease backwards;
}

.shf-fbv.shf-fbv--results-open .shf-fbv__panels {
	position: relative;
	z-index: 30;
}

@keyframes shf-fbv-fade-up {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.shf-fbv .shf-fbv__title.is-active,
	.shf-fbv .shf-fbv__desc.is-active,
	.shf-fbv .shf-fbv__panel.is-active {
		animation: none !important;
	}

	.shf-fbv .shf-fbv__button {
		transition: none;
	}
}

@media (max-width: 767px) {
	.shf-fbv .shf-fbv__title {
		font-size: 34px;
	}

	.shf-fbv .shf-fbv__tab {
		padding: 10px 16px;
		font-size: 13px;
	}

	.shf-fbv .shf-fbv__desc {
		font-size: 16px;
	}
}

/* Mobile: separate search field + full-width button inside a card */
@media (max-width: 767px) {
	.elementor-widget.shf-fbv-stack-mobile-yes .shf-fbv form.shf-fbv__form,
	.elementor-widget.shf-fbv-stack-mobile-yes .shf-fbv form.shf-fbv__form:focus-within {
		flex-direction: column;
		align-items: stretch;
		gap: var(--shf-fbv-m-gap, 12px);
		min-height: 0;
		padding: var(--shf-fbv-m-card-padding, 14px);
		background-color: var(--shf-fbv-m-card-bg, #fff);
		border-color: var(--shf-fbv-m-card-border, transparent);
		border-radius: var(--shf-fbv-m-card-radius, 18px);
	}

	.shf-fbv-stack-mobile-yes .shf-fbv .shf-fbv__field {
		flex: 0 0 auto;
		width: 100%;
		min-height: var(--shf-fbv-m-field-height, 50px);
		padding: 0 var(--shf-fbv-m-field-px, 14px);
		background-color: var(--shf-fbv-m-field-bg, #fff);
		border: var(--shf-fbv-m-field-bw, 1px) solid var(--shf-fbv-m-field-border, #e5e2dc);
		border-radius: var(--shf-fbv-m-field-radius, 12px);
		transition: border-color 0.2s ease;
	}

	.shf-fbv-stack-mobile-yes .shf-fbv .shf-fbv__field:focus-within {
		border-color: var(--shf-fbv-m-field-focus, #d2b48f);
	}

	.elementor-widget.shf-fbv-stack-mobile-yes .shf-fbv input.shf-fbv__input {
		min-height: calc(var(--shf-fbv-m-field-height, 50px) - 2px);
		/* Below 16px iOS Safari zooms the page on focus. */
		font-size: 16px;
	}

	.shf-fbv-stack-mobile-yes .shf-fbv .shf-fbv__button {
		width: 100%;
		min-height: var(--shf-fbv-m-button-height, 54px);
		gap: var(--shf-fbv-m-button-icon-gap, 10px);
	}

	.shf-fbv-stack-mobile-yes .shf-fbv .shf-fbv__button .shf-fbv__button-icon--mobile {
		display: inline-flex;
		font-size: var(--shf-fbv-m-button-icon, 16px);
	}

	.shf-fbv-stack-mobile-yes .shf-fbv .shf-fbv__button-icon--mobile svg,
	.shf-fbv-stack-mobile-yes .shf-fbv .shf-fbv__button-icon--mobile i {
		width: 1em;
		height: 1em;
		font-size: inherit;
	}

	.shf-fbv-stack-mobile-yes.shf-fbv-lift-yes .shf-fbv .shf-fbv__button:hover {
		transform: none;
	}
}
