*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#f1f3f4;

    font-family:Arial, sans-serif;

    display:flex;

    justify-content:flex-end;

    padding-top:20px;

    padding-right:140px;
}

/* PANEL DERECHO */

.container{

    width:420px;

    background:white;

    border-radius:12px;

    overflow:hidden;

    border:1px solid #dadce0;

    box-shadow:0 1px 3px rgba(0,0,0,0.08);
}

/* GALERÍA */

.galeria{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:3px;

    height:180px;
}

.imagen-grande img{

    width:100%;

    height:180px;

    object-fit:cover;

    display:block;
}

.imagenes-pequenas{

    display:grid;

    grid-template-rows:1fr 1fr;

    gap:3px;
}

.imagenes-pequenas img{

    width:100%;

    height:88px;

    object-fit:cover;

    display:block;
}

/* INFORMACIÓN */

.info{

    padding:16px;
}

h1{

    font-size:34px;

    font-weight:400;

    margin-bottom:8px;

    color:#202124;
}

.rating{

    display:flex;

    align-items:center;

    gap:8px;

    margin-bottom:10px;
}

.numero{

    font-size:16px;

    color:#202124;
}

.estrellas{

    color:#fbbc04;

    font-size:18px;
}

.reviews{

    color:#fbbc04;

    font-size:14px;
}

.categoria{

    color:#5f6368;

    font-size:15px;

    margin-top:8px;

    margin-bottom:18px;
}

/* BOTONES */

.botones{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-top:18px;

    margin-bottom:20px;
}

.botones-extra{

    display:none;

    gap:10px;

    flex-wrap:wrap;

    margin-top:10px;

}

button{

    border:1px solid #dadce0;

    background:white;

    padding:10px 16px;

    border-radius:25px;

    cursor:pointer;

    font-size:14px;

    transition:0.2s;
}

button:hover{

    background:#f8f9fa;
}

/* DETALLES */

/* DETALLES */

.detalles{

    border-top:1px solid #e0e0e0;

    padding-top:14px;

    margin-top:10px;
}

.detalle-item{

    display:flex;

    align-items:flex-start;

    gap:10px;

    margin-bottom:8px;
}

.icono{

    font-size:18px;

    margin-top:2px;
}

.detalle-item p{

    font-size:14px;

    color:#202124;

    line-height:1.4;
}

.detalle-item strong{

    font-size:14px;

    font-weight:500;
}

/* HORARIOS */

.horario-box{

    width:100%;
}

.horario-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

    padding:4px 0;

    font-size:14px;
}

.horario-header:hover{

    opacity:0.8;
}

#listaHorarios{

    display:none;

    padding-top:5px;
}

#listaHorarios p{

    margin:4px 0;

    font-size:14px;

    color:#5f6368;
}

#flecha{

    font-size:11px;
}

/* HORARIOS */

.horarios{

    margin-top:10px;
}

.horario-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#f8f9fa;

    padding:12px 14px;

    border-radius:10px;

    cursor:pointer;

    font-size:15px;

    color:#202124;
}

.horario-header:hover{

    background:#f1f3f4;
}

#listaHorarios{

    display:none;

    padding:12px 14px;

    padding-top:10px;
}

#listaHorarios p{

    margin:8px 0;

    color:#5f6368;

    font-size:15px;
}

#flecha{

    font-size:13px;
}




.horario-box{

    width:100%;
}

.horarios{

    margin-top:8px;
}

.horario-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#f8f9fa;

    padding:10px 12px;

    border-radius:8px;

    cursor:pointer;

    font-size:14px;
}

#listaHorarios{

    display:none;

    padding:10px 5px;
}

#listaHorarios p{

    margin:7px 0;

    color:#5f6368;

    font-size:14px;
}


/* HORARIOS CONCURRIDOS */

.popular-times{

    border-top:1px solid #e0e0e0;

    margin-top:20px;

    padding-top:18px;
}

.popular-times h3{

    font-size:16px;

    margin-bottom:14px;

    color:#202124;
}

/* DÍAS */

.dias{

    display:flex;

    gap:14px;

    margin-bottom:20px;

    font-size:13px;

    color:#5f6368;
}

.dias span{

    cursor:pointer;
}

.dias .activo{

    color:#1a73e8;

    font-weight:600;
}

/* GRÁFICO */

.grafico{

    display:flex;

    align-items:flex-end;

    gap:12px;

    height:140px;
}

.barra-box{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-end;

    height:100%;
}

.barra{

    width:26px;

    background:#34a853;

    border-radius:6px 6px 0 0;
}

.barra.activa{

    background:#1a73e8;
}

.barra-box small{

    margin-top:8px;

    font-size:11px;

    color:#5f6368;
}

.galeria-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:8px;

    margin-top:20px;
}

.galeria-grid img{

    width:100%;

    height:120px;

    object-fit:cover;

    border-radius:10px;

    transition:0.3s;

    cursor:pointer;
}

.galeria-grid img:hover{

    transform:scale(1.03);
}

/* ========================= */
/* BOTÓN VER FOTOS */
/* ========================= */

.imagen-grande{

    position:relative;
}

.ver-fotos{

    position:absolute;

    bottom:12px;

    right:12px;

    background:rgba(0,0,0,0.7);

    color:white;

    border:none;

    padding:10px 14px;

    border-radius:8px;

    font-size:14px;

    cursor:pointer;

    transition:0.3s;
}

.ver-fotos:hover{

    background:rgba(0,0,0,0.9);
}

/* ========================= */
/* MODAL GALERÍA */
/* ========================= */

.modal{

    display:none;

    position:fixed;

    z-index:9999;

    left:0;

    top:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,0.92);

    overflow:auto;

    padding:40px;
}

/* CONTENEDOR DE FOTOS */

.modal-contenido{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:15px;
}

/* IMÁGENES */

.modal-contenido img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:12px;

    transition:0.3s;

    cursor:pointer;
}

.modal-contenido img:hover{

    transform:scale(1.02);
}

/* BOTÓN CERRAR */

.cerrar{

    position:fixed;

    top:20px;

    right:30px;

    font-size:38px;

    color:white;

    cursor:pointer;

    z-index:10000;
}

.modal-contenido video{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
}

/* ===== MODAL ZOOM ===== */

.modal-zoom{
    display:none;
    position:fixed;
    z-index:9999;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.95);
    justify-content:center;
    align-items:center;
}

.modal-zoom img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
    touch-action: none;
}

.cerrar-zoom{
    position:absolute;
    top:20px;
    right:30px;
    font-size:35px;
    color:white;
    cursor:pointer;
}

.imagen-mapa{
    position:relative;
}

.imagen-mapa iframe{
    width:100%;
    height:180px;
    border:0;
    display:block;
}

.ver-mapa{
    position:absolute;
    bottom:12px;
    right:12px;
    background:rgba(0,0,0,0.7);
    color:white;
    border:none;
    padding:10px 14px;
    border-radius:8px;
    font-size:14px;
    cursor:pointer;
}

.ver-mapa:hover{
    background:rgba(0,0,0,0.9);
}

.modal-opiniones{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.opiniones-box{
    background:white;
    padding:20px;
    border-radius:12px;
    width:90%;
    max-width:400px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

/* ===== FLECHAS ZOOM ===== */

.zoom-flecha{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    background:rgba(0,0,0,0.5);

    color:white;

    border:none;

    width:55px;

    height:55px;

    border-radius:50%;

    font-size:28px;

    cursor:pointer;

    z-index:10000;
}

.zoom-flecha:hover{
    background:rgba(0,0,0,0.8);
}

.zoom-flecha.izquierda{
    left:30px;
}

.zoom-flecha.derecha{
    right:30px;
}

.video-galeria{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:12px;

    background:black;
}

/* ========================= */
/* PERFILES */
/* ========================= */

.perfiles{

    border-top:1px solid #e0e0e0;

    margin-top:20px;

    padding-top:18px;
}

.perfiles h3{

    font-size:18px;

    margin-bottom:14px;

    color:#202124;
}

.redes{

    display:flex;

    flex-wrap:wrap;

    gap:12px;
}

.red{

    display:flex;

    align-items:center;

    gap:10px;

    background:#f8f9fa;

    padding:10px 14px;

    border-radius:12px;

    text-decoration:none;

    color:#202124;

    transition:0.3s;
}

.red:hover{

    background:#e8f0fe;

    transform:scale(1.03);
}

.red img{

    width:28px;

    height:28px;
}

.red span{

    font-size:15px;

    font-weight:500;
}

/* ========================= */
/* GOOGLE REVIEWS MODAL */
/* ========================= */

.reviews-modal{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.65);

    justify-content:center;

    align-items:center;

    z-index:99999;
}

.reviews-box{

    width:900px;

    max-width:95%;

    max-height:90vh;

    overflow-y:auto;

    background:white;

    border-radius:18px;

    padding:30px;

    position:relative;
}

.cerrar-reviews{

    position:absolute;

    top:20px;
    right:25px;

    font-size:30px;

    cursor:pointer;
}

.reviews-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;
}

.btn-escribir{

    background:white;

    border:1px solid #dadce0;

    border-radius:30px;

    padding:12px 20px;
}

.reviews-rating{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:30px;
}

#ratingNumberGrande{

    font-size:52px;
}

#ratingStarsGrande{

    color:#fbbc04;

    font-size:35px;
}

.review-form{

    display:flex;

    flex-direction:column;

    gap:14px;

    margin-bottom:30px;
}

.review-form input,
.review-form textarea,
.review-form select{

    padding:14px;

    border:1px solid #dadce0;

    border-radius:10px;

    font-size:15px;
}

.review-form textarea{

    min-height:120px;

    resize:none;
}

.lista-opiniones{

    display:flex;

    flex-direction:column;

    gap:22px;
}

.opinion{

    border-top:1px solid #e0e0e0;

    padding-top:20px;
}

.opinion h4{

    margin-bottom:8px;
}

.opinion .stars{

    color:#fbbc04;

    margin-bottom:8px;
}

/* ========================= */
/* GOOGLE REVIEWS NUEVO */
/* ========================= */

.reviews-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.opiniones-google{
    background:white;
    width:90%;
    max-width:950px;
    height:90vh;
    overflow-y:auto;
    overflow-x:hidden;
    border-radius:20px;
    padding:35px;
    position:relative;
}

/* CERRAR */

.cerrar-reviews{
    position:absolute;
    top:20px;
    right:25px;
    font-size:35px;
    cursor:pointer;
    color:#5f6368;
}

/* TOP */

.top-opinion{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.top-opinion h1{
    font-size:42px;
    font-weight:400;
    color:#202124;
    margin-bottom:5px;
}

.top-opinion p{
    color:#5f6368;
    font-size:18px;
}

/* BOTON */

.btn-escribir{
    border:1px solid #dadce0;
    background:white;
    padding:14px 24px;
    border-radius:30px;
    font-size:16px;
    cursor:pointer;
}

.btn-escribir:hover{
    background:#f8f9fa;
}

/* RATING */

.rating-google{
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:30px;
    margin-bottom:30px;
}

.numero-grande{
    font-size:70px;
    font-weight:400;
}

.stars-google{
    color:#fbbc04;
    font-size:42px;
}

.cantidad-op{
    font-size:28px;
    color:#5f6368;
}

/* ETIQUETAS */

.etiquetas{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:25px;
}

.tag{
    border:1px solid #dadce0;
    background:white;
    padding:12px 18px;
    border-radius:30px;
    font-size:16px;
    cursor:pointer;
}

.tag.activo{
    background:#d2e3fc;
}

/* ORDEN */

.ordenar{
    margin-top:25px;
}

.ordenar p{
    margin-bottom:15px;
    font-size:20px;
}

.orden-tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

/* FORM */

.review-form{
    margin-top:35px;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.review-form input,
.review-form select,
.review-form textarea{

    width:100%;
    padding:14px;
    border:1px solid #dadce0;
    border-radius:12px;
    font-size:16px;
}

.review-form textarea{
    min-height:120px;
    resize:none;
}

.review-form button{
    background:#1a73e8;
    color:white;
    border:none;
    padding:14px;
    border-radius:12px;
    font-size:16px;
    cursor:pointer;
}

.review-form button:hover{
    opacity:0.9;
}

/* OPINIONES */

.lista-opiniones{
    margin-top:40px;
}

.review-item{
    padding-bottom:30px;
    border-bottom:1px solid #e0e0e0;
    margin-bottom:30px;
}

/* HEADER REVIEW */

.review-header{
    display:flex;
    align-items:center;
    gap:15px;
    justify-content:space-between;
    width:100%;
}

.avatar{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#5c6bc0;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
}

.review-header h3{
    font-size:22px;
    margin-bottom:3px;
}

.review-header small{
    color:#5f6368;
}

/* ESTRELLAS REVIEW */

.review-stars{
    margin-top:6px;
    color:#fbbc04;
    font-size:20px;
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:nowrap;
}

.review-item{

    width:100%;

    overflow:hidden;
}   

.review-stars span{
    color:#5f6368;
    font-size:15px;
    margin-left:10px;
}

/* TEXTO */

.texto-review{
    margin-top:15px;
    font-size:18px;
    line-height:1.6;
    color:#202124;
}

/* FOTOS */

.review-fotos{
    display:flex;
    gap:10px;
    margin-top:20px;
    overflow-x:auto;
}

.review-fotos img{
    width:170px;
    height:130px;
    object-fit:cover;
    border-radius:12px;
}

.extras-tags{

    display:none;

    flex-wrap:wrap;

    gap:12px;

    margin-top:14px;

    margin-bottom:10px;
}

.extras-tags .tag{

    display:flex;

    align-items:center;

    justify-content:center;

    padding:12px 18px;

    min-height:45px;

    border-radius:25px;

    font-size:15px;

    white-space:nowrap;
}

.reviews-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    align-items:center;
}

.reviews-tags .tag{

    display:flex;

    align-items:center;

    justify-content:center;
}

.mas-tags{

    min-width:60px;
}

.tag{

    transition:0.2s;
}

.tag:hover{

    background:#f1f3f4;
}

.tag.activo{

    background:#d2e3fc;

    border:1px solid #1a73e8;

    color:#1967d2;

    font-weight:500;
}

/* ========================= */
/* MODAL ESCRIBIR OPINION */
/* ========================= */

.modal-escribir{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.65);

    justify-content:center;

    align-items:center;

    z-index:999999;
}

.escribir-box{

    background:white;

    width:95%;

    max-width:650px;

    border-radius:24px;

    padding:30px;

    display:flex;

    flex-direction:column;

    gap:25px;
}

/* HEADER */

.header-escribir{

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.header-escribir h2{

    font-size:30px;

    font-weight:400;
}

.header-escribir span{

    font-size:30px;

    cursor:pointer;
}

/* PERFIL */

.perfil-google{

    display:flex;

    align-items:center;

    gap:15px;
}

.avatar-google{

    width:55px;
    height:55px;

    border-radius:50%;

    background:#1a73e8;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;
}

.perfil-google h3{

    font-size:18px;
}

.perfil-google p{

    color:#5f6368;

    font-size:14px;
}

/* ESTRELLAS */

.stars-select{

    display:flex;

    gap:10px;

    font-size:45px;

    color:#dadce0;

    cursor:pointer;
}

.stars-select span:hover{

    color:#fbbc04;
}

/* TEXTAREA */

#textoOpinion{

    width:100%;

    min-height:180px;

    border:1px solid #dadce0;

    border-radius:14px;

    padding:18px;

    font-size:16px;

    resize:none;
}

/* SUBIR */

.subir-box{

    display:flex;

    align-items:center;
}

.btn-subir{

    border:1px solid #dadce0;

    padding:14px 20px;

    border-radius:30px;

    cursor:pointer;

    font-size:15px;
}

#subirMedia{

    display:none;
}

/* BOTONES */

.acciones-review{

    display:flex;

    justify-content:flex-end;

    gap:14px;
}

.btn-cancelar{

    background:white;

    border:1px solid #dadce0;
}

.btn-publicar{

    background:#1a73e8;

    color:white;

    border:none;
}

/* CAJA OPINION GOOGLE */

.textarea-box{
    position:relative;
    width:100%;
}

.textarea-box textarea{
    width:100%;
    min-height:120px;
    border:1px solid #dadce0;
    border-radius:10px;
    padding:16px;
    font-size:14px;
    resize:none;
    outline:none;
    background:white;
}

.fake-placeholder{
    position:absolute;
    top:16px;
    left:16px;
    color:#80868b;
    font-size:14px;
    pointer-events:none;
}

.textarea-box textarea:focus + .fake-placeholder,
.textarea-box textarea:not(:placeholder-shown) + .fake-placeholder{
    display:none;
}

.review-fotos{

    display:flex;

    gap:12px;

    margin-top:18px;

    overflow-x:auto;
}

.review-fotos img{

    width:180px;

    height:130px;

    object-fit:cover;

    border-radius:12px;
}

.review-fotos video{

    width:220px;

    height:130px;

    object-fit:cover;

    border-radius:12px;
}

.review-item{
    position:relative;
    width:100%;
    overflow:hidden;
}

.eliminar-review{

    position:absolute;

    top:12px;

    right:12px;

    width:42px;

    height:42px;

    border-radius:50%;

    border:1px solid #dadce0;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:18px;

    cursor:pointer;

    padding:0;

    line-height:1;
}

.eliminar-review:hover{

    background:#f1f3f4;
}

/* ========================= */
/* BOTONES REVIEW */
/* ========================= */

.acciones-review-top{

    position:absolute;

    top:12px;

    right:12px;

    display:flex;

    gap:18px;

    align-items:center;
}

.eliminar-review{

    margin-right:55px;
}

.compartir-review
.eliminar-review{

    width:42px;

    height:42px;

    border-radius:50%;

    border:1px solid #dadce0;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:18px;

    cursor:pointer;

    padding:0;

    line-height:1;
}

.compartir-review:hover,
.eliminar-review:hover{

    background:#f1f3f4;
}

/* ========================= */
/* USUARIO REVIEW */
/* ========================= */

.review-user{

    display:flex;

    align-items:center;

    gap:12px;
}

.user-info h3{

    font-size:16px;

    margin:0;

    color:#202124;
}

.user-info small{

    font-size:12px;

    color:#5f6368;
}

.compartir-review{

    position:absolute;

    top:12px;

    right:120px;

    width:42px;

    height:42px;

    border-radius:50%;

    border:1px solid #dadce0;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:18px;

    cursor:pointer;
}

.compartir-review:hover{

    background:#f1f3f4;
}
/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:768px){

    body{

        justify-content:center;

        padding-right:0;

        padding-left:0;

        padding-top:0;
    }

    .container{

        width:100%;

        max-width:100%;

        border-radius:0;
    }

    .opiniones-google{

        width:100%;

        height:100%;

        border-radius:0;

        padding:20px;
    }

    .top-opinion{

        flex-direction:column;

        align-items:flex-start;
    }

    .top-opinion h1{

        font-size:30px;
    }

    .rating-google{

        flex-wrap:wrap;
    }

    .numero-grande{

        font-size:50px;
    }

    .stars-google{

        font-size:30px;
    }

    .cantidad-op{

        font-size:20px;
    }

    .review-fotos img,
    .review-fotos video{

        width:140px;

        height:100px;
    }

    .escribir-box{

        width:100%;

        height:100%;

        border-radius:0;

        max-width:none;
    }

    .galeria{

        grid-template-columns:1fr;
        height:auto;
    }

    .imagen-grande img,
    .imagen-mapa iframe{

        height:220px;
    }

}



.facebook-btn{
    background-color: #1877F2;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.facebook-btn:hover{
    background-color: #0f5bd6;
}