.tbs-price-filter {
	margin: 0 0 24px;
	font-family: inherit;
	max-width: 360px;
}

.tbs-price-filter__labels {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	font-size: 14px;
}

.tbs-price-filter__slider {
	position: relative;
	height: 32px;
	margin-bottom: 14px;
}

.tbs-price-filter__slider::before {
	content: '';
	position: absolute;
	top: 14px;
	left: 0;
	width: 100%;
	height: 4px;
	background: #ddd;
	border-radius: 2px;
}

.tbs-range-track {
	position: absolute;
	top: 14px;
	height: 4px;
	background: #333;
	border-radius: 2px;
}

.tbs-range {
	position: absolute;
	top: 13px;
	left: 0;
	width: 100%;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.tbs-range::-webkit-slider-runnable-track {
	height: 4px;
	background: transparent;
}

.tbs-range::-moz-range-track {
	height: 4px;
	background: transparent;
}

.tbs-range::-webkit-slider-thumb {
	pointer-events: all;
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #333;
	cursor: pointer;
	margin-top: -6px;
}

.tbs-range::-moz-range-thumb {
	pointer-events: all;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #333;
	cursor: pointer;
	border: none;
}

.tbs-price-filter__apply {
	padding: 7px 18px;
	font-size: 13px;
	cursor: pointer;
	border: 1px solid #333;
	background: #333;
	color: #fff;
	border-radius: 3px;
}

.tbs-price-filter__apply:hover {
	opacity: 0.85;
}

.tbs-price-filter__loading {
	margin-left: 10px;
	font-size: 12px;
	color: #888;
}

.tbs-no-results {
	padding: 32px 16px;
	text-align: center;
	width: 100%;
}

/* Búsqueda de productos */

.tbs-search-filter {
	margin: 0 0 24px;
	font-family: inherit;
	max-width: 360px;
}

.tbs-search-filter__row {
	display: flex;
	gap: 8px;
}

.tbs-search-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 8px 12px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
	color: #333;
}

.tbs-search-input:focus {
	outline: none;
	border-color: #999;
}

.tbs-search-button {
	flex: 0 0 auto;
	padding: 8px 18px;
	font-size: 13px;
	cursor: pointer;
	border: 1px solid #333;
	background: #333;
	color: #fff;
	border-radius: 3px;
}

.tbs-search-button:hover {
	opacity: 0.85;
}

.tbs-search-filter__loading {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #888;
}

/* Restablecer filtros */

.tbs-reset-button {
	display: inline-block;
	width: 100%;
	margin: 0 0 24px;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	background: #fff;
	color: #1c3d79;
	border: 1px solid #1c3d79;
	border-radius: 3px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tbs-reset-button:hover {
	background: #1c3d79;
	color: #fff;
}

/* Botón flotante + panel deslizable (móvil) */

.tbs-mobile-filters__fab {
	position: fixed;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 40px;
	border: none;
	border-radius: 0 8px 8px 0;
	background: #1c3d79;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 6px;
	cursor: pointer;
	z-index: 100001;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
	opacity: 1;
	transition: opacity 0.2s ease;
}

.tbs-mobile-filters__fab--hidden {
	opacity: 0;
	pointer-events: none;
}

.tbs-mobile-filters__fab[data-position="right"] {
	left: auto;
	right: 0;
	border-radius: 8px 0 0 8px;
	box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
}

.tbs-mobile-filters__fab svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.tbs-mobile-filters__fab-label {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.tbs-mobile-filters__backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 99999;
}

.tbs-mobile-filters__backdrop--open {
	opacity: 1;
	pointer-events: auto;
}

.tbs-mobile-filters__close {
	display: none;
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #333;
	z-index: 1;
}

body.tbs-mobile-filters-lock {
	overflow: hidden;
}
