/* ==========================================================
   LFSport — Filtros de produtos (sidebar)
   ========================================================== */

.lfsport-filters {
	font-family: inherit;
	font-size: 14px;
	color: #1a1a1a;
	background: #fff;
}

.lfsport-filters__form {
	display: flex;
	flex-direction: column;
}

.lfsport-filters__section {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding: 16px 0;
}

.lfsport-filters__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	user-select: none;
	padding: 2px 0;
}

.lfsport-filters__caret {
	font-weight: 400;
	font-size: 18px;
	line-height: 1;
	width: 16px;
	text-align: center;
}

.lfsport-filters__body {
	padding-top: 16px;
	max-height: 600px;
	overflow: hidden;
	transition: max-height 0.2s ease, padding-top 0.2s ease, opacity 0.15s ease;
}

.lfsport-filters__section--collapsed .lfsport-filters__body {
	max-height: 0;
	padding-top: 0;
	opacity: 0;
}

.lfsport-filters__section--inline {
	padding: 10px 0;
	border-bottom: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lfsport-filters__inline-label {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	cursor: pointer;
	padding: 4px 0;
	font-size: 14px;
}

.lfsport-filters__inline-label input,
.lfsport-filters__checklist input {
	accent-color: #FF6600;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* --- Slider duplo --- */
.lfsport-filters__slider {
	position: relative;
	height: 24px;
	margin: 6px 4px 16px;
}
.lfsport-filters__slider-track {
	position: absolute;
	left: 0; right: 0; top: 50%;
	height: 3px;
	background: #ddd;
	border-radius: 999px;
	transform: translateY(-50%);
	pointer-events: none;
}
.lfsport-filters__slider-range {
	position: absolute;
	top: 50%;
	height: 3px;
	background: #1a1a1a;
	border-radius: 999px;
	transform: translateY(-50%);
	pointer-events: none;
}
.lfsport-filters__slider-input {
	position: absolute;
	left: 0; right: 0; top: 0;
	width: 100%;
	height: 24px;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
	z-index: 2;
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}
.lfsport-filters__slider-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #1a1a1a;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.lfsport-filters__slider-input::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #1a1a1a;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.lfsport-filters__slider-input::-webkit-slider-runnable-track {
	height: 24px;
	background: transparent;
	border: none;
}
.lfsport-filters__slider-input::-moz-range-track {
	height: 24px;
	background: transparent;
	border: none;
}

/* --- Inputs de preço --- */
.lfsport-filters__price-inputs {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	justify-content: center;
}
.lfsport-filters__price-inputs input {
	width: 72px;
	padding: 5px 6px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 3px;
	font-size: 13px;
	text-align: center;
	-moz-appearance: textfield;
	background: #fff;
	color: #1a1a1a;
}
.lfsport-filters__price-inputs input::-webkit-outer-spin-button,
.lfsport-filters__price-inputs input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* --- Listas de checkboxes --- */
.lfsport-filters__checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 260px;
	overflow-y: auto;
}
.lfsport-filters__checklist li {
	margin: 0;
	padding: 0;
}
.lfsport-filters__checklist label {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 6px 0;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.3;
}
.lfsport-filters__checklist em {
	font-style: normal;
	opacity: 0.55;
	font-size: 12px;
	margin-left: auto;
	padding-left: 6px;
}

/* --- Acções --- */
.lfsport-filters__actions {
	margin-top: 18px;
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
/* Reset agressivo para ganhar ao Hello Elementor (que mete border magenta) */
.lfsport-filters__submit,
.lfsport-filters__submit:hover,
.lfsport-filters__submit:focus,
.lfsport-filters__submit:active,
.lfsport-filters__submit:visited {
	flex: 1 !important;
	background: #FF6600 !important;
	color: #fff !important;
	border: 0 !important;
	outline: none !important;
	padding: 12px 20px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.8px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	border-radius: 3px !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
	transition: background 0.12s ease !important;
}
.lfsport-filters__submit:hover,
.lfsport-filters__submit:focus {
	background: #e65a00 !important;
}
.lfsport-filters__submit:focus-visible {
	outline: 3px solid rgba(255, 102, 0, 0.35) !important;
	outline-offset: 2px !important;
}
.lfsport-filters__clear {
	font-size: 12px;
	color: #666;
	text-decoration: underline;
	flex-shrink: 0;
}
.lfsport-filters__clear:hover {
	color: #1a1a1a;
}
