.contenedor-detalle{
    /* border: solid 2px green; */
    /* min-height: 100vh; */
    padding: 5vh;
    padding-top: 2vh;

    @media (max-width:800px) {
        padding: 0;
        padding-top: 1vh;
    }

}

/* titulo detalle */
    .contenedor-titulo-detalle{
        display: flex;
        gap: 1vh;
        flex-direction: column;
        border-bottom: solid 2px #cacaca;
        padding-bottom: 1vh;
        /* border: solid 1px; */

    }

    .link-volver{
        color: var(--grisOscuro);
        width: fit-content;
        font-size: 1.5vh;
        font-weight: 400;
        &:hover{
            color: #000;;
        }
    }

    .contenido-titulo-detalle{
        display: flex;
        align-items: center;
        gap: 1vw;

        @media (max-width:800px) {
            flex-direction: column;
            gap: 2vh;
        }
    }

    .div-operacion-precio{
        display: flex;
        box-shadow: 1px 1px 10px #a7a7a7;
        flex-direction: column;
        align-items: center;
        border-radius: 1cap;
        background-color: white;
        width: 8%;
        font-size: 1.5vh;
        font-weight: 500;
        text-transform: uppercase;

        @media (max-width:800px) {
           width: 100px;

        }

        .div-operacion-alquiler{
            background-color: green;
            width: 100%;
            text-align: center;
            color: white;
            border-radius: 1cap 1cap 0 0;
            padding: .5vh 0;
        }

        .div-operacion-venta{
            background-color: red;
            width: 100%;
            text-align: center;
            color: white;
            border-radius: 1cap 1cap 0 0;
            padding: .5vh 0;
        }

        .div-precio{
            padding: .5vh 0;
            width: 100%;
            text-align: center;
            color: var(--grisOscuro);
            border-radius: 0 0 1cap 1cap;
        }
    }

    .titulo-detalle{
        color: var(--naranja);
        font-weight: 500;
        width: 92%;
        font-size: 3.5vh;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;

        @media (max-width:800px) {
           width: 100%;
           font-size: 2vh;
        }
    }

/* Div slider y caracteristicas */

    .div-slider-caracteristicas{
        display: flex;
        /* padding-bottom: 1vh;
        border-bottom: solid 2px #cacaca; */
        /* border: solid 1px; */
        height: 60vh;
        width: 100%;
        gap: 1vw;

        @media (max-width:800px) {
            flex-direction: column;
            align-items: center;
            height: 100%;
            gap: 2vh;
        }
    }

    .swiffy-slider{
        /* width: 50%; */
        /* border: solid 1px blue; */
        border-radius: 1cap;
        height: 100%;
        box-shadow: 1px 1px 10px #c7c7c7;

        img{
            border-radius: 1cap;
            filter: brightness(.8);
        }

        @media (max-width:800px) {
           height: 40vh;
        }
    }

    .div-caracteristicas{
        box-shadow: 1px 1px 10px #c7c7c7;
        width: 30%;
        height: 100%;
        background-color: white;
        border-radius: 1cap ;
        /* border: solid 1px green; */
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        /* scrollbar-gutter: stable; */

        @media (max-width:800px) {
            width: 100%;
        }

        ul{
            color: #3b3b3b;
            padding: 1vh;
            font-size: 1.7vh;
            display: flex;
            flex-direction: column;
            gap: 1vh;
        }

    }

    /* WebKit: Estilo general de la barra de desplazamiento */
    .div-caracteristicas::-webkit-scrollbar {
        width: 10px; /* Ancho de la barra de desplazamiento */
    }
    
    /* WebKit: Fondo de la barra de desplazamiento */
    .div-caracteristicas::-webkit-scrollbar-track {
        background: #b9b9b9;
        border-radius: 0 .5cap .5cap 0;
        /* border-radius: cap; */
    }
    
    /* WebKit: Barra de desplazamiento */
    .div-caracteristicas::-webkit-scrollbar-thumb {
        background: #888888;
        border-radius: 0 .5cap .5cap 0;
    }
    



    .titulo-caracteristicas{
        border-radius: .8cap 0 0 0;
    }

    .titulo-caracteristicas, .titulo-servicios{
        background-color: var(--naranja);
        color: white;
        font-weight: 500;
        text-align: center;
        font-size: 2vh;
    }



/* Sucrusal */

    .div-sucursal{
        display: flex;
        flex-direction: column;
        box-shadow: 1px 1px 10px #c7c7c7;
        gap: 1vh;
        /* border: solid 3px var(--grisOscuro); */
        background-color: white;
        width: fit-content;
        padding: 1vh;
        border-radius: 1cap;

        @media (max-width:800px) {
            width: 100%;
        }
    }

    .nombre-sucursal{
        font-size: 2.5vh;
        font-weight: 600;
        color: var(--naranja);
    }

    .div-datos-sucursal{
        display: flex;
        justify-content: center;
        gap: 2vw;
        color: var(--grisOscuro);
        font-size: 1.8vh;
        font-weight: 400;
        i{
            color: var(--naranja);
        }

        @media (max-width:800px) {
            flex-direction: column;
        }
    }



/* Descripcion */

    .div-descripcion-detalle{
        margin-top: 5vh;
        font-weight: 400;
        display: flex;
        flex-direction: column;
        gap: 2.5vh;
    }

    .titulo-descripcion-detalle{
        color: var(--naranja);
        font-weight: 500;
        font-size: 3.5vh;
        border-bottom: solid 2px #cacaca;
    }

    .descripcion{
        color: #3b3b3b;

        @media (max-width:800px) {
            font-size: .8rem;
        }
    }


/* Mapa  */
    .div-mapa{
        margin-top: 5vh;
        display: flex;
        flex-direction: column;
        gap: 2.5vh;
    }

    .mapa-titulo{
        color: var(--naranja);
        font-weight: 500;
        font-size: 3.5vh;
        border-bottom: solid 2px #cacaca;
    }


    #map{
        height: 500px;
        border-radius: 1cap;
        box-shadow: 1px 1px 10px #c7c7c7;
        z-index: 1;
    
        @media (max-width:660px) {
        height: 50vh;
        }
    }
  

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  .modal {
    backdrop-filter: blur(10px);
    padding: 1vh;
    border-radius: 1cap;
    width: 80%;
    height: 70%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 1vh;
  }

  .video-tour{
    height: 90%;
    width: 100%;
    border-radius: .5cap;
  }

  .modal button {
    padding: .5vh;
    width: fit-content;
    border: none;
    background-color: red;
    color: white;
    border-radius: .5cap;
    cursor: pointer;
  }

  .modal button:hover {
    background-color: #8a1f01;
  }

  .open-modal-button{
    font-size: 2vh;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 1vh;
    background-color: white;
    border-radius: 1cap;
    border: none;
    padding: 1vh;
    box-shadow: 1px 1px 10px #c7c7c7;

    &:hover{
        cursor: pointer;
    }
  }
