:root {
    --azul-bidcom: #0000FF;
    --azul-link: #007bff;
}

.contenedor-etiquetas_atributos {
    display: none;
    min-height: 100px;
    height: auto;
    padding: 15px 0;
}

.titulo-filtros {
    color: #000;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.titulo-filtro {
    color: #000;
    font-size: 16px;
    text-wrap: nowrap;
}

.titulo-categorias {
    display: flex;
    flex-direction: row;
}

.titulo-filtro h1 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
}

.titulo-categoria {
    font-size:25px;
    margin:0 0 10px 0; 
}

.filtros-seleccionados {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.etiqueta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    border: 1px solid #ced4da;
    padding: 2px 6px;
    background: #fff;
    margin: 3px;
    font-size: 12px;
    border-radius: 5px;
    color: #000;
    padding: 7px 9px;
    width: 250px;
    min-width: 100%;
}

.descripcion-tag {
    font-weight: 700;
}

.valor-tag {
    text-transform: uppercase;
    margin-left: 2px;
}

.button_close {
    cursor: pointer;
    font-size: 17px;
    padding: 0 0 0 10px;
    color: var(--azul-bidcom);
    font-weight: 700;
}

.etiqueta a:hover {
    text-decoration: none !important;
}

.titulo-atributo {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.contenedor-atributo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.atributos {
    color: #999 !important;
    font-size: 12px;
    font-weight: 400;
    padding: 0 5px;
}

.atributos:hover {
    color: #000 !important;
    cursor: pointer;
}

.container-price {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

.price-min,
.price-max {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px 5px 0;
    border-radius: 5px;
}

.price-min span,
.price-max span {
    width: 30px;
    height: 30px;
    text-align: center;
    color: #495057;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}

.price-min input:focus,
.price-max input:focus {
    border: 2px solid #3574b4;
    box-shadow: -1px -4px 10px -6px rgba(53, 116, 180, 0.65);
    -webkit-box-shadow: -1px -4px 10px -6px rgba(53, 116, 180, 0.65);
    -moz-box-shadow: -1px -4px 10px -6px rgba(53, 116, 180, 0.65);
}

.container-price .input-group-prepend {
    display: none;
}

.min_max_buttom {
    display: none;
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    right: 0;
    top: 30%;
    z-index: 1;
    color: #fff;
    cursor: pointer;
    background-color: #4783be;
    border: 1px solid #4d88c3;
}

.switch_envio_gratis,
.switch_refurbished,
.switch_usados,
.switch_sin_interes {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    width: 257.39px;
    height: 55.6px;
    padding: 16px;
    border-radius: 8px;
}

.title_envio_gatis,
.title_refurbished,
.title_usados,
.title_sin_interes {
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    margin-bottom: 0;
    font-weight: 600;
}

.lbl-switch {
    display: inline-block;
    width: 32px;
    height: 18px;
    background: #999;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
}

.lbl-switch:after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 100px;
    top: 1px;
    left: 3px;
    transition: 0.3s;
}

#envio:checked~.lbl-switch:after,
#usados:checked~.lbl-switch:after,
#refurbished:checked~.lbl-switch:after,
#sin_interes:checked~.lbl-switch:after{
    left: 14px;
}

#envio,
#usados,
#refurbished,
#sin_interes {
    display: none;
}

#envio:checked~.lbl-switch,
#refurbished:checked~.lbl-switch,
#usados:checked~.lbl-switch,
#sin_interes:checked~.lbl-switch {
    background: var(--azul-bidcom);
}

.wrapper {
    position: relative;
    width: 257.4px;
    height: 100px;
    background: #fff;
    border-radius: 8px;
    padding: 0 10px;
    border: 1px solid #ddd;
}

.titulo-filtro-precio {
    position: absolute;
    font-weight: 600;
    color: #666;
    top: 12px;
    margin: 0;
    font-size: 16px;
}

.price-input {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 30px 0 -7px;
}

.price-input .field {
    display: flex;
    height: 45px;
    align-items: center;
}

.field input {
    width: 70px;
    outline: none;
    font-size: 16px;
    border: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

#input-min {
    margin-bottom: 5px !important;
}

#input-max {
    margin-bottom: 5px !important;
}

.field span {
    font-size: 16px;
    margin-bottom: 3px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.price-input .separator {
    width: 130px;
    display: flex;
    font-size: 12px;
    align-items: center;
    justify-content: center;
}

.slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
}

.slider .progress {
    height: 100%;
    left: 5%;
    right: 40%;
    position: absolute;
    border-radius: 5px;
    background: var(--azul-bidcom);
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    appearance: none; /* Añadir la propiedad estándar */
    -webkit-appearance: none; /* Webkit (Chrome, Safari) */
    -moz-appearance: none; /* Mozilla (Firefox) */
}

input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: var(--azul-bidcom);
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: var(--azul-bidcom);
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.btn-rango-precio {
    position: relative;
    top: 13px;
    left: 167px;
    font-size: 12px;
    text-transform: capitalize;
    border: solid 1px var(--azul-bidcom);
    background: var(--azul-bidcom);
    cursor: pointer;
    color: #fff;
    padding: 10px;
    transition: all 0.3s;
}

.btn-rango-precio:hover {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.btn-rango-precio:focus {
    outline: none;
}

.btn-verMasMenos {
    font-size: 12px;
    text-transform: capitalize;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--azul-link);
    padding: 5px 5px 5px 0px;
    text-align: left;
    transition: all 0.3s;
}

.btn-verMasMenos:hover {
    color: #333;
}

.btn-verMasMenos:focus {
    outline: none;
}

.btn-disabled {
    background: #666;
    border: #666;
    color: white;
}

.btn-disabled:hover {
    background: #666;
    border: #666;
    color: white;
}

.head-menu-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
    .wrapper {
        width: auto;
        margin: 10px;
    }
    .titulo-atributo {
        color: #000;
        font-size: 16px;
        margin-left: 0.5rem;
        font-weight: 600;
    }
    .contenedor-atributo {
        padding-left: 1rem;
    }

    .contenedor-atributo span {
        margin-bottom: 2px;
    }
    .contenedor-etiquetas_atributos {
        padding: 12px 10px 9px 5px;
    }
    .button_close {
        font-size: 24px;
    }
    .switch_envio_gratis,
    .switch_refurbished,
    .switch_sin_interes{
        width: auto;
        margin: 10px;
    }
    .lbl-switch {
        width: 38px;
        height: 23px;
    }
    .lbl-switch:after {
        width: 19px;
        height: 19px;
        top: 2px;
        left: 3px;
    }
    #envio:checked~.lbl-switch:after,
    #refurbished:checked~.lbl-switch:after,
    #sin_interes:checked~.lbl-switch:after{
        left:16px;
    }
}