.form-group {
    position: relative;
}

.chosen-container {
    width: 100% !important;
}

.chosen-container-multi .chosen-choices {
    overflow-y: auto;
}

.chosen-container .chosen-drop {
    width: 100% !important;
    max-height: 200px;
    overflow-y: auto;
}

.chosen-container .chosen-drop {
    z-index: 1000;
}

.button-filter {
    grid-column: span 2;
    display: flex;
    justify-content: flex-end;
}

.selected-filters {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 10px;
}

.selected-filters .tag {
    display: inline-block;
    background-color: #e0e0e0;
    color: #007bff;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Efecto hover */
.div-tags {
    width: 100%;
}

.tag {
    cursor: pointer;
    margin-left: 5px;

}

.page-button {
    margin: 0 5px;
    padding: 5px 10px;
    cursor: pointer;
}

.page-button.active {
    background-color: #007bff;
    color: white;
    border: none;
}

.container-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-circle {
    width: 21px;
    height: 21px;
    text-align: center;
    padding: 7px 1px 7px 0;
    font-size: 7px;
    line-height: 2px;
    border-radius: 15px;
}

.filtro-container {
    background-color: #f9f9f9;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 0px !important;
    width: 100%;
}

.filtro-container h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.btn-filtro,
.btn-toggle-filters {
    padding: 10px 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.filtro-select {
    width: 100%;
}

.filtro-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    background-position: right 10px center;
    background-size: 10px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.chosen-select {
    width: 100%;
    height: 39px !important;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #ffffff;
    padding: 0.5rem;
    font-size: 1rem;
    color: #495057;
}

.filtro-input {
    width: 40%;
    margin-right: 4%;
}

.filtro-input {
    width: 100%;
    padding: 5px;
}

.filtro-rango {
    display: block;
    margin-bottom: 15px;
    max-width: 300px;
}

.filtro-rango label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.filtro-rango {
    margin-top: 10px;
}

.filtro-rango {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filtro-rango {
    flex: 1;
    min-width: 200px;
}

.filtro-input {
    flex: 1;
    margin-right: 10px;
}

.filtro-input:last-child {
    margin-right: 0;
}

#filtro-form {
    display: none;
    flex-direction: column;
    overflow: hidden;
    height: 0;
    transition: height 0.5s ease-out;
}

.form-group,
.form-select {
    font-size: 0.8rem;
}

.dropdown-checkbox {
    position: relative;
    margin-right: 15px;
    margin-top: 5px;
    background-color: #ffffff;
    border: 1px solid rgb(150, 150, 150);
    border-radius: 5px;
}

.dropdown-checkbox label {
    color: #333;
    padding: 4px 8px;
    font-size: 0.9rem;
}

.dropdown-content label {
    font-size: 0.8rem;
}

.dropdown-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.dropdown-checkbox:hover .dropdown-content {
    display: block;
    margin-left: -1px;
    border-radius: 0px 5px 5px 5px;
    border: 1px solid rgb(150, 150, 150);
    max-height: 300px;
    min-width: 250px;
    overflow: auto;
}

.dropdown-checkbox:hover {
    border-radius: 5px 5px 0px 0px;
    border-bottom: none;
}

.lista-marcas {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.lista-marcas li {
    padding: 15px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.lista-marcas li:hover {
    background-color: rgb(245, 245, 245);
}

.lista-marcas-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.container-logo {
    display: block;
    width: 60px;
    margin-right: 4px;
    text-align:center;
}

.logo-marcas {
    max-width: 60px;
    max-height: 50px;
}

.auto-card {
    max-width: 250px;
    height: 400px;
}

@media (max-width: 768px) {
    .filtro-rango {
        flex: 100%;
    }

    .container-side-filter {
        display: none;
    }
}

@media (max-width: 992px) {
    .owl-item .item {
        width: 300px;
    }
}