/* VB Filters for Elementor - front-end styles.
   Everything here is a low-specificity default so Elementor's Style tab wins. */

.vbf {
	--vbf-radius: 999px;
	--vbf-border: #e3e3e3;
	--vbf-accent: #0f3d2e;
	--vbf-text: inherit;
	position: relative;
}

.vbf *,
.vbf *::before,
.vbf *::after {
	box-sizing: border-box;
}

.vbf__form {
	position: relative;
	background: #fff;
	border-radius: 18px;
	padding: 20px;
}

.vbf__heading {
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 14px;
}

.vbf__groups {
	display: flex;
	gap: 12px;
}

.vbf--bar .vbf__groups {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.vbf--panel .vbf__groups {
	flex-direction: column;
	align-items: stretch;
	gap: 24px;
}

.vbf__group {
	min-width: 0;
}

.vbf--panel .vbf__group + .vbf__group {
	border-top: 1px solid var(--vbf-border);
	padding-top: 18px;
}

.vbf__group-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--vbf-label-color, #1a1a1a);
}

button.vbf__group-label {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	background-color: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	cursor: pointer;
	text-align: left;
	font: inherit;
	font-weight: 600;
	/* Themes commonly force a light colour on every <button>. Without this the
	   label text and chevron inherit it and disappear. */
	color: var(--vbf-label-color, #1a1a1a);
	-webkit-appearance: none;
	appearance: none;
	min-height: 0;
	text-transform: none;
	letter-spacing: normal;
}

button.vbf__group-label:hover,
button.vbf__group-label:focus,
button.vbf__group-label:active {
	background: none;
	background-color: transparent;
	color: var(--vbf-label-color, #1a1a1a);
	box-shadow: none;
}

.vbf__chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex: 0 0 auto;
	margin-left: 10px;
}

.vbf__group--collapsible.is-closed .vbf__chevron {
	transform: rotate(-45deg);
}

.vbf__group--collapsible.is-closed > .vbf__control {
	display: none;
}

/* ---------- Selects & text inputs ---------- */

.vbf__select,
.vbf__search-input,
.vbf__price-input {
	font: inherit;
	color: inherit;
	background-color: #fff;
	border: 1px solid var(--vbf-border);
	border-radius: var(--vbf-radius);
	padding: 10px 16px;
	line-height: 1.4;
	max-width: 100%;
	appearance: none;
	-webkit-appearance: none;
}

.vbf__select {
	min-width: 150px;
	padding-right: 34px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}

.vbf--panel .vbf__select,
.vbf--panel .vbf__search-input {
	width: 100%;
}

.vbf__select:focus-visible,
.vbf__search-input:focus-visible,
.vbf__price-input:focus-visible {
	outline: 2px solid var(--vbf-accent);
	outline-offset: 1px;
}

/* ---------- Search ---------- */

.vbf__search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.vbf__search-input {
	flex: 1 1 auto;
	min-width: 180px;
}

.vbf__search-btn {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background-color: var(--vbf-accent);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.vbf__search-icon {
	width: 16px;
	height: 16px;
	display: block;
	background-color: #fff;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18l-7 8v7l-4 2v-9z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18l-7 8v7l-4 2v-9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Lists ---------- */

.vbf__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vbf__list-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.vbf__list-item .vbf__input {
	width: 17px;
	height: 17px;
	margin: 0;
	flex: 0 0 auto;
	accent-color: var(--vbf-accent);
	cursor: pointer;
}

.vbf__list-item .vbf__label {
	cursor: pointer;
	line-height: 1.35;
}

/* ---------- Pills ---------- */

.vbf__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vbf__pill {
	position: relative;
}

.vbf__pill .vbf__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.vbf__pill .vbf__label {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--vbf-border);
	border-radius: var(--vbf-radius);
	cursor: pointer;
	line-height: 1.3;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vbf__pill .vbf__input:checked + .vbf__label {
	background-color: var(--vbf-accent);
	border-color: var(--vbf-accent);
	color: #fff;
}

.vbf__pill .vbf__input:focus-visible + .vbf__label {
	outline: 2px solid var(--vbf-accent);
	outline-offset: 2px;
}

/* ---------- Toggle ---------- */

.vbf__toggle {
	position: relative;
	display: flex;
	align-items: center;
}

.vbf__toggle .vbf__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.vbf__toggle .vbf__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	line-height: 1.3;
}

.vbf__switch {
	position: relative;
	flex: 0 0 auto;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background-color: #d8d8d8;
	transition: background-color 0.2s ease;
}

.vbf__switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #fff;
	transition: transform 0.2s ease;
}

.vbf__input:checked + .vbf__label .vbf__switch {
	background-color: var(--vbf-accent);
}

.vbf__input:checked + .vbf__label .vbf__switch::after {
	transform: translateX(calc(100% - 0px));
}

.vbf__input:focus-visible + .vbf__label .vbf__switch {
	outline: 2px solid var(--vbf-accent);
	outline-offset: 2px;
}

/* ---------- Price ---------- */

.vbf__price-fields {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vbf__price-input {
	width: 100%;
	min-width: 70px;
	padding: 8px 12px;
}

.vbf__price-sep {
	opacity: 0.6;
}

.vbf__slider {
	position: relative;
	height: 26px;
	margin-bottom: 6px;
}

.vbf__slider input[type="range"] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
	height: 26px;
}

.vbf__slider input[type="range"]::-webkit-slider-thumb {
	pointer-events: auto;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--vbf-accent);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	cursor: pointer;
}

.vbf__slider input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--vbf-accent);
	border: 2px solid #fff;
	cursor: pointer;
}

.vbf__slider-track {
	position: absolute;
	left: 0;
	right: 0;
	top: 12px;
	height: 3px;
	border-radius: 3px;
	background: var(--vbf-border);
}

.vbf__price-readout {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	opacity: 0.8;
	margin-bottom: 6px;
}

/* ---------- Chips ---------- */

.vbf__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}

.vbf__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	border: 0;
	border-radius: 999px;
	background-color: #f1f1f1;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	line-height: 1.4;
}

.vbf__chip-x {
	width: 9px;
	height: 9px;
	position: relative;
	flex: 0 0 auto;
}

.vbf__chip-x::before,
.vbf__chip-x::after {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 100%;
	height: 1.5px;
	background: currentColor;
}

.vbf__chip-x::before {
	transform: rotate(45deg);
}

.vbf__chip-x::after {
	transform: rotate(-45deg);
}

.vbf__clear,
a.vbf__clear {
	font-size: 13px;
	text-decoration: underline;
	color: var(--vbf-link-color, #1a1a1a);
}

.vbf__clear:hover,
a.vbf__clear:hover {
	color: var(--vbf-link-color, #1a1a1a);
	opacity: 0.75;
}

/* ---------- Actions ---------- */

.vbf__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
}

.vbf--bar .vbf__actions {
	justify-content: center;
}

.vbf__submit,
.vbf__drawer-toggle {
	font: inherit;
	border: 0;
	border-radius: var(--vbf-radius);
	background-color: var(--vbf-accent);
	color: #fff;
	padding: 11px 22px;
	cursor: pointer;
	line-height: 1.3;
}

.vbf__reset,
a.vbf__reset {
	font-size: 14px;
	text-decoration: underline;
	color: var(--vbf-link-color, #1a1a1a);
}

.vbf__reset:hover,
a.vbf__reset:hover {
	color: var(--vbf-link-color, #1a1a1a);
	opacity: 0.75;
}

/* ---------- Loading ---------- */

.vbf__spinner {
	position: absolute;
	right: 12px;
	top: 12px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(0, 0, 0, 0.15);
	border-top-color: var(--vbf-accent);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.vbf.is-loading .vbf__spinner {
	opacity: 1;
	animation: vbf-spin 0.7s linear infinite;
}

.vbf.is-loading .vbf__form {
	opacity: 0.75;
}

@keyframes vbf-spin {
	to {
		transform: rotate(360deg);
	}
}

.vbf__notice {
	font-size: 13px;
	opacity: 0.7;
	margin: 0;
}

/* ---------- Mobile drawer (panel only) ---------- */

.vbf__drawer-toggle {
	display: none;
	align-items: center;
	gap: 10px;
}

.vbf__drawer-icon {
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18l-7 8v7l-4 2v-9z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18l-7 8v7l-4 2v-9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 767px) {
	.vbf--has-drawer .vbf__drawer-toggle {
		display: inline-flex;
	}

	.vbf--has-drawer .vbf__form {
		display: none;
		margin-top: 12px;
	}

	.vbf--has-drawer.is-drawer-open .vbf__form {
		display: block;
	}

	.vbf--bar .vbf__groups {
		flex-direction: column;
		align-items: stretch;
	}

	.vbf--bar .vbf__select,
	.vbf--bar .vbf__search-input {
		width: 100%;
	}
}


/* =========================================================
   v1.0.3 - Theme / Elementor kit isolation (final)
   Elementor emits global button styling as `.elementor-kit-N button`
   and can place it later in the cascade than plugin CSS. Specificity
   alone is not reliable here, so every interactive element inside
   .vbf is explicitly reset, including background.
   ========================================================= */

.vbf,
.vbf *,
.vbf *::before,
.vbf *::after {
	box-sizing: border-box;
}

.vbf button {
	font-family: inherit;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	text-shadow: none !important;
	min-height: 0 !important;
	line-height: 1.3 !important;
}

/* ---- Group labels ---- */
.vbf .vbf__groups button.vbf__group-label,
.vbf .vbf__groups .vbf__group-label {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100% !important;
	background: none !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 0 10px !important;
	color: var(--vbf-label-color, #1a1a1a) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-align: left;
	cursor: pointer;
}

.vbf .vbf__groups button.vbf__group-label:hover,
.vbf .vbf__groups button.vbf__group-label:focus,
.vbf .vbf__groups button.vbf__group-label:active {
	background: none !important;
	background-color: transparent !important;
	color: var(--vbf-label-color, #1a1a1a) !important;
}

/* ---- Active filter chips ---- */
.vbf .vbf__chips button.vbf__chip {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	background: #f1f1f1 !important;
	background-color: #f1f1f1 !important;
	color: #1a1a1a !important;
	border: 1px solid var(--vbf-border, #e3e3e3) !important;
	border-radius: 999px !important;
	padding: 5px 12px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	width: auto !important;
}

.vbf .vbf__chips button.vbf__chip:hover {
	background: #e6e6e6 !important;
	background-color: #e6e6e6 !important;
	color: #1a1a1a !important;
}

.vbf .vbf__chips button.vbf__chip > span:first-child {
	display: inline-block;
	max-width: 190px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---- Search submit ---- */
.vbf .vbf__search button.vbf__search-btn {
	flex: 0 0 auto;
	width: 38px !important;
	height: 38px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--vbf-accent, #0f3d2e) !important;
	background-color: var(--vbf-accent, #0f3d2e) !important;
	color: #fff !important;
}

/* ---- Apply / clear / reset / drawer ---- */
.vbf .vbf__actions button.vbf__submit {
	background: var(--vbf-accent, #0f3d2e) !important;
	background-color: var(--vbf-accent, #0f3d2e) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 10px 20px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
}

.vbf a.vbf__clear,
.vbf a.vbf__reset,
.vbf button.vbf__reset {
	background: none !important;
	background-color: transparent !important;
	color: var(--vbf-link-color, #1a1a1a) !important;
	border: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-decoration: underline;
}

.vbf button.vbf__drawer-toggle {
	background: none !important;
	background-color: transparent !important;
	color: var(--vbf-label-color, #1a1a1a) !important;
	border: 1px solid var(--vbf-border, #e3e3e3) !important;
	border-radius: 999px !important;
	padding: 8px 16px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
}

/* ---- Overflow containment ---- */
.vbf,
.vbf .vbf__form,
.vbf .vbf__groups,
.vbf .vbf__group,
.vbf .vbf__control,
.vbf .vbf__price,
.vbf .vbf__price-fields,
.vbf .vbf__search {
	min-width: 0;
	max-width: 100%;
}

.vbf .vbf__price-fields {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vbf .vbf__price-input {
	min-width: 0 !important;
	width: 100% !important;
	flex: 1 1 0 !important;
	padding: 8px 10px !important;
	font-size: 13px !important;
	text-align: center;
}

.vbf .vbf__price-readout {
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* ------------------------------------------------------------------ *
 * Product search (1.0.6)
 *
 * Scoped under .vbf-search and hardened the same way as the filters:
 * theme and Elementor kit button styles are reset explicitly rather than
 * fought on specificity alone.
 * ------------------------------------------------------------------ */

.vbf-search {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	max-width: 100%;
}

.vbf-search *,
.vbf-search *::before,
.vbf-search *::after {
	box-sizing: border-box;
}

.vbf-search button {
	font: inherit;
	cursor: pointer;
	border: 0;
	background: none;
}

.vbf-search__trigger {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0 !important;
	border-radius: 999px;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--vbf-text, #1a1a1a) !important;
	line-height: 1;
	transition: background-color .18s ease, color .18s ease;
}

.vbf-search__trigger:hover,
.vbf-search__trigger:focus {
	background: rgba(0, 0, 0, .06) !important;
	background-color: rgba(0, 0, 0, .06) !important;
}

.vbf-search__trigger svg {
	width: 20px;
	height: 20px;
	display: block;
}

/* Inline mode: the field is simply always there. */
.vbf-search--inline .vbf-search__panel {
	position: relative;
	width: 100%;
}

/* Icon mode: the panel is hidden until the trigger opens it. */
.vbf-search--icon .vbf-search__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 999;
	width: min(420px, calc(100vw - 32px));
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.vbf-search--icon.is-open .vbf-search__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Overlay variant spans the viewport instead of hanging off the icon. */
.vbf-search--overlay.is-open .vbf-search__panel {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	padding: 18px clamp(16px, 5vw, 60px);
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
}

.vbf-search__form {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 4px 4px 4px 16px;
	border: 1px solid transparent;
	border-color: var(--vbf-field-border, #e3e3e3) !important;
	border-radius: 999px;
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.vbf-search__form:focus-within {
	border-color: var(--vbf-field-border-focus, #012d1d) !important;
}

.vbf-search__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 40px;
	height: auto;
	margin: 0 !important;
	padding: var(--vbf-input-pad, 0) !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--vbf-text, #1a1a1a);
	font-size: 15px;
	line-height: 1.4;
	outline: none;
}

.vbf-search__input:focus,
.vbf-search__input:focus-visible,
.vbf-search__input:active {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.vbf-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.vbf-search__submit {
	flex: 0 0 auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border-radius: 999px;
	background: var(--vbf-accent, #0f3d2e) !important;
	background-color: var(--vbf-accent, #0f3d2e) !important;
	color: #fff !important;
	transition: opacity .18s ease;
}

.vbf-search__submit:hover {
	opacity: .88;
}

.vbf-search__submit svg {
	width: 17px;
	height: 17px;
	display: block;
}

.vbf-search__close {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	padding: 0 !important;
	border-radius: 999px;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--vbf-text, #1a1a1a) !important;
	font-size: 22px;
	line-height: 1;
}

.vbf-search--inline .vbf-search__close {
	display: none;
}

/* Suggestions ------------------------------------------------------ */

.vbf-search__results {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 1000;
	max-height: min(420px, 60vh);
	overflow-y: auto;
	padding: 6px;
	border: 1px solid var(--vbf-border, #e3e3e3);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
}

.vbf-search__results[hidden] {
	display: none;
}

.vbf-search--overlay.is-open .vbf-search__results {
	right: clamp(16px, 5vw, 60px);
	left: clamp(16px, 5vw, 60px);
}

.vbf-search__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 10px;
	border-radius: 10px;
	color: inherit;
	text-decoration: none !important;
	transition: background-color .14s ease;
}

.vbf-search__item:hover,
.vbf-search__item.is-active {
	background-color: rgba(0, 0, 0, .05);
}

.vbf-search__thumb {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
	background: #f1f3f2;
}

.vbf-search__item-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.vbf-search__item-title {
	overflow: hidden;
	color: var(--vbf-text, #1a1a1a);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vbf-search__item-price {
	color: #6b736d;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
}

.vbf-search__viewall {
	display: block;
	margin-top: 4px;
	padding: 11px 10px;
	border-top: 1px solid var(--vbf-border, #e3e3e3);
	color: var(--vbf-accent, #0f3d2e);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
}

.vbf-search__viewall:hover,
.vbf-search__viewall.is-active {
	background-color: rgba(0, 0, 0, .05);
	border-radius: 0 0 10px 10px;
}

.vbf-search__empty {
	padding: 16px 12px;
	color: #6b736d;
	font-size: 13px;
	text-align: center;
}

.vbf-search.is-loading .vbf-search__submit {
	opacity: .6;
}

/* Results heading -------------------------------------------------- */

.vbf-results-heading {
	margin: 0 0 18px;
}

@media (max-width: 767px) {
	.vbf-search--icon .vbf-search__panel {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		width: 100%;
		padding: 14px 16px;
		background: #fff;
		box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
	}

	.vbf-search--icon .vbf-search__results {
		right: 16px;
		left: 16px;
	}
}

/* ------------------------------------------------------------------ *
 * Plant Finder
 * ------------------------------------------------------------------ */

.vbf-finder {
	--vbf-finder-radius: 16px;
}

.vbf-finder * {
	box-sizing: border-box;
}

.vbf-finder__form {
	display: block;
	width: 100%;
	min-width: 0;
}

.vbf-finder__progress {
	margin-bottom: 28px;
}

.vbf-finder__progress-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.vbf-finder__counter {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}

.vbf-finder__eyebrow {
	font-size: 13px;
	line-height: 1.3;
	text-align: right;
}

.vbf-finder__bar {
	position: relative;
	overflow: hidden;
	height: 6px;
	border-radius: 999px;
}

.vbf-finder__bar-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	transition: width 0.35s ease;
}

.vbf-finder__step {
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.vbf-finder--js .vbf-finder__step {
	display: none;
	margin-bottom: 0;
}

.vbf-finder--js .vbf-finder__step.is-active {
	display: block;
}

.vbf-finder__intro {
	margin-bottom: 28px;
}

.vbf-finder__question {
	display: block;
	float: none;
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	font-size: clamp(24px, 2.2vw + 12px, 40px);
	line-height: 1.2;
}

.vbf-finder__helper {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.vbf-finder__options {
	display: grid;
	grid-template-columns: repeat(var(--vbf-finder-cols, 3), minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.vbf-finder__option {
	box-sizing: border-box;
	position: relative;
	min-width: 0;
	border: 1px solid var(--vbf-border, #e3e3e3);
	border-radius: var(--vbf-finder-radius);
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vbf-finder__option:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(1, 45, 29, 0.1);
}

.vbf-finder__option--plain {
	grid-column: 1 / -1;
	border-style: dashed;
	border-color: var(--vbf-finder-plain-border, #cfe3d6);
	background: transparent;
}

.vbf-finder__radio {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.vbf-finder__option-inner {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px;
	border-radius: var(--vbf-finder-radius);
	cursor: pointer;
}

/*
 * The hover lift belongs to the outer label only.
 *
 * A transform on the inner box slides it upwards inside its own parent, which
 * exposes the parent's border underneath and reads as a second bottom border.
 * This rule is deliberately more specific than a two-class site override so
 * that geometry cannot be reintroduced from Site Settings.
 */
.vbf-finder .vbf-finder__option:hover .vbf-finder__option-inner {
	transform: none;
	box-shadow: none;
}

/*
 * The selected ring is an inset shadow rather than a border, so it cannot
 * affect layout. It must stay scoped to the checked card: the colour is a
 * custom property set on the widget wrapper, and wrapper properties inherit
 * into every card, so an unscoped rule here rings all of them at once.
 */
.vbf-finder__radio:checked + .vbf-finder__option-inner,
.vbf-finder .vbf-finder__option:hover .vbf-finder__radio:checked + .vbf-finder__option-inner {
	box-shadow: inset 0 0 0 2px var(--vbf-finder-sel-border, transparent);
}

.vbf-finder__radio:focus-visible + .vbf-finder__option-inner {
	outline: 2px solid var(--vbf-accent, #0f3d2e);
	outline-offset: 2px;
}

.vbf-finder__option-media {
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--vbf-tint, #eef6f0);
}

.vbf-finder__option-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vbf-finder__option-title {
	display: block;
	margin-bottom: 6px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
}

.vbf-finder__option-desc {
	display: block;
	font-size: 14px;
	line-height: 1.5;
}

.vbf-finder__option--plain .vbf-finder__option-inner {
	align-items: center;
	padding: 12px;
}

.vbf-finder__option--plain .vbf-finder__option-title {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
}

.vbf-finder__nav {
	margin-top: 24px;
}

.vbf-finder__back {
	display: none;
	padding: 6px 0;
	font-size: 15px;
	cursor: pointer;
}

/*
 * These two are a <button> and an <a>, so a theme's button styling reaches
 * them. The defaults below are written with a doubled class purely to raise
 * specificity above `.elementor-kit-N button` without using !important, which
 * would lock the Elementor controls out of the same properties.
 */
.vbf-finder__back.vbf-finder__back,
.vbf-finder__restart.vbf-finder__restart {
	border: 0 solid transparent;
	background-color: transparent;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	min-height: 0;
}

.vbf-finder--js .vbf-finder__step.is-active .vbf-finder__back {
	display: inline-block;
}

.vbf-finder--js .vbf-finder__step[data-vbf-index="1"] .vbf-finder__back {
	display: none;
}

.vbf-finder__submit {
	display: inline-block;
	margin-top: 0;
	padding: 14px 28px;
	border: 0;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.vbf-finder--js .vbf-finder__submit {
	display: none;
}

.vbf-finder--js .vbf-finder__submit.is-visible {
	display: inline-block;
}

/* Results */

.vbf-finder__results-heading {
	margin: 0 0 32px;
	font-size: clamp(22px, 1.8vw + 12px, 34px);
	line-height: 1.25;
}

.vbf-finder__bucket {
	margin-bottom: 44px;
}

.vbf-finder__bucket-label {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.3;
}

.vbf-finder__bucket-sub {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--vbf-muted, #6b736d);
}

.vbf-finder__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
	align-items: stretch;
}

.vbf-finder__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--vbf-border, #e3e3e3);
	border-radius: var(--vbf-finder-radius);
	background: #fff;
}

.vbf-finder__card-media {
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--vbf-tint, #eef6f0);
}

.vbf-finder__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vbf-finder__card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 16px;
}

.vbf-finder__card-title {
	margin: 0;
	font-size: clamp(16px, 1vw + 10px, 19px);
	line-height: 1.3;
}

.vbf-finder__card-title a {
	text-decoration: none;
}

.vbf-finder__card-price {
	font-family: "Inter", "Noto Sans", sans-serif;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
	white-space: normal;
}

.vbf-finder__tradeoff {
	margin: 0;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.5;
}

.vbf-finder__tradeoff strong {
	display: block;
	margin-bottom: 3px;
	font-weight: 600;
}

.vbf-finder__unknown {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--vbf-muted, #6b736d);
}

.vbf-finder__cta {
	display: inline-block;
	margin-top: auto;
	padding: 11px 18px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.vbf-finder__empty {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.6;
}

.vbf-finder__restart {
	display: inline-block;
	padding: 6px 0;
	font-size: 15px;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 1024px) {

	.vbf-finder__options,
	.vbf-finder__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {

	.vbf-finder__options,
	.vbf-finder__cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.vbf-finder__progress-row {
		flex-wrap: wrap;
	}

	.vbf-finder__eyebrow {
		text-align: left;
	}
}

/* Finder nav row ---------------------------------------------------- */

.vbf-finder__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* Final step: back on the left, submit hard right. */
.vbf-finder__nav--split {
	justify-content: space-between;
}

/* A step with two answers should sit centred rather than leaving a gap. */
@media (min-width: 1025px) {

	.vbf-finder__options--count-2 {
		--vbf-finder-cols: 2;
		max-width: 68%;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 520px) {

	.vbf-finder__nav--split {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.vbf-finder__nav--split .vbf-finder__submit {
		width: 100%;
	}
}

/* Product title colour is routed through a custom property so a theme or
   kit link colour cannot outrank the widget control. */
.vbf-finder__card-title,
.vbf-finder__card-title a {
	color: var(--vbf-finder-title, inherit) !important;
}
