.gz-resultados-grid{
    max-width:1200px;
    margin:auto;
}

.gz-card{
    display:flex;
    gap:24px;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    margin-bottom:24px;
    box-shadow:
        0 1px 2px rgba(0,0,0,.05),
        0 8px 24px rgba(0,0,0,.06);
    transition:.25s;
    border:1px solid #f0f0f0;
}

.gz-card:hover{
    transform:translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0,0,0,.12);
}

.gz-card-img{
    width:360px;
    flex-shrink:0;
}

.gz-card-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.gz-card-content{
    padding:24px;
    flex:1;
}

.gz-card-content h2{
    margin:0 0 10px;
    font-size:24px;
}

.gz-card-content p{
    color:#555;
    line-height:1.6;
}

/*Boton*/

.gz-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:15px;
    padding:12px 20px;
    background:#0057ff;
    color:#fff;
    text-decoration:none;
    border-radius:12px;
    font-weight:600;
}

.gz-btn:hover{
    opacity:.9;
}

/* =========================
   LAYOUT RESULTADOS + MAPA
========================= */

.gz-layout{
    display:grid;
    grid-template-columns:55% 45%;
    gap:24px;
    max-width:1600px;
    margin:auto;
}

.gz-mapa-container{
    position:sticky;
    top:20px;
    height:calc(100vh - 40px);
}

#gz-mapa{
    width:100%;
    height:100%;
    min-height:700px;
    border-radius:20px;
    overflow:hidden;
}

@media(max-width:1024px){

    .gz-layout{
        grid-template-columns:1fr;
    }

    .gz-mapa-container{
        position:relative;
        height:500px;
        top:auto;
    }

}

@media(max-width:768px){

    .gz-card{
        flex-direction:column;
    }

    .gz-card-img{
        width:100%;
    }

}

/*Estilo aubicacion y referencia */

.gz-ubicacion{
    margin:10px 0;
    font-size:15px;
    color:#444;
    font-weight:600;
}

.gz-referencia{
    margin-bottom:15px;
    color:#777;
    font-size:14px;
}

.gz-card-content h2{
    font-size:26px;
    line-height:1.2;
}

.gz-popup{
    min-width:220px;
}

.gz-popup h3{
    margin:0 0 10px;
    font-size:16px;
    line-height:1.3;
}

.gz-popup p{
    margin:0 0 12px;
    color:#666;
    font-size:13px;
}

.gz-popup a{
    color:#0057ff;
    font-weight:600;
    text-decoration:none;
}

.gz-header-resultados{
    margin-bottom:25px;
}

.gz-total-resultados{
    color:#666;
    font-size:15px;
    margin-top:8px;
}

.gz-card-active{
    transform:scale(1.02);
    box-shadow:
        0 0 0 3px #6F3DFF,
        0 0 25px rgba(111,61,255,.25),
        0 20px 40px rgba(0,0,0,.12);
    transition:.3s;
}



.gz-aviso-ubicacion{
    background:#f5f1ff;
    border-left:4px solid #6F3DFF;
    border-radius:14px;
    padding:18px 22px;
    margin:20px 0 30px;
}

.gz-aviso-ubicacion strong{
    display:block;
    color:#6F3DFF;
    font-size:18px;
    margin-bottom:6px;
}

.gz-aviso-ubicacion p{
    margin:0;
    color:#555;
    line-height:1.5;
}

.gz-total-resultados{
    font-size:20px;
    margin:10px 0 25px;
    color:#444;
}

.gz-total-resultados small{
    display:block;
    margin-top:6px;
    color:#6F3DFF;
    font-weight:600;
}

/* =========================
   BUSCADOR EN RESULTADOS
========================= */

.gz-search-resultados{
    background:#fff;
    padding:10px;
    border-radius:999px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

    width:fit-content;

    margin:0 auto 25px;
}


.gz-search-resultados .gz-home-search-grid{
    grid-template-columns:260px 260px 70px;
    gap:10px;
}

.gz-search-resultados .gz-home-search input{
    height:60px;
    font-size:15px;
    border:none;
    border-radius:999px;
    box-shadow:none;
    background:#fafafa;
}

.gz-search-resultados .gz-home-search button{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#6F3DFF;
    font-size:22px;
    font-weight:600;
}

/* móvil */

@media(max-width:768px){

    .gz-search-resultados{
        border-radius:24px;
        padding:10px;
    }

    .gz-search-resultados .gz-home-search-grid{
        grid-template-columns:1fr;
    }

    .gz-search-resultados .gz-home-search input,
    .gz-search-resultados .gz-home-search button{
        height:54px;
    }

}

.gz-filtros-barra{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin:25px 0;
}

.gz-filtro-btn{
    height:48px;
    padding:0 22px;
    border:1px solid #E5E7EB;
    border-radius:999px;
    background:#fff;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    color:#5B21B6;
    transition:all .2s ease;
}

.gz-filtro-btn:hover{
    border-color:#7C3AED;
    background:#F5F3FF;
    color:#5B21B6;
    box-shadow:0 4px 12px rgba(124,58,237,.15);
}

.gz-filtro-btn,
.gz-filtro-btn:hover,
.gz-filtro-btn:focus,
.gz-filtro-btn:active{
    color:#5B21B6 !important;
}

.gz-filtro-btn:focus{
    background:#F5F3FF !important;
    border-color:#7C3AED !important;
    outline:none !important;
}

.gz-filtro-btn:active{
    background:#7C3AED !important;
    color:#ffffff !important;
    border-color:#7C3AED !important;
}


.gz-panel-categorias{
    position:absolute;
    top:65px;
    left:0;
    width:420px;
    max-height:500px;
    overflow:auto;
    background:#fff;
    border-radius:20px;
    box-shadow:0 20px 60px rgba(0,0,0,.15);
    padding:20px;
    z-index:999;
}

.gz-panel-header{
    margin-bottom:15px;
}

.gz-panel-body{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
}

.gz-cat-item{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    cursor:pointer;
}

.gz-aplicar{
    width:100%;
    margin-top:15px;
    height:44px;
    border:none;
    border-radius:12px;
    background:#6F3DFF;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

.gz-filtros-barra{
    position:relative;
}

.gz-panel-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.gz-panel-close{
    cursor:pointer;
    font-size:18px;
    font-weight:700;
    color:#777;
}

.gz-panel-close:hover{
    color:#6F3DFF;
}
