/* Estilos para los filtros */
.filtro .filtros {
  /*  padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);*/
}

.filtro .titulo-principal {
    font-size: 28px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 40px;
    font-family: Roboto, sans-serif;
    line-height: 1.2;
}

.filtro .titulo-filtro {
    font-size: 16px;
    margin-bottom: 0.75rem;
    font-family: 'Roboto-Bold' !important;
}

/* Estilos para los checkboxes 
.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox input[type="checkbox"] {
    margin: 0;
}

.checkbox label {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.checkbox label:hover {
    color: #1779ba;
}
*/

/* Estilos para el range slider */
.range-container {
    padding: 0.5rem 0;
}

.range-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

input[type="range"] {
    width: 100%;
    margin: 0.5rem 0;
}

/* Estilos para el menú de ordenamiento */
#opcionesOrdenamiento {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.titulo-resultado {
    font-size: 21px;
    margin-bottom: 1rem;
    font-family: 'Roboto-Bold' !important;
}

.opciones-ordenar {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.opciones-ordenar a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.opciones-ordenar a:hover {
    color: #1779ba;
    background: none !important;
}

.opciones-ordenar a.selected {
    font-weight: 600 !important;
    color: #1779ba !important;
    text-decoration: underline !important;
    background: none !important;
}

/* Estilos para los breadcrumbs 
.breadcrumbs {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    display: inline;
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child):after {
    content: "/";
    margin: 0 0.5rem;
    color: #ccc;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: #1779ba;
    text-decoration: underline;
}

.breadcrumb-link.selected,
.breadcrumbs .selected {
    color: #1779ba;
    font-weight: 600;
}
*/

/* Estilos responsivos */
@media screen and (max-width: 640px) {
    .filtro .filtros {
        margin-bottom: 2rem;
    }

    #opcionesOrdenamiento {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .opciones-ordenar {
        flex-wrap: wrap;
    }
}

.filtro .subcategorias-container {
    padding: 0;
    margin-left: 10px;
}

.filtro .subcategoria-item {
    margin-bottom: 24px;
    display: block;
}
/*
.filtro .subcategoria-link {
    display: block;
    padding: 8px 12px;
    color: rgba(34, 34, 34, 0.6);
    text-decoration: none !important;
    font-size: 16px;
    transition: all 0.2s ease;
    line-height: 1.5;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    border-radius: 6px;
    background-color: #f8f8f8;
    border: 1px solid transparent;
}

.filtro .subcategoria-link:hover {
    color: rgba(34, 34, 34, 0.9);
    background-color: #f0f0f0 !important;
    text-decoration: none !important;
    border-color: #e0e0e0;
}

.filtro .subcategoria-link.selected {
    background-color: #f0f0f0 !important;
    color: rgba(34, 34, 34, 0.9);
    font-weight: 500;
    border-color: #e0e0e0;
    text-decoration: none !important;
} 
    */
  /*  .filter-checkbox{
    position:absolute;
    width:1px;             
    height:1px;
    margin:0; padding:0;
    overflow:hidden;
    clip:rect(0 0 0 0);      
    white-space:nowrap;      
    border:0;
}

 mano sobre toda la fila 
.link-filtro{ cursor:pointer; }*/

/* enlace ocupa toda la línea y alinea texto + cuadrito */
.link-filtro{
    display:flex;            /* ← alinea horizontalmente */
    align-items:center;
    margin:4px 0;
    color:#333;
    text-decoration:none;
    font-size:14px;
    line-height:1.4;
    cursor:pointer;
}

/* cuadrito sin tilde */
.link-filtro .cuadro{
    width:20px;
    height:20px;
    margin-right:10px;
    background:url(/imagenes/2025/svg/icono_checkbox.svg) 0 -28px no-repeat;
    background-size:20px 48px;   /* mismo sprite que usaba el theme */
    flex-shrink:0;               /* no se estira */
}

/* cuadrito con tilde cuando está seleccionado */
.link-filtro.selected .cuadro{
    background-position:0 0;
}