/* =============================================
   FILTER EVERYTHING PRO — Estilos personalizados
   Tema: oscuro elegante / dorado #d4af37
   ============================================= */

/* Contenedor general */
.wpc-filters-area,
.wpc-filters-widget-area {
    font-family: inherit;
}

/* Bloque de cada filtro */
.wpc-filter {
    background-color: #111;
    border: 1px solid #282828;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 14px;
}

/* Título del filtro */
.wpc-filter__title,
.wpc-filter-title {
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #282828;
}

/* Lista de ítems (checkboxes / radios) */
.wpc-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Ítem individual */
.wpc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.wpc-item:hover {
    background-color: #1a1a1a;
}

/* Checkbox / radio nativo oculto */
.wpc-item input[type="checkbox"],
.wpc-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid #444;
    border-radius: 3px;
    background-color: #0e0e0e;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.wpc-item input[type="radio"] {
    border-radius: 50%;
}

.wpc-item input[type="checkbox"]:checked,
.wpc-item input[type="radio"]:checked {
    background-color: #d4af37;
    border-color: #d4af37;
}

.wpc-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #0e0e0e;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.wpc-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #0e0e0e;
}

/* Ítem activo/seleccionado */
.wpc-item--checked .wpc-item__label,
.wpc-item.wpc-checked .wpc-item__label {
    color: #d4af37;
}

/* Label del ítem */
.wpc-item__label {
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    flex: 1;
    transition: color 0.2s;
}

.wpc-item:hover .wpc-item__label {
    color: #f5f5f5;
}

/* Contador de resultados */
.wpc-item__count {
    color: #555;
    font-size: 11px;
    margin-left: auto;
}

/* Select dropdown */
.wpc-select,
.wpc-filter select {
    width: 100%;
    background-color: #0e0e0e;
    color: #f5f5f5;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4af37' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s;
}

.wpc-select:focus,
.wpc-filter select:focus {
    outline: none;
    border-color: #d4af37;
}

/* Campo de búsqueda dentro del filtro */
.wpc-search-field input,
.wpc-filter input[type="text"],
.wpc-filter input[type="search"] {
    width: 100%;
    background-color: #0e0e0e;
    color: #f5f5f5;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    transition: border-color 0.2s;
}

.wpc-search-field input:focus,
.wpc-filter input[type="text"]:focus,
.wpc-filter input[type="search"]:focus {
    outline: none;
    border-color: #d4af37;
}

.wpc-search-field input::placeholder {
    color: #555;
}

/* Range slider */
.wpc-range-slider .ui-slider {
    background-color: #282828;
    border: none;
    height: 4px;
    border-radius: 2px;
    margin: 10px 0;
}

.wpc-range-slider .ui-slider-range {
    background-color: #d4af37;
}

.wpc-range-slider .ui-slider-handle {
    background-color: #d4af37;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    top: -6px;
    cursor: pointer;
    outline: none;
    transition: transform 0.15s;
}

.wpc-range-slider .ui-slider-handle:hover,
.wpc-range-slider .ui-slider-handle:focus {
    transform: scale(1.2);
}

.wpc-range-inputs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.wpc-range-inputs input {
    flex: 1;
    background-color: #0e0e0e;
    color: #f5f5f5;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 12px;
    text-align: center;
}

/* Botón Aplicar filtros */
.wpc-apply-btn,
.wpc-filter-btn,
button.wpc-btn {
    display: inline-block;
    width: 100%;
    background-color: #d4af37;
    color: #0e0e0e;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, opacity 0.2s;
}

.wpc-apply-btn:hover,
.wpc-filter-btn:hover {
    background-color: #c9a030;
    color: #0e0e0e;
}

/* Botón Limpiar / Reset */
.wpc-reset-btn,
.wpc-clear-btn {
    display: inline-block;
    width: 100%;
    background-color: transparent;
    color: #888;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    margin-top: 8px;
    transition: color 0.2s, border-color 0.2s;
}

.wpc-reset-btn:hover,
.wpc-clear-btn:hover {
    color: #d4af37;
    border-color: #d4af37;
}

/* Filtros activos / tags seleccionados */
.wpc-chosen-filters-area {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.wpc-chosen-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(212, 175, 55, 0.12);
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

.wpc-chosen-filter__remove {
    cursor: pointer;
    color: #d4af37;
    font-size: 14px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.wpc-chosen-filter__remove:hover {
    opacity: 1;
}

/* "Mostrar más" link */
.wpc-show-more,
.wpc-show-less {
    color: #d4af37;
    font-size: 12px;
    cursor: pointer;
    display: inline-block;
    margin-top: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.wpc-show-more:hover,
.wpc-show-less:hover {
    opacity: 0.8;
    text-decoration: none;
    color: #d4af37;
}

/* Estado deshabilitado */
.wpc-item.wpc-item--disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Loading / spinner */
.wpc-preloader {
    border-color: #333;
    border-top-color: #d4af37;
}

/* Anular azul del navegador en todos los estados interactivos */
.wpc-filters-area a,
.wpc-filters-area a:hover,
.wpc-filters-area a:focus,
.wpc-filters-area a:active,
.wpc-filters-area label,
.wpc-filters-area label:hover,
.wpc-item__label a,
.wpc-item__label a:hover {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.wpc-filters-area *:focus {
    outline: none;
    box-shadow: none;
}

.wpc-item:focus-within,
.wpc-item a:focus,
.wpc-item label:focus {
    outline: none;
    color: #d4af37;
}

.wpc-item:hover,
.wpc-item:hover .wpc-item__label,
.wpc-item:focus-within .wpc-item__label {
    color: #d4af37;
}

.wpc-item input[type="checkbox"]:focus,
.wpc-item input[type="radio"]:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

/* Sobreescribir el hover azul del plugin en el modo etiquetas */
body .wpc-filters-main-wrap input.wpc-label-input + label:hover span.wpc-filter-label-wrapper,
body .wpc-filters-main-wrap li.wpc-term-selected span {
    color: #0e0e0e!important;
    background-color: #d4af37!important;
    border-color: #d4af37!important;
}

body .wpc-filters-main-wrap input.wpc-label-input:checked + label {
	border-color: #d4af37!important;
}
body .wpc-filters-main-wrap input.wpc-label-input + label:hover {
	border-color: #d4af37!important;

}


.wpc-filters-section {
	margin-bottom: 20px!important;
	position: relative;
}

.wpc-filters-section .wpc-filter-content select {
	width: 100% !important;
	margin-bottom: 0px!important;
}

