input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: 24px;
    height: 24px;
    -webkit-appearance: none;
/* @apply w-6 h-6 appearance-none pointer-events-auto; */
}
.price-input {
    width: 100%;
    display: flex;
}
    .price-input .field {
    width: 100%;
    align-items: center;
    }
    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    }
    .price-input .separator {
    width: 4rem;
    display: flex;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    }
    .slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
    width: 60%;
    left: 5%;
    }
    .slider .progress {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #17a2b8;
    }
    .range-input {
    position: relative;
    }
    .range-input input {
    position: absolute;
    width: 60%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    left: 5%;
    }
    input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: #17a2b8;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    }
    input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: #17a2b8;
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    }

    /* Support */
    .support-box {
    top: 2rem;
    position: relative;
    bottom: 0;
    text-align: center;
    display: block;
    }
    .b-btn {
    color: white;
    text-decoration: none;
    font-weight: bold;
    }
    .b-btn.paypal i {
    color: blue;
    }
    .b-btn:hover {
    text-decoration: none;
    font-weight: bold;
    }
    .b-btn i {
    font-size: 20px;
    color: yellow;
    margin-top: 2rem;
    }
    #unidad ~ .selectize-control .selectize-input {
        border-radius: 7px;
        border-right-color: rgb(209 213 219 / var(--tw-border-opacity)) !important;

    }
    /* Estilo inicial del dropdown (oculto por defecto) */
    /* Estilo inicial del dropdown (oculto por defecto) */
    /* Estilo inicial del dropdown (oculto por defecto) */
    #filtersDropdown {
        opacity: 0;
        max-height: 0;
        transition: opacity 0.3s ease, max-height 0.3s ease;
    }

    #cards-container-total{
        transition: padding 0.3s ease-in-out, margin 0.3s ease-in-out;
    }
    #cards-container{
        transition: padding 0.3s ease-in-out, margin 0.3s ease-in-out;
    }

    #map-container{
        transition: height 0.3s ease-in-out, margin 0.3s ease-in-out;
    }

    /* Estilo cuando el dropdown está visible */
    #filtersDropdown.show {
        opacity: 1;
        max-height: 1000px; /* Ajusta este valor según el contenido del dropdown */
    }

    /* Ajustes del mapa */
    #map-container {
        position: fixed !important; /* Fija el mapa en su posición */
        top: 0; /* Anclado al borde superior */
        right: 0; /* Anclado al borde derecho */
        /*width: 50%;*/ /* Ocupa la mitad derecha de la pantalla (ajusta según tus necesidades) */
        height: 100%; /* Altura completa de la pantalla */
        z-index: 10; /* Asegura que esté encima de otros elementos */
        overflow: hidden; /* Evita que desborde */
        left:49%;
        border-top: 2px solid #D1D5DB;
        border-radius: 1rem;
    }
    #cards-container-total {
    flex: 1; /* Ocupa todo el espacio restante de la pantalla */
    max-width: 49%;
}

.descripcion {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box; /* Habilitar el modo caja para múltiples líneas */
    -webkit-line-clamp: 3; /* Número de líneas visibles */
    -webkit-box-orient: vertical; /* Orientación vertical */
    white-space: normal; /* Permitir múltiples líneas */
    height: auto; /* Asegurarte de que ajuste dinámicamente */
}

@media only screen and (min-width: 768px) and (max-width: 942px) {

    #map{
        display:none;
    }
    .md\:w-1\/2 {
        width: 50%;
    }
}
/*@media (min-width: 518px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}*/
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .container {
        display: flex;
        flex-direction: row; /* Los elementos estarán uno al lado del otro */
    }
    .container > div {
        flex: 1; /* Asegura que ambos divs tengan el mismo tamaño */
    }
}

/* Para pantallas pequeñas (móvil) */
@media (max-width: 767px) {
    .container {
        flex-direction: column; /* Los elementos estarán uno debajo del otro */
    }
    .container > div {
        width: 100%; /* Toman todo el ancho disponible */
    }

    .descripcion {
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box; /* Habilitar el modo caja para múltiples líneas */
        -webkit-line-clamp: 2; /* Número de líneas visibles */
        -webkit-box-orient: vertical; /* Orientación vertical */
        white-space: normal; /* Permitir múltiples líneas */
        height: auto; /* Asegurarte de que ajuste dinámicamente */
    }
}
@media only screen and (min-width: 1200px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
.container{
    padding-top: unset;
    z-index: 100;
}
.no-pointer {
    pointer-events: none;
}

.footer{
    position: sticky;
    min-height: 50vh;
}
@media only screen and (max-width: 767px){
    #cards-container-total {
        flex: 1;
        overflow-y: scroll;
        max-width: 100%;
    }

    #map-container {
        margin-top: unset !important;
        position: relative !important;
        left: unset;
    }           
    .footer{
        position: unset;
    }
}

.display-none{
    display: none;
}

@media (max-width: 1024px) {
    .hide-on-mobile {
        display: none;
    }
    

}
@media (min-width: 1024px) {
    .formBuscarProductos{
        padding-left: 11rem !important;
    }
}
.highlight {
    position: relative !important;
    z-index: 9999 !important;
}
