/* Filtros v2 — barra horizontal */

.bbt-filters-v2 {
	width: 100%;
	margin: 1rem 0;
	padding: .5rem 0;
}

.bbt-filters-v2-section {
	width: 100%;
}

.bbt-filters-v2-slot {
	position: relative;
	z-index: 6;
}

.bbt-filters-v2.is-loading,
.result-container.is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.result-container.is-loading {
	position: relative;
	min-height: 120px;
}
.bbt-filters-v2__form{
	display: flex;
	justify-content: center;
	align-items: center;
}
.bbt-filters-v2__fields {
	display: contents;
}

.bbt-filters-v2__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(22, 26, 28, 0.08);
	overflow: visible;
	position: relative;
	z-index: 5;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

/* Com poucos filtros, a barra encolhe ao conteúdo (evita campo enorme). */
.bbt-filters-v2__bar[data-filter-count="1"],
.bbt-filters-v2__bar[data-filter-count="2"],
.bbt-filters-v2__bar[data-filter-count="3"] {
	display: inline-flex;
	flex-wrap: nowrap;
	width: auto;
}

.bbt-filters-v2__field {
	position: relative;
	flex: 1 1 140px;
	min-width: 140px;
	padding: 0;
	border-right: 1px solid #ece8e6;
}

.bbt-filters-v2__bar[data-filter-count="1"] .bbt-filters-v2__field,
.bbt-filters-v2__bar[data-filter-count="2"] .bbt-filters-v2__field,
.bbt-filters-v2__bar[data-filter-count="3"] .bbt-filters-v2__field {
	flex: 0 0 auto;
	width: 220px;
	min-width: 180px;
	max-width: 260px;
}

.bbt-filters-v2__bar[data-filter-count="1"] .bbt-filters-v2__field {
	width: 240px;
}

.bbt-filters-v2__field:last-of-type {
	border-right: none;
}

.bbt-filters-v2__label {
	display: block;
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8d8d8d;
    margin-bottom: 0;
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.bbt-filters-v2__trigger {
	display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 1.8rem 1rem 1rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 400;
    font-style: italic;
    color: #6b7378;
    text-align: left;
    line-height: 1.3;
    min-height: 20px;
}

.bbt-filters-v2__field.is-active .bbt-filters-v2__trigger,
.bbt-filters-v2__field.has-value .bbt-filters-v2__trigger {
	color: #161a1c;
	font-weight: 500;
	font-style: normal;
}

.bbt-filters-v2__chevron {
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid #9aa1a6;
	border-bottom: 2px solid #9aa1a6;
	transform: rotate(45deg);
	flex-shrink: 0;
	margin-top: -0.2rem;
	transition: transform 0.2s ease;
}

.bbt-filters-v2__field.is-open .bbt-filters-v2__chevron {
	transform: rotate(-135deg);
	margin-top: 0.15rem;
}

.bbt-filters-v2__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	min-width: 240px;
	max-height: 320px;
	overflow: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(22, 26, 28, 0.14);
	padding: 0.75rem 0 0.5rem;
	z-index: 30;
	border-top: 1px solid #ece8e6;
}

.bbt-filters-v2__panel[hidden] {
	display: none !important;
}

.bbt-filters-v2__list,
.bbt-filters-v2__list ul {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0!important;
	padding: 0!important;
}

.bbt-filters-v2__list li {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0!important;
	padding: 0;
}

.bbt-filters-v2__list li::marker,
.bbt-filters-v2__list li::before {
	content: none !important;
	display: none !important;
}

/* Destino: Países / Continentes */
.bbt-filters-v2__list--destino {
	padding: 0.1rem 0 0.35rem;
}

.bbt-filters-v2__group + .bbt-filters-v2__group {
	margin-top: 0.9rem;
}

.bbt-filters-v2__group-title {
	display: block;
	padding: 0.25rem 1.1rem 0.35rem;
	font-family: var(--font-primary, 'Archivo', sans-serif);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #161a1c;
	line-height: 1.3;
}

.bbt-filters-v2__list--nested {
	margin: 0;
	padding: 0;
}

.bbt-filters-v2__option label {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.4rem 1.1rem;
	cursor: pointer;
	font-size: 0.9375rem;
	font-weight: 400;
	color: #41494d;
	margin: 0;
}

.bbt-filters-v2__option label:hover {
	background: #f7f4f2;
}

.bbt-filters-v2__option span {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
}

/* Indicador visual igual ao .check do formulário de contato. */
.bbt-filters-v2__option span::before {
	content: '';
	display: block;
	box-sizing: border-box;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border: 4px solid #cccccc;
	background-color: #cccccc;
	border-radius: 6px;
	transition: background 0.25s ease, border 0.25s ease;
}

.bbt-filters-v2__option label:hover span::before {
	background-color: #999;
}

/* Inputs funcionam via label; ficam invisíveis. */
.bbt-filters-v2__option input[type="checkbox"],
.bbt-filters-v2__option input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.bbt-filters-v2__option input[type="checkbox"]:checked + span,
.bbt-filters-v2__option input[type="radio"]:checked + span {
	color: #f64c1f;
	font-weight: 600;
}

.bbt-filters-v2__option input[type="checkbox"]:checked + span::before,
.bbt-filters-v2__option input[type="radio"]:checked + span::before {
	background-color: var(--orange-color, #f64c1f);
}

.bbt-filters-v2__empty {
	margin: 0;
	padding: 0.75rem 1rem;
	font-size: 0.8125rem;
	color: #9aa1a6;
}

.bbt-filters-v2__submit-wrap {
	flex: 0 0 auto;
	display: flex;
	align-items: stretch;
	padding: 0.55rem;
}

.bbt-filters-v2__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-width: 120px;
	padding: 0 1.25rem;
	border: 0;
	border-radius: 10px;
	background: #f64c1f;
	color: #fff;
	font-family: var(--font-primary, 'Archivo', sans-serif);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.bbt-filters-v2__submit:hover {
	background: #e04218;
}

.bbt-filters-v2__submit-icon {
	display: inline-flex;
	line-height: 0;
}

@media (max-width: 991px) {
	.bbt-filters-v2__bar {
		flex-direction: column;
		border-radius: 12px;
	}

	.bbt-filters-v2__bar[data-filter-count="1"],
	.bbt-filters-v2__bar[data-filter-count="2"],
	.bbt-filters-v2__bar[data-filter-count="3"] {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}

	.bbt-filters-v2__bar[data-filter-count="1"] .bbt-filters-v2__field,
	.bbt-filters-v2__bar[data-filter-count="2"] .bbt-filters-v2__field,
	.bbt-filters-v2__bar[data-filter-count="3"] .bbt-filters-v2__field {
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
	}

	.bbt-filters-v2__field {
		border-right: 0;
		border-bottom: 1px solid #ece8e6;
	}

	.bbt-filters-v2__submit-wrap {
		width: 100%;
	}

	.bbt-filters-v2__submit {
		width: 100%;
		min-height: 48px;
	}

	.bbt-filters-v2__panel {
		position: static;
		box-shadow: none;
		border-radius: 0;
		max-height: 220px;
		border-top: 1px solid #f0ecea;
	}
}

/* Resumo de resultados (contagem + filtros + busca) */
.bbt-results-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	width: 100%;
	margin: 0 0 1.5rem;
	padding: 0.25rem 0 0.75rem;
}

.bbt-results-meta__info {
	flex: 1;
	min-width: 0;
}

.bbt-results-meta__count {
	margin: 0 0 0.2rem;
	font-family: var(--font-primary, 'Archivo', sans-serif);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: #161a1c;
}

.bbt-results-meta__empty {
	margin: 0;
	font-family: var(--font-primary, 'Archivo', sans-serif);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: #161a1c;
}

.bbt-results-meta__filters {
	margin: 0;
	font-family: var(--font-primary, 'Archivo', sans-serif);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.4;
	color: #8a9196;
}

.bbt-results-meta__search {
	position: relative;
	flex: 0 1 400px;
	width: 100%;
	max-width: 400px;
}

.bbt-results-meta__search-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	color: #9aa1a6;
	pointer-events: none;
	line-height: 0;
}

.bbt-results-meta__input {
	width: 100%;
	height: 48px;
	padding: 0 1rem 0 2.75rem!important;
	border: 1px solid #e8e4e1;
	border-radius: 12px;
	background: #fff;
	font-family: var(--font-primary, 'Archivo', sans-serif);
	font-size: 0.9375rem;
	font-weight: 400;
	color: #161a1c;
	outline: none;
	box-shadow: 0 2px 10px rgba(22, 26, 28, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bbt-results-meta__input::placeholder {
	color: #9aa1a6;
	opacity: 1;
}

.bbt-results-meta__input:focus {
	border-color: #cfc8c4;
	box-shadow: 0 0 0 3px rgba(22, 26, 28, 0.06);
}

.bbt-filters-v2__open,
.bbt-filters-v2__sheet-head {
	display: none;
}

@media (max-width: 1199px) {
	.bbt-filters-v2__field{
		flex: 0;
	}
	.bbt-filters-v2__submit-wrap{
		position: static;
		flex: 0 0 auto;
		width: 100%;
		z-index: 2;
		background: #fff;
		padding: 1rem;
		box-shadow: 0 -2px 10px 0 rgba(0, 0, 0, 0.1);
	}
	.bbt-filters-v2__open {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: #fff;
		color: var(--text-color);
		cursor: pointer;
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 1);
	}

	.bbt-filters-v2__count {
		position: absolute;
		top: -0.4rem;
		right: -0.4rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 1.25rem;
		height: 1.25rem;
		padding: 0 0.3rem;
		border-radius: 999px;
		background: #161a1c;
		color: #fff;
		font-family: var(--font-primary, 'Archivo', sans-serif);
		font-size: 0.6875rem;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0;
		text-transform: none;
	}

	.bbt-filters-v2__count[hidden] {
		display: none;
	}

	.bbt-filters-v2__form {
		position: fixed;
		inset: 0;
		z-index: 10050;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		margin: 0;
		padding: 0;
		background: #fff;
		overflow: hidden;
		transform: translateY(100%);
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.32s ease, visibility 0.32s ease;
	}

	.bbt-filters-v2.is-sheet-open .bbt-filters-v2__form {
		transform: translateY(0);
		visibility: visible;
		pointer-events: auto;
	}

	.bbt-filters-v2-section:has(.is-sheet-open),
	.bbt-filters-v2-slot:has(.is-sheet-open) {
		z-index: 100000;
	}

	.bbt-filters-v2__sheet-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		position: sticky;
		top: 0;
		z-index: 2;
		padding: 1rem 1rem calc(1rem + env(safe-area-inset-top));
		background: #fff;
		border-bottom: 1px solid #ece8e6;
	}

	.bbt-filters-v2__sheet-title {
		margin: 0;
		font-family: var(--font-title, 'Archivo', sans-serif);
		font-size: 1.25rem;
		font-weight: 700;
		color: #161a1c;
	}

	.bbt-filters-v2__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		color: #161a1c;
		cursor: pointer;
		line-height: 0;
	}

	.bbt-filters-v2__close svg {
		width: 32px;
		height: 32px;
	}

	.bbt-filters-v2__bar,
	.bbt-filters-v2__bar[data-filter-count="1"],
	.bbt-filters-v2__bar[data-filter-count="2"],
	.bbt-filters-v2__bar[data-filter-count="3"] {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(0, 1fr) auto;
		flex-wrap: nowrap;
		width: 100%;
		max-width: none;
		flex: 1 1 auto;
		min-height: 0;
		overflow: hidden;
		border-radius: 0;
		box-shadow: none;
	}

	.bbt-filters-v2__fields {
		display: block;
		grid-row: 1;
		min-height: 0;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	.bbt-filters-v2__submit-wrap {
		grid-row: 2;
		align-self: end;
	}

	.bbt-filters-v2__panel {
		max-height: none;
	}

	body.bbt-filters-v2-sheet-open {
		overflow: hidden;
	}
}

@media (max-width: 767px) {
	.bbt-results-meta {
		flex-direction: column;
		align-items: stretch;
	}

	.bbt-results-meta__search {
		flex: 1 1 auto;
		max-width: none;
	}
}