#accesorios-container .form-checkbox {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
}

/* Botones de filtros aplicados */
#applied-filters button {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Ajuste de transiciones */
button, select, input[type="range"] {
    transition: all 0.2s ease-in-out;
}


/* Estilo para el contenedor de checkboxes */
#accesorios-container .flex {
    margin-bottom: 0.5rem;
}

#accesorios-container .form-checkbox {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #ccc;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
}

#accesorios-container .form-checkbox:checked {
    background-color: #4a5568; /* Tailwind color: gray-700 */
    border-color: #4a5568;
}

#accesorios-container .form-checkbox:checked:after {
    content: '';
    display: block;
    width: 0.4rem;
    height: 0.8rem;
    border: solid #fff;
    border-width: 0 0.1rem 0.1rem 0;
    transform: rotate(45deg);
    margin-left: 0.2rem;
}

/* Botones de filtros aplicados */
#applied-filters button {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ccc;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#applied-filters button:hover {
    background-color: #ccc;
    color: #333;
}

/* Ajuste de la barra de precios */
input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.25rem;
    cursor: pointer;
    background: #ccc;
    border-radius: 0.5rem;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #4a5568;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background: #4a5568;
    cursor: pointer;
    margin-top: -0.375rem;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background-color: #2d3748;
    border-color: #2d3748;
}

/* Estilo del botón "Cargar más" */
#load-more {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ccc;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#load-more:hover {
    background-color: #ccc;
    color: #333;
}

/* Botones de filtros aplicados */
.btn {
    padding: 5px 10px;
    margin: 1px;
    color: #fff;
    background-color: #4a5568; /* Tailwind color: gray-700 */
    border: none;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ccc;
    transform-origin: left top;
    transform: scale(0, 1);
    transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
}

.btn:hover::before {
    transform-origin: right top;
    transform: scale(1, 1);
}

.btn:hover {
    background-color: #2d3748; /* Tailwind color: gray-800 */
}


/* manejo de los checkboxes */
.checkbox-wrapper-47 {
    margin-bottom: 0.5rem; /* Añadir separación entre los checkboxes */
}

.checkbox-wrapper-47 input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper-47 label {
    position: relative;
    padding-left: 1.5em; /* Reducir el padding para ajustarlo al tamaño del recuadro */
    padding-right: 1em;
    line-height: 1.7; /* Reducir la altura de línea para alinearlo mejor */
    cursor: pointer;
    display: inline-flex;
    font-size: 0.875rem; /* Tamaño de texto reducido (equivale a 14px aproximadamente) */
    color: #4a5568; /* Tailwind color: gray-700 */
}

.checkbox-wrapper-47 label:before {
    box-sizing: border-box;
    content: " ";
    position: absolute;
    top: 0.2em; /* Ajustar la posición vertical del recuadro */
    left: 0;
    display: block;
    width: 1.2em; /* Tamaño reducido del recuadro */
    height: 1.2em;
    border: 2px solid #9098A9; /* Ligeramente gris para la caja */
    border-radius: 4px;
    z-index: -1;
    background-color: #f7fafc; /* Fondo blanco con borde gris */
}

.checkbox-wrapper-47 input[type=checkbox]:checked + label {
    padding-left: 1em;
    color: #1a202c; /* Tailwind color: gray-900 */
}

.checkbox-wrapper-47 input[type=checkbox]:checked + label:before {
    top: 0;
    width: 100%;
    height: 1.7em; /* Ajustar para mantener la proporción del recuadro */
    background: #e2e8f0; /* Fondo gris claro */
    border-color: #4a5568; /* Borde gris oscuro */
}

.checkbox-wrapper-47 label,
.checkbox-wrapper-47 label::before {
    transition: 0.25s all ease;
}




/* Estilo para todos los selects del formulario */
#filters-form select {
    appearance: none; /* Remueve la apariencia por defecto del select */
    -webkit-appearance: none; /* Remueve la apariencia por defecto en WebKit */
    -moz-appearance: none; /* Remueve la apariencia por defecto en Firefox */
    background-color: #f7fafc; /* Fondo gris claro */
    border: 1px solid #cbd5e0; /* Borde gris claro */
    color: #4a5568; /* Texto gris oscuro */
    padding: 0.5rem 0.75rem; /* Espaciado interno */
    font-size: 0.875rem; /* Tamaño de texto (14px) */
    line-height: 1.25; /* Altura de línea */
    border-radius: 0.375rem; /* Borde redondeado */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Transiciones suaves */
    cursor: pointer;
    width: 100%;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="5" viewBox="0 0 4 5"><path fill="%234A5568" d="M2 0l2 2H0zM0 3l2 2 2-2z"/></svg>'); /* Flecha personalizada */
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.65em auto;
}

#filters-form select:focus {
    border-color: #a0aec0; /* Color del borde al enfocarse */
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5); /* Sombra azul clara */
    outline: none;
}

#filters-form select[disabled] {
    background-color: #e2e8f0; /* Fondo gris más oscuro para selects deshabilitados */
    color: #a0aec0; /* Texto gris claro para selects deshabilitados */
    cursor: not-allowed; /* Cursor de no permitido */
}

#filters-form label {
    margin-bottom: 0.25rem; /* Espaciado entre el label y el select */
    font-size: 0.875rem; /* Tamaño de texto del label */
    color: #4a5568; /* Color del texto del label */
}


