:root {
    --color-blanco-campos: hsla(0, 0%, 100%, 0.95);
    --color-bed-viajes: #FF3300;
    --color-background: #f9f9f9;
}

#formulario_busqueda {
    background: var(--color-background);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    padding: 15px 0;
}

.contenedor_input_busqueda {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 2.5px;
}

.contenedor_alojamientos_mapa {
    display: grid;
    grid-template-columns: 60% 40%;
    background: var(--color-background);
    gap: 20px;
    padding-left: 20px;
    font-family: 'Poppins', sans-serif;
}

.contenedor_general_mapa_listado {
    min-height: 1px;
    width: calc(100% - 40px);
}

.contenedor_mapa {
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    background: white;
}

.contenedor_mapa.ocultar {
    display: none;
}

#map {
    width: 100%;
    height: 100vh;
    border-radius: 8px;
}

.contenedor_mostrar_mapa {
    display: none;
    align-items: center;
    justify-content: end;
    color: var(--color-bed-viajes);
    font-size: 12px;
    margin-top: 10px;
    cursor: pointer;
}

.contenedor_mostrar_mapa i {
    font-size: 16px;
    margin-right: 10px;
}

.contenedor_filtros {
    background: var(--color-blanco-campos);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 80vh;
    transition: left 0.5s;
    width: 40vw;
    overflow-y: auto;
}

.contenedor_filtros h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-bed-viajes);
    margin: 0;
}

.contenedor_filtros h2 span {
    margin-left: 10px;
}

.contenedor_titulo_filtro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
    cursor: pointer;
}

.titulo_filtro,
.icono_filtro {
    font-size: 1rem;
    color: #666666;
    margin: 0;
    transition: all 0.5s;
}

.icono_filtro.activo {
    rotate: 180deg;
}

.lista_filtro {
    padding: 0 0 0 5px;
    max-height: 150px;
    overflow-y: auto;
    display: none;
}

.item_filtro {
    font-size: 14px;
    color: #666666;
    display: flex;
    gap: 15px;
    align-items: center;
}

.item_filtro input,
.item_filtro label {
    cursor: pointer;
}

.contenedor_btn_filtrar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn_filtrar,
.btn_limpiar_filtros {
    background: var(--color-bed-viajes);
    border-radius: 8px;
    padding: 8px 0;
    color: white;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    width: 100px;
    text-align: center;
}

.btn_limpiar_filtros {
    background: #666666;
}

.contenedor_general_alojamientos {
    display: flex;
    flex-direction: column;
}

.contenedor_general_alojamientos.modo_columnas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.contenedor_alojamiento {
    display: grid;
    grid-template-columns: 30% 65%;
    margin-bottom: 5px;
    gap: 15px;
    background: white;
    border-radius: 8px;
    padding: 10px;
}

.contenedor_alojamiento.esconder {
    display: none !important;
}

.contenedor_general_alojamientos.modo_columnas .contenedor_alojamiento {
    display: flex;
    flex-direction: column;
}

.contenedor_imagen_alojamiento {
    width: 100%;
    height: 200px;
}

.contenedor_imagen_alojamiento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.contenedor_info_alojamiento {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-left: 15px;
}

.contenedor_general_alojamientos.modo_columnas .contenedor_info_alojamiento {
    flex-direction: column;
    align-items: center;
}

.precio_alojamiento {
    font-size: 1rem;
    font-weight: 600;
    color: #2f2f2f;
}

.enlace_ver_mas {
    text-decoration: none;
    background: #EEE;
    font-size: 1rem;
    font-weight: none;
    color: black;
    border: 1px solid #dcdcdc;
    padding: 5px 15px;
    border-radius: 6px;
    margin-top: 10px;
    text-align: center;
    transition: all 0.3s;
}

.enlace_ver_mas:hover {
    background: var(--color-bed-viajes);
    color: white;
}

.sp-image-container {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px !important;
}

.sp-arrow {
    width: 30px !important;
}

.sp-arrow::after {
    /* color: hsla(0, 0%, 100%, 0.4) !important; */
    color: transparent;
}

.sp-horizontal .sp-previous-arrow {
    left: 0px !important;
}

.sp-horizontal .sp-next-arrow {
    right: 0px !important;
}

.select_filtros {
    font-size: 14px;
    color: #666666;
    background: var(--color-background);
}

.contenedor_menu {
    display: none;
}

.marcador_mapa {
    position: relative;
}

.marcador_mapa_grupo {
    width: 30px;
    height: 30px;
    background: var(--color-bed-viajes);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.marcador_mapa_grupo.esconder {
    background: transparent;
    color: transparent;
    pointer-events: none;
}

.titulo_marcador_mapa {
    background: var(--color-bed-viajes);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.titulo_marcador_mapa.esconder {
    background: transparent;
    color: transparent;
    pointer-events: none;
    box-shadow: none;
}

.contenedor_card_marcador_mapa {
    display: none;
    position: absolute;
    top: 30px;
    left: calc(50% - 120px);
    z-index: 9999;
}

.contenedor_card_marcador_mapa.mostrar {
    display: flex;
    flex-direction: column;
    width: 240px;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 10px;
    align-items: center;
    justify-content: center;
}

.contendor_marcador_mapa_imagen img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.btn_modal_filtro {
    background: var(--color-blanco-campos);
    border-radius: 8px;
    padding: 10px 40px 10px 40px;
    color: #676767;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #dee2e6;
} 

.contenedor_switch_lista_columnas_alojamientos {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0 20px 0;
    background: var(--color-background);
}

.switch_lista_columnas_alojamientos {
    position: relative;
    width: 100px;
    height: 40px;
    background: white;
    border-radius: 999px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Ocultar los radios */
.switch_lista_columnas_alojamientos input[type="radio"] {
    display: none;
}

/* Etiquetas con íconos */
.switch_lista_columnas_alojamientos .icono {
    flex: 1;
    text-align: center;
    z-index: 2;
    cursor: pointer;
    font-size: 18px;
    color: #444;
    transition: color 0.1s ease;
    line-height: 32px;
    position: relative;
}

/* Fondo deslizante */
.switch_lista_columnas_alojamientos .resaltador {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: 32px;
    background: #FF3300;
    border-radius: 999px;
    transition: left 0.15s ease-in-out;
    z-index: 1;
}

/* Estilo cuando lista está activo */
#btn_modo_lista_alojamientos:checked~.resaltador {
    left: calc(50%);
}

/* Estilo cuando columnas está activo */
#btn_modo_columnas_alojamientos:checked~.resaltador {
    left: 4px;
}

/* Cambiar color del ícono activo */
#btn_modo_lista_alojamientos:checked~label[for="btn_modo_lista_alojamientos"],
#btn_modo_columnas_alojamientos:checked~label[for="btn_modo_columnas_alojamientos"] {
    color: white;
}

@media screen and (max-width: 1200px) {
    .contenedor_general_mapa_listado {
        width: 100%;
    }

    #map {
        width: 100%;
        height: 200px;
    }

    .contenedor_general_alojamientos.modo_columnas {
        grid-template-columns: 1fr;
    }

    .contenedor_alojamientos_mapa {
        display: flex;
        flex-direction: column-reverse;
        padding: 0 30px 15px 30px;
    }

    .contenedor_filtros {
        width: 80vw;
    }

    .contenedor_menu {
        display: block;
    }

    .contenedor_switch_lista_columnas_alojamientos {
        display: none;
    }

    .contenedor_mapa {
        margin-top: 15px;
    }

    .contenedor_mostrar_mapa {
        display: flex;
    }
}

@media screen and (max-width: 600px) {
    .contenedor_alojamiento {
        grid-template-columns: 100%;
    }

    .contenedor_info_alojamiento {
        flex-direction: column;
        gap: 15px;
    }
}