.codytit {
margin:10px 0px 10px 0px;
width:100%;
display: grid;
grid-template-columns: 1fr ;
justify-items:center;
align-items:left;
grid-column-gap:0px;
}
 
.titulo_propiedad_box{  font-size:27px; color:#04206D; font-weight: 700;letter-spacing: -1px;  width:100%; height:85px; padding:15px 0px 0px 15px;   }
.texto2cw{padding-left:15px;color:#fff;  font-size:22px; }

.titulo_propiedad_lugar{font-size:18px; letter-spacing: -0.5px;}


@media only screen and (max-width: 618px) {
.codytit {
margin:10px 0px 10px 0px;
width:100%;
display: grid;
grid-template-columns:1fr;
justify-items:center;
align-items:left;
grid-column-gap:0px;
}
.codigoweb {
border-radius: 20px 20px 20px 20px;
width:60%;
margin:0px auto 10px auto;
height:85px;
padding-top:20px;
}
}

 


.preciogrande{ padding:5px 5px 5px 0px ;  font-size:31px; font-weight:500; color:#F00; letter-spacing: -1px;}
@media only screen and (max-width: 1218px) {
.preciogrande{ text-align: center;}
}

@media only screen and (max-width: 618px) {
    .preciogrande{ font-size:32px; letter-spacing: -2px;}
}



.lugar{ padding:0px 5px 5px 0px ;  font-size:38px; color:#04206D; font-weight: 700;letter-spacing: -2px; }

.view_actualizada{ padding:0px 5px 25px 0px ;   font-size:14px; color:#666; }
.texto_general{ }



.compartir{
display: grid;
grid-template-columns: 1fr 350px;
justify-items:center;
align-items:center;
grid-column-gap:0px;
margin-bottom: 0px;
}

.facebook_box { display: grid; align-items:center; width: 100%; color:#FFF; font-size:18px; border-radius: 6px 0px 0px 6px; text-align:center; background-color:#1877F2; padding-top:5px; height:50px;  }

.visitas_contador { width: 100%; color:#FFF; font-size:18px; text-align:center; background-color:#d92000; padding:12px; height:50px;  font-size:14px; display: block; border-radius: 0px 6px 6px 0px; }
@media only screen and (max-width: 518px) {
.compartir{ grid-template-columns: 1fr;}
.facebook_box {border-radius: 15px 15px 0px 0px; font-size: 14px; letter-spacing: -0.7px;}
.visitas_contador { border-radius: 0px 0px 6px 6px;}
}


.view_contador{ color:#fffff;  font-size: 18px; padding-top: 5px; }


.vendedor_titulo{padding:0px 5px 5px 0px ;  font-size:25px; color:#464646;   }
.vendedor{}
.vendedor_box{ width:100%; height:100%; background-color:#ddd; border-radius: 0px 30px 30px 0px; padding-top: 30px;}
@media only screen and (max-width: 618px) {
.vendedor_box{ border-radius: 20px; padding-bottom: 30px;}
}



.tema{ width:100%; border-bottom:2px solid #0A477A; margin-bottom: 10px; font-weight:700; font-size:28px; color: black;}

@media only screen and (max-width: 618px) {
.tema{ font-size:26px; letter-spacing: -1px;}
}


.datos {  display: grid;
grid-template-columns: 1fr 1fr 1fr;
justify-items:center;
align-items:left;
grid-column-gap:0px; }

@media only screen and (max-width: 618px) {
.datos {grid-template-columns:1fr;}
}


.flx{  display: grid;
  grid-template-columns: 40px 1fr;
justify-items:left;
align-items:center;
grid-column-gap:0px; 
    width:100%;
    margin: 8px 0px;
}

.flx2{  display: grid;
  grid-template-columns: 40px 1fr;
justify-items:left;
align-items:center;
grid-column-gap:0px; 
    width:100%;
    margin: 4px 0px;
}

.datosboxes { width: 100%; padding:5px; height:30px;}
@media only screen and (max-width: 618px) {
.datosboxes { width: 100%; padding:5px; height:30px; font-size: 16px;  }
}
.video{ background-color:#F00; width:100%; display:block; }
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.mapa {
height:400px;
width:var(--anchoP);
border:0px;
background-color: #FFFFFF;
}







#ms-gallery-1{
max-width: 800px;
margin:0 auto;
}
 
/* Set the size of the div element that contains the map */
#map {
opacity: 1;
filter: alpha(opacity=100);
filter: grayscale(10%);
height:600px;
width: 100%;
border-radius: 20px;
position: relative;
}


  .zoom-control {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 5;
  }
  .zoom-control button {
    background: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    user-select: none;
  }
  .zoom-control button:hover {
    background-color: #f0f0f0;
  }







.imagen_box_galeria2{
    display:grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 32%);
    gap:20px;
    width:100%;
    align-items:start;
}
@media only screen and (max-width: 618px) {
.imagen_box_galeria2{
display: grid;
grid-template-columns:1fr;
width: 100%;
}
}










  /*-----------
  Galeria
  -----------*/
 








.pitig{display: grid; grid-gap:20px;

}
.itig{display: inline-grid; border-radius:  3px; margin-left: 4px; margin-top: 4px; width: 140px;  background-size: cover; background-position: 50% 50%;}
.himg{opacity: 0; }

@media only screen and (max-width: 618px) {
 
.itig{width: 105px;  }
}




.medibx{display: grid; background-color: #f0f0f0; width: 100%; height: 100%; padding: 20px;}
@media only screen and (max-width: 618px) {
.medibx{display: none;}
}





.reds{ color:#f00; font-size:15px; font-weight:bold; margin-left:5px;  }



.forma {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-o-border-radius: 5px;
-ms-border-radius: 5px;
-khtml-border-radius: 5px;
border-radius: 5px;

margin: 0px 0px 8px 0px;
outline: 0;
padding: 5px 5px 5px 5px;
position: relative;
-webkit-appearance: none;
border: 1px solid #cccccc;
background-color: #FFF;
height: 30px;

} 
.dos25{width: 225px;}
@media only screen and (max-width: 1218px) {
.dos25{width: 90%;}
}



.imagen_pq_box{  width:100%; height:100%;  text-align:center; display: table-column; overflow: auto;}
@media only screen and (max-width: 618px) {
.imagen_pq_box{ display: none; }
}

.imagen_pq_boxbajo{  width:100%; height:100%;  text-align:center; display: none; }
@media only screen and (max-width: 618px) {
.imagen_pq_boxbajo{  width:100%; height:100%;  text-align:center; display: block;  }
}







/* ============================================================
   C26 - GALERÍA DE PROPIEDAD
============================================================ */

.c26_galeria {
    width: 100%;
}


/* IMAGEN PRINCIPAL */

.c26_galeria_principal {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eef1f5;

    border-radius: 14px;
}


.c26_galeria_abrir {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;
    background: none;

    cursor: zoom-in;
}


.c26_galeria_imagen {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}


.c26_galeria_abrir:hover .c26_galeria_imagen {
    transform: scale(1.015);
}


/* ============================================================
   FLECHAS
============================================================ */

.c26_galeria_flecha {
    position: absolute;
    z-index: 5;

    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.92);

    color: #0A266C;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 3px 12px rgba(0,0,0,.16);

    transition:
        background .2s ease,
        transform .2s ease;
}


.c26_galeria_flecha:hover {
    background: #ffffff;
}


.c26_galeria_anterior {
    left: 16px;
}


.c26_galeria_siguiente {
    right: 16px;
}


/* ============================================================
   CONTADOR
============================================================ */

.c26_galeria_contador {
    position: absolute;
    z-index: 5;

    right: 16px;
    bottom: 16px;

    padding: 6px 11px;

    background: rgba(0,0,0,.68);

    border-radius: 20px;

    
    font-size: 12px;
    font-weight: 500;

    color: #ffffff;

    pointer-events: none;
}


/* ============================================================
   BOTÓN VER FOTO
============================================================ */

.c26_galeria_ampliar {
    position: absolute;
    z-index: 5;

    left: 16px;
    bottom: 16px;

    padding: 8px 14px;

    border: 0;
    border-radius: 7px;

    background: rgba(255,255,255,.94);

    
    font-size: 12px;
    font-weight: 600;

    color: #0A266C;

    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}


/* ============================================================
   MINIATURAS
============================================================ */

.c26_galeria_miniaturas {
    display: flex;

    gap: 9px;

    margin-top: 10px;
    padding-bottom: 3px;

    overflow-x: auto;

    scrollbar-width: thin;
}


.c26_galeria_miniatura {
    flex: 0 0 100px;

    width: 100px;
    height: 70px;

    margin: 0;
    padding: 3px;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 8px;

    background: #ffffff;

    cursor: pointer;

    opacity: .72;

    transition:
        opacity .2s ease,
        border-color .2s ease;
}


.c26_galeria_miniatura:hover {
    opacity: 1;
}


.c26_galeria_miniatura.c26_activa {
    border-color: #0A266C;
    opacity: 1;
}


.c26_galeria_miniatura img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 4px;
}


/* ============================================================
   SIN FOTO
============================================================ */

.c26_galeria_sin_foto {
    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #f2f4f7;

    border-radius: 14px;
}


.c26_galeria_sin_foto img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ============================================================
   LIGHTBOX
============================================================ */

.c26_lightbox {
    position: fixed;
    z-index: 99999;

    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 40px 80px;

    background: rgba(5, 12, 25, .94);
}


.c26_lightbox.c26_abierto {
    display: flex;
}


.c26_lightbox_contenido {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}


.c26_lightbox_contenido img {
    display: block;

    max-width: 100%;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 5px;
}


/* CERRAR */

.c26_lightbox_cerrar {
    position: absolute;
    z-index: 10;

    top: 18px;
    right: 25px;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 0;
    background: transparent;

    color: #ffffff;

    font-size: 42px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}


/* FLECHAS LIGHTBOX */

.c26_lightbox_flecha {
    position: absolute;
    z-index: 10;

    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 60px;

    border: 0;
    background: transparent;

    color: #ffffff;

    font-size: 42px;

    cursor: pointer;

    opacity: .8;
}


.c26_lightbox_flecha:hover {
    opacity: 1;
}


.c26_lightbox_anterior {
    left: 18px;
}


.c26_lightbox_siguiente {
    right: 18px;
}


/* CONTADOR LIGHTBOX */

.c26_lightbox_contador {
    position: absolute;

    bottom: 10px;
    left: 50%;

    transform: translateX(-50%);

    padding: 6px 12px;

    background: rgba(0,0,0,.5);

    border-radius: 20px;

    
    font-size: 13px;

    color: #ffffff;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 700px) {

    .c26_galeria_principal {
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

    .c26_galeria_flecha {
        width: 38px;
        height: 38px;

        font-size: 21px;
    }

    .c26_galeria_anterior {
        left: 9px;
    }

    .c26_galeria_siguiente {
        right: 9px;
    }

    .c26_galeria_miniatura {
        flex-basis: 82px;

        width: 82px;
        height: 58px;
    }

    .c26_lightbox {
        padding: 55px 12px;
    }

    .c26_lightbox_anterior {
        left: 5px;
    }

    .c26_lightbox_siguiente {
        right: 5px;
    }

    .c26_lightbox_flecha {
        width: 42px;
    }

}


/* ============================================================
   C26 - UBICACIÓN DE LA PROPIEDAD
============================================================ */

.c26_ubicacion_resumen {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    width: 100%;

    margin: 10px 0 22px;
}


.c26_ubicacion_pin {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    flex: 0 0 32px;

    padding-top: 2px;
}


.c26_ubicacion_pin img {
    display: block;

    width: 30px;
    height: 30px;

    object-fit: contain;
}


.c26_ubicacion_datos {
    min-width: 0;
}


.c26_ubicacion_principal {
    margin-bottom: 2px;

    color: #0A266C;

    
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}


.c26_ubicacion_detalle {
    margin-bottom: 3px;

    color: #5f6979;

    
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}


.c26_ubicacion_mapa {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 2px;

    color: #0787e8;

    
    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}


.c26_ubicacion_mapa:hover {
    text-decoration: underline;
}


.c26_ubicacion_mapa span {
    font-size: 18px;
    line-height: 1;
}


@media (max-width: 600px) {

    .c26_ubicacion_principal {
        font-size: 15px;
    }

    .c26_ubicacion_pin img {
        width: 27px;
        height: 27px;
    }

}

/* ============================================================
   CASAS.CO.CR 2026 - RESUMEN / DESCRIPCIÓN / AMENIDADES
============================================================ */

.c26_resumen_propiedad{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    margin:0 0 28px;
    border-top:1px solid #e8edf3;
    border-bottom:1px solid #e8edf3;
    background:#fff;
}
.c26_resumen_item{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:0;
    min-height:72px;
    padding:10px 12px;
    border-right:1px solid #e8edf3;
}
.c26_resumen_item:last-child{border-right:0}
.c26_resumen_item img{flex:0 0 28px;object-fit:contain}
.c26_resumen_item strong{
    display:block;
    overflow:hidden;
    color:#0A266C;
    font-size:14px;
    line-height:1.2;
    font-weight:700;
    text-overflow:ellipsis;
}
.c26_resumen_item span{
    display:block;
    margin-top:3px;
    color:#687488;
    font-size:12px;
    line-height:1.2;
}

.c26_contenido_caja{
    margin-bottom:20px;
    padding:22px 24px;
    background:#fff;
    border:1px solid #e8edf3;
    border-radius:10px;
    box-shadow:0 5px 18px rgba(10,38,108,.025);
}
.c26_titulo_seccion{
    position:relative;
    margin:0 0 18px;
    padding-left:16px;
    color:#0A266C;
    font-family:'Poppins',sans-serif;
    font-size:20px;
    line-height:1.25;
    font-weight:700;
}
.c26_titulo_seccion::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    width:5px;
    border-radius:3px;
    background:#ff1834;
}

.c26_descripcion_texto{
    position:relative;
    max-height:500px;
    overflow:hidden;
    color:#536176;
    font-family:'Poppins',sans-serif;
    
    line-height:1.35;
}
.c26_descripcion_texto.c26_abierta{max-height:none}
.c26_descripcion_texto p{margin:0 0 11px;}
.c26_descripcion_boton{
    width: 100%;
    text-align: center;
    justify-items: center;
    display:grid;
    align-items:center;
    gap:12px;
    min-height:38px;
    margin-top:12px;
    padding:0 14px;
    border:1px solid #d5deea;
    border-radius:7px;
    background:#fff;
    color:#0A266C;
    font-family:'Poppins',sans-serif;
    font-size:11px;
    font-weight:700;
    cursor:pointer;
}
.c26_descripcion_boton:hover{
     
    background:#f00;
    color:#fff; 
}



.c26_descripcion_boton span{font-size:16px;transition:transform .2s ease}
.c26_descripcion_boton[aria-expanded="true"] span{transform:rotate(180deg)}

.c26_amenidades_grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:38px;
    row-gap:11px;
}
.c26_amenidad{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    color:#536176;
    font-family:'Poppins',sans-serif;
    font-size:15px;
    line-height:1.35;
}
.c26_amenidad_check{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 18px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#079654;
    color:#fff;
    font-size:11px;
    font-weight:800;
}

@media(max-width:900px){
    .c26_resumen_propiedad{grid-template-columns:repeat(3,1fr)}
    .c26_resumen_item:nth-child(3){border-right:0}
    .c26_resumen_item:nth-child(-n+3){border-bottom:1px solid #e8edf3}
    .c26_amenidades_grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
    .c26_resumen_propiedad{grid-template-columns:repeat(2,1fr)}
    .c26_resumen_item{justify-content:flex-start}
    .c26_resumen_item:nth-child(3){border-right:1px solid #e8edf3}
    .c26_resumen_item:nth-child(even){border-right:0}
    .c26_resumen_item:nth-child(-n+4){border-bottom:1px solid #e8edf3}
    .c26_contenido_caja{padding:18px 16px}
    .c26_titulo_seccion{font-size:18px}
    .c26_amenidades_grid{grid-template-columns:1fr}
}


/* ============================================================
   C26 - FINANCIAMIENTO
============================================================ */

.c26_financiamiento {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;

    gap: 16px;

    width: 100%;

    margin: 0px 0;
    padding: 0px 0px 10px 0px;
    border-bottom: 1px solid RGBA(0, 0, 0, 0.15);

    
}
.c26_financiamiento_box {
    
     
   

    width: 100%;

    margin: 20px 0;
    padding: 17px 18px;

    background: #ffffff;

    border: 1px solid #e8edf3;
    border-radius: 10px;

    box-shadow: 0 5px 18px rgba(10, 38, 108, .025);
}

/* ICONO */

.c26_financiamiento_icono {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    background: #f0f4f7;

    border-radius: 9px;
}


.c26_financiamiento_icono span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;

    border: 3px solid #ffb400;
    border-radius: 50%;

    color: #ffb400;

    font-size: 21px;
    font-weight: 800;
}


/* TEXTO */

.c26_financiamiento_info {
    min-width: 0;
}


.c26_financiamiento_info h3 {
    margin: 0 0 5px;

    color: #0A266C;

    
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}


.c26_financiamiento_info p {
    max-width: 520px;

    margin: 0;

    color: #536176;

    
    font-size: 11px;
    line-height: 1.55;
    font-weight: 400;
}


/* BOTÓN */

.c26_financiamiento_accion {
    display: flex;
    justify-content: flex-end;
}


.c26_financiamiento_boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 42px;

    padding: 0 17px;

    background: #ffffff;

    border: 1px solid #ccd8e7;
    border-radius: 7px;

    color: #0A266C;

    
    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        border-color .2s ease,
        background .2s ease;
}


.c26_financiamiento_boton:hover {
    background: #f6f8fb;
    border-color: #0A266C;

    text-decoration: none;
}


.c26_financiamiento_banco {
    font-size: 18px;
    line-height: 1;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 650px) {

    .c26_financiamiento {
        grid-template-columns: 52px 1fr;

        gap: 12px;

        padding: 15px;
    }


    .c26_financiamiento_icono {
        width: 52px;
        height: 52px;
    }


    .c26_financiamiento_icono span {
        width: 32px;
        height: 32px;

        font-size: 18px;
    }


    .c26_financiamiento_accion {
        grid-column: 1 / -1;

        justify-content: stretch;
    }


    .c26_financiamiento_boton {
        width: 100%;
    }

}

/* ============================================================
   C26 - INFORMACIÓN ADICIONAL
============================================================ */

.c26_info_adicional {
    width: 100%;

    padding: 16px 14px 12px;

    background: #ffffff;

    border: 1px solid #e8edf3;
    border-radius: 10px;

    box-shadow: 0 5px 18px rgba(10, 38, 108, .025);
}


/* TÍTULO */

.c26_info_titulo {
    position: relative;

    margin: 0 0 12px;
    padding-left: 15px;

    color: #0A266C;

    
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}


.c26_info_titulo::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 5px;

    background: #ff1834;

    border-radius: 3px;
}


/* FILAS */

.c26_info_fila {
    display: grid;

    grid-template-columns: 30px minmax(120px, 1fr) minmax(90px, 1fr);

    align-items: flex-start;

    min-height: 43px;

    padding: 5px 8px;
text-align: left;
    border-top: 1px solid #edf0f4;
}


.c26_info_icono {
    display: flex;

    align-items: center;
    justify-content: flex-start;
}


.c26_info_icono img {
    display: block;

    width: 20px;
    height: 20px;

    object-fit: contain;
}


.c26_info_nombre {
    padding-right: 8px;

    color: #5b6678;

    
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
}


.c26_info_valor {
    color: #536176;

   
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 500px) {

    .c26_info_adicional {
        padding: 15px 12px 10px;
    }


    .c26_info_fila {
        grid-template-columns: 28px 1fr auto;

        padding-left: 3px;
        padding-right: 3px;
    }


    .c26_info_nombre,
    .c26_info_valor {
        font-size: 10px;
    }

}

/* ============================================================
   C26 - PROPIEDADES RELACIONADAS
============================================================ */

.c26_relacionadas {
    margin-top: 32px;
    padding: 20px 14px;

    background: #ffffff;

    border: 1px solid #e8edf3;
    border-radius: 10px;
}


/* CABECERA */

.c26_relacionadas_cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;
}


.c26_relacionadas_cabecera .c26_titulo_seccion {
    margin-bottom: 0;
}


.c26_relacionadas_mas {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #0787e8;

    
    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;
}


.c26_relacionadas_mas span {
    font-size: 17px;
}


.c26_relacionadas_mas:hover {
    text-decoration: underline;
}


/* GRID */

.c26_relacionadas_grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 15px;
}


/* TARJETA */

.c26_relacionada_card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4e9f0;
    border-radius: 9px;

    box-shadow: 0 4px 14px rgba(10, 38, 108, .07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.c26_relacionada_card:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(10, 38, 108, .12);
}


/* IMAGEN */

.c26_relacionada_imagen {
    position: relative;

    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #eef1f5;
}


.c26_relacionada_imagen img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}


.c26_relacionada_card:hover
.c26_relacionada_imagen img {

    transform: scale(1.03);
}


/* MARCA */

.c26_relacionada_marca {
    position: absolute;

    top: 9px;
    left: 9px;

    max-width: calc(100% - 55px);

    padding: 5px 10px;

    background: #ff1834;

    border-radius: 15px;

    color: #ffffff;

    
    font-size: 9px;
    line-height: 1;
    font-weight: 600;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* FAVORITO */

.c26_relacionada_favorito {
    position: absolute;

    top: 7px;
    right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #ffffff;

    font-size: 26px;
    line-height: 1;

    text-shadow: 0 1px 4px rgba(0,0,0,.55);
}


/* INFORMACIÓN */

.c26_relacionada_info {
    padding: 10px 11px 12px;
}


.c26_relacionada_info h3 {
    margin: 0 0 4px;

    
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}


.c26_relacionada_info h3 a {
    color: #0A266C;

    text-decoration: none;
}


.c26_relacionada_ubicacion {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 8px;

    color: #687488;

    
    font-size: 9px;
}


.c26_relacionada_ubicacion span {
    color: #0A266C;

    font-size: 8px;
}


/* PRECIO */

.c26_relacionada_precio {
    margin-bottom: 9px;

    color: #ff1834;

    
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}


.c26_relacionada_precio small {
    color: #687488;

    font-size: 9px;
    font-weight: 500;
}


/* BOTÓN */

.c26_relacionada_boton {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 34px;

    border: 1px solid #ff1834;
    border-radius: 6px;

    color: #ff1834;

    
    font-size: 10px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}


.c26_relacionada_boton:hover {
    background: #ff1834;

    color: #ffffff;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 950px) {

    .c26_relacionadas_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 520px) {

    .c26_relacionadas {
        padding: 16px 12px;
    }


    .c26_relacionadas_cabecera {
        align-items: flex-start;
    }


    .c26_relacionadas_grid {
        grid-template-columns: 1fr;
    }


    .c26_relacionada_imagen {
        aspect-ratio: 16 / 8;
    }

}

/* ============================================================
   CASAS.CO.CR 2026 - LATERAL DERECHO
============================================================ */
.c26_lateral{width:100%;font-family:'Poppins',sans-serif;color:#0A266C}
.c26_lateral_superior,.c26_lateral_vendedor,.c26_lateral_contacto,.c26_lateral_herramientas,.c26_lateral_visitas{background:#fff;border:1px solid #e7ebf1;border-radius:10px}
.c26_lateral_superior{padding:12px 12px 9px;margin-bottom:8px}
.c26_lateral_fila_top{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
    align-items:center;
}
.c26_lateral_codigo{display:flex;align-items:center;gap:7px;min-height:38px;padding:0 11px;background:#f2f5f8;border-radius:7px;font-size:12px;font-weight:600;color:#5d697c}
.c26_lateral_codigo strong{color:#0A266C;font-weight:800}
.c26_lateral_codigo_icono{font-size:17px;color:#526d9d}
.c26_lateral_estado{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 10px;border-radius:7px;background:#ff1834;color:#fff;font-size:12px;font-weight:700}
.c26_lateral_estado_alquiler{background:#0A266C}
.c26_lateral_precio{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;padding:11px 5px 3px;color:#F95200}
.c26_lateral_precio span{font-size:40px;font-weight:800}
.c26_lateral_precio strong{font-size:40px;line-height:1;font-weight:800;letter-spacing:-1px}
.c26_lateral_precio small{font-size:12px;font-weight:600;color:#687488}
.c26_lateral_iva{padding:3px 5px;font-size:10px;color:#7b8492}

.c26_lateral_vendedor{padding:13px;margin-bottom:8px;background:#f8fafc}
.c26_lateral_vendedor_info{display:flex;align-items:center;gap:10px;margin-bottom:11px}
.c26_lateral_usuario{display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;flex:0 0 38px;border-radius:8px;background:#fff;color:#0A266C;font-size:22px}
.c26_lateral_vendedor_info span{display:block;font-size:13px;font-weight:600;color:#526174; text-align: left;}
.c26_lateral_vendedor_info strong{display:block;margin-top:1px;font-size:20px;line-height:1.25;color:#0A266C; font-weight: 700}
.c26_lateral_whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;margin-bottom:8px;
    border-radius:7px;background:#052679;color:#fff!important;text-decoration:none;font-size:22px;font-weight:700}
.c26_lateral_whatsapp span{font-size:21px}
.c26_lateral_acciones_contacto{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.c26_lateral_mensaje,.c26_lateral_telefono{display:flex;align-items:center;justify-content:center;min-height:40px;padding:7px;border-radius:7px;text-decoration:none!important;font-size:11px;font-weight:700}
.c26_lateral_mensaje{background:#ff1834;color:#fff!important}
.c26_lateral_telefono{background:#fff;border:1px solid #0A266C;color:#0A266C!important}

.c26_lateral_contacto{position:relative;padding:15px;margin-bottom:8px;border-color:#ffd9dd}
.c26_lateral_contacto h2{position:relative;margin:0 0 5px;padding-left:12px;font-size:18px;line-height:1.25;font-weight:700;color:#0A266C; letter-spacing: -0.9px;}
.c26_lateral_contacto h2:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:3px;background:#ff1834}
.c26_lateral_contacto>p{margin:0 0 12px;font-size:15px;line-height:1.45;color:#536176}
.c26_lateral_contacto label{display:block;margin-bottom:8px;font-size:11px;font-weight:600;color:#0A266C}
.c26_lateral_contacto label b{color:#ff1834}
.c26_lateral_contacto input[type=text],.c26_lateral_contacto input[type=email],.c26_lateral_contacto input[type=tel],.c26_lateral_contacto input[type=number],.c26_lateral_contacto textarea{box-sizing:border-box;width:100%;margin-top:4px;border:1px solid #d5dde8;border-radius:6px;background:#fff;outline:none;font:400 14px 'Poppins',sans-serif;color:#2f3c50}
.c26_lateral_contacto input[type=text],.c26_lateral_contacto input[type=email],.c26_lateral_contacto input[type=tel]{height:38px;padding:0 10px}
.c26_lateral_contacto textarea{min-height:72px;padding:9px 10px;resize:vertical}
.c26_lateral_contacto input:focus,.c26_lateral_contacto textarea:focus{border-color:#0A266C;box-shadow:0 0 0 3px rgba(10,38,108,.07)}
.c26_lateral_validacion{display:grid;grid-template-columns:1fr 110px;gap:8px;align-items:center;margin-bottom:10px;font-size:16px;
    color:#5c687a; text-align: right;  justify-items: right;}
.c26_lateral_validacion input[type=number]{height:34px;margin:0;padding:0 7px;text-align:left; border: 1px solid #052679;}
.c26_lateral_enviar{width:100%;min-height:42px;border:0;border-radius:7px;background:#ff1834;color:#fff;font:700 11px 'Poppins',sans-serif;cursor:pointer}
.c26_lateral_exito{padding:14px;border-radius:7px;background:#edf9f2;color:#08743e;font-size:12px;line-height:1.5}

.c26_lateral_herramientas{padding:4px 12px;margin-bottom:8px}
.c26_lateral_herramientas a,.c26_lateral_herramientas button{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:7px 3px;border:0;border-bottom:1px solid #edf0f4;background:transparent;color:#0A266C;text-align:left;text-decoration:none;font:500 11px 'Poppins',sans-serif;cursor:pointer}
.c26_lateral_herramientas>*:last-child{border-bottom:0}
.c26_lateral_herramientas a,.c26_lateral_herramientas button{font-size:17px}
.c26_lateral_herramientas span{font-size:11px}

.c26_lateral_visitas{display:flex;align-items:center;justify-content:center;gap:5px;min-height:48px;padding:8px 12px;background:#f5f8fa;font-size:10px;color:#0A266C}
.c26_lateral_visitas>span{margin-right:5px;font-size:16px}
.c26_lateral_visitas strong{font-weight:800}

@media(max-width:700px){
 .c26_lateral_fila_top{grid-template-columns:1fr auto}
 .c26_lateral_acciones_contacto{grid-template-columns:1fr 1fr}
}

 
.c26_red_codigo{
width: 100%; 
    border-radius: 10px;
background-color: rgba(3, 34, 115, 0.1);
border:1px solid rgba(3, 34, 115, 0.2);
color: red; 
margin:0 auto 20px auto;
font-size: 35px;
font-weight: 700; 
padding: 20px 0px 10px 0px; line-height: 1;}

.c26_red_codigo div{color:#0A1F66;font-size: 15px;}

/* ============================================================
   C26 - AJUSTES RESPONSIVE CONSOLIDADOS 2026-09-29
   Corrige desbordes de galería, lateral, títulos, mapa y video.
============================================================ */

/* Evita que padding/border aumenten el ancho real de los bloques */
.tabla_mainS3,
.tabla_mainS3 *,
.tabla_mainS3 *::before,
.tabla_mainS3 *::after {
    box-sizing: border-box;
}

/* Contenedor principal: nunca debe exceder el viewport */
.tabla_mainS3 {
    width: min(100%, 1400px);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(12px, 2vw, 28px);
    padding-right: clamp(12px, 2vw, 28px);
    overflow: visible;
}

.codytit,
.titulo_propiedad_box,
.imagen_grande,
.imagen_pq_box,
.c26_galeria,
.c26_lateral {
    min-width: 0;
    max-width: 100%;
}

.titulo_propiedad_box {
    height: auto;
    min-height: 85px;
    overflow-wrap: anywhere;
}

/* Desktop: galería flexible + lateral estable, sin forzar 400px */
.imagen_box_galeria2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: clamp(16px, 2vw, 24px);
    width: 100%;
    min-width: 0;
    align-items: start;
}

.imagen_grande,
.imagen_pq_box {
    width: 100%;
    min-width: 0;
}

/* El lateral no debe usar table-column ni crear scroll horizontal */
.imagen_pq_box {
    display: block;
    height: auto;
    overflow: visible;
}

/* Galería */
.c26_galeria_principal,
.c26_galeria_sin_foto {
    width: 100%;
    max-width: 100%;
}

.c26_galeria_imagen,
.c26_galeria_sin_foto img {
    max-width: 100%;
}

.c26_galeria_miniaturas {
    max-width: 100%;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

/* Compartir: evita la columna rígida de 350px */
.compartir {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 350px);
    width: 100%;
}

/* Video y mapas completamente fluidos */
.videoWrapper {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
}

.videoWrapper iframe,
.mapa,
#map {
    width: 100% !important;
    max-width: 100% !important;
}

.mapa {
    display: block;
}

/* Textos grandes que antes podían empujar el layout */
.lugar,
.c26_lateral_precio,
.c26_lateral_precio strong,
.c26_lateral_precio span,
.c26_red_codigo,
.c26_lateral_vendedor_info strong {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* TABLET: el lateral pasa debajo de la galería antes de quedar apretado */
@media (max-width: 1100px) {
    .imagen_box_galeria2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .imagen_pq_box {
        display: block;
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }

    .c26_lateral {
        margin-top: 4px;
    }

    .c26_lateral_precio {
        justify-content: center;
        text-align: center;
    }
}

/* TABLET PEQUEÑA */
@media (max-width: 760px) {
    .tabla_mainS3 {
        padding-left: 12px;
        padding-right: 12px;
    }

    .titulo_propiedad_box {
        min-height: 0;
        padding: 10px 0 8px;
        font-size: clamp(21px, 5vw, 27px);
        line-height: 1.18;
        letter-spacing: -0.5px;
    }

    .titulo_propiedad_lugar {
        margin-top: 5px;
        font-size: 15px;
        line-height: 1.35;
    }

    .c26_galeria_principal,
    .c26_galeria_sin_foto {
        aspect-ratio: 4 / 3;
    }

    .compartir {
        grid-template-columns: 1fr;
    }

    .facebook_box {
        border-radius: 12px 12px 0 0;
    }

    .visitas_contador {
        height: auto;
        min-height: 50px;
        border-radius: 0 0 12px 12px;
    }

    .lugar {
        font-size: clamp(25px, 7vw, 34px);
        line-height: 1.08;
        letter-spacing: -1px;
    }

    #map {
        height: 420px;
        border-radius: 12px;
    }

    .mapa {
        height: 360px;
    }

    .c26_lateral_precio span,
    .c26_lateral_precio strong {
        font-size: clamp(29px, 8vw, 40px);
    }

    .c26_red_codigo {
        font-size: clamp(27px, 8vw, 35px);
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* MÓVIL */
@media (max-width: 560px) {
    .tabla_mainS3 {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Importante: anula la regla antigua que ocultaba el lateral <=618px */
    .imagen_pq_box {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .imagen_box_galeria2 {
        gap: 14px;
    }

    .c26_galeria_principal,
    .c26_galeria_sin_foto {
        aspect-ratio: 4 / 3;
        border-radius: 9px;
    }

    .c26_galeria_ampliar {
        left: 10px;
        bottom: 10px;
        padding: 7px 10px;
        font-size: 11px;
    }

    .c26_galeria_contador {
        right: 10px;
        bottom: 10px;
    }

    .c26_galeria_miniatura {
        flex: 0 0 76px;
        width: 76px;
        height: 54px;
    }

    .c26_lightbox {
        padding: 52px 8px 42px;
    }

    .c26_lightbox_cerrar {
        top: 7px;
        right: 8px;
        width: 42px;
        height: 42px;
    }

    .c26_lateral_superior,
    .c26_lateral_vendedor,
    .c26_lateral_contacto,
    .c26_lateral_herramientas,
    .c26_lateral_visitas {
        border-radius: 8px;
    }

    .c26_lateral_fila_top,
    .c26_lateral_acciones_contacto,
    .c26_lateral_validacion {
        grid-template-columns: 1fr;
    }

    .c26_lateral_validacion {
        justify-items: stretch;
        text-align: left;
    }

    .c26_lateral_validacion input[type=number] {
        width: 100%;
        text-align: left;
    }

    .c26_lateral_whatsapp {
        font-size: 18px;
    }

    .c26_resumen_propiedad {
        grid-template-columns: 1fr 1fr;
    }

    .c26_resumen_item {
        min-width: 0;
        padding: 9px 8px;
    }

    .c26_resumen_item strong,
    .c26_resumen_item span {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    #map {
        height: 340px;
    }

    .mapa {
        height: 320px;
    }
}

@media (max-width: 380px) {
    .c26_resumen_propiedad {
        grid-template-columns: 1fr;
    }

    .c26_resumen_item,
    .c26_resumen_item:nth-child(n) {
        border-right: 0;
        border-bottom: 1px solid #e8edf3;
    }

    .c26_resumen_item:last-child {
        border-bottom: 0;
    }
}
