/* ============================================================
   CASAS.CO.CR
   RESULTADOS DE PROPIEDADES 2026
============================================================ */

.c26-resultados,
.c26-resultados * {
    box-sizing: border-box;
}


.c26-resultados {
    width: 100%;
    max-width: 100%;

    margin: 30px auto 80px auto;

  

    color: #0A266C;

    text-align: left;
}


/* ============================================================
   ENCABEZADO
============================================================ */

.c26-resultados-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 16px;
}


.c26-resultados-titulo {
    margin: 0 !important;

    padding: 0;

    font-family: 'Poppins', Arial, sans-serif;

    font-size: 30px;
    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -1px;

    color: #294361;
}


.c26-resultados-linea {
    width: 65px;
    height: 3px;

    margin-top: 8px;

    border-radius: 20px;

    background: #0879bd;
}


.c26-resultados-total {
    padding-bottom: 4px;

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

    color: #176298;
}


/* ============================================================
   LISTADO
============================================================ */

.c26-listado {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


/* ============================================================
   TARJETA
============================================================ */

.c26-propiedad {
    position: relative;

    width: 100%;

    display: grid;

    grid-template-columns:
        400px
        minmax(0, 1fr)
        280px;

    min-height: 240px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dce6ee;

    border-radius: 14px;

    box-shadow:
        0 4px 15px
        rgba(11, 42, 71, .07);

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


.c26-propiedad:hover {
    transform: translateY(-1px);

    border-color: #cadce8;

    box-shadow:
        0 8px 22px
        rgba(11, 42, 71, .11);
}


/* ============================================================
   IMAGEN
============================================================ */

.c26-propiedad-imagen {
    position: relative;

    display: block;

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

    overflow: hidden;

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    text-decoration: none !important;
}


/* SOMBRA INFERIOR */

.c26-propiedad-imagen::after {
    content: "";

    position: absolute;

    z-index: 1;

    left: 0;
    right: 0;
    bottom: 0;

    height: 75px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.28),
            rgba(0,0,0,0)
        );

    pointer-events: none;
}


/* ============================================================
   CÓDIGO WEB
============================================================ */

.c26-codigo {
    position: absolute;

    z-index: 3;

    top: 13px;
    left: 14px;

    padding: 7px 11px;

    border-radius: 7px;

    background: #164c6c;

    color: #ffffff;

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

    font-weight: 400;

    white-space: nowrap;

    box-shadow:
        0 3px 9px
        rgba(0,0,0,.18);
}


.c26-codigo strong {
    font-weight: 700;
}


/* ============================================================
   TIPO DE PROPIEDAD
============================================================ */

.c26-tipo {
    position: absolute;

    z-index: 3;

    left: 14px;
    bottom: 14px;

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

    padding: 7px 13px;

    border-radius: 7px;

    background: #087dbd;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.1;

    font-weight: 600;

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


/* ============================================================
   COLUMNA INFORMACIÓN

   IMPORTANTE:
   NO tiene padding.
   Esto permite que el cintillo llegue de lado a lado.
============================================================ */

.c26-propiedad-info {
    min-width: 0;

    display: flex;

    flex-direction: column;

    background: #ffffff;
}


/* ============================================================
   CONTENIDO INTERNO
============================================================ */

.c26-info-contenido {
    flex: 1;

    padding:
        17px
        22px
        10px
        22px;
}


/* ============================================================
   TÍTULO
============================================================ */

.c26-propiedad-titulo {
    margin: 0 0 3px 0 !important;

    padding: 0;

    font-family: 'Poppins', Arial, sans-serif;

    font-size: 20px;

    line-height: 1.22;

    font-weight: 700;

    letter-spacing: -.35px;

    color: #082d78;
}


.c26-propiedad-titulo a {
    color: inherit;

    text-decoration: none !important;
}


.c26-propiedad-titulo a:hover {
    color: #087dbd;
}


/* ============================================================
   UBICACIÓN
============================================================ */

.c26-ubicacion {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 8px;

    color: #687c91;

    font-size: 16px;

    line-height: 1.25;

    font-weight: 400;
}


.c26-pin {
    display: inline-flex;

    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    color: #087dbd;
}


.c26-pin svg {
    width: 100%;
    height: 100%;
}


/* ============================================================
   DESCRIPCIÓN
============================================================ */

.c26-descripcion {
    max-width: 100%;

    margin-bottom: 12px;

    color: #64788e;

    font-size: 16px;

    line-height: 1.42;

    font-weight: 400;

    text-align: left;
}


/* ============================================================
   MEDIDAS
============================================================ */

.c26-medidas {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px 28px;

    color: #60758c;

    font-size: 14px;
}


.c26-medida {
    display: flex;

    align-items: center;

    gap: 7px;
}


.c26-medida strong {
    color: #274765;

    font-weight: 700;
}


.c26-medida-icono {
    display: flex;

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

    width: 19px;

    color: #087dbd;

    font-size: 17px;

    font-weight: 600;
}


/* ============================================================
   CINTILLO

   Ocupa TODO el ancho de la columna central.
   Siempre queda pegado abajo.
============================================================ */

.c26-cintillo-marca {
    width: 100%;

    flex: 0 0 auto;

    margin: 0;

    padding: 15px 15px;

    border: 0;

    border-radius: 0;

    font-size: 15px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: .2px;

    text-align: center;

    text-transform: uppercase;

    color: #ffffff;

    background: #607080;
}


/* ============================================================
   COLORES DE MARCAS
============================================================ */

/* ============================================================
   COLORES CINTILLOS - MARCAS CASAS.CO.CR
============================================================ */

/* FINANCIAMIENTO */
.c26-cintillo-financiamiento {
    background: linear-gradient(220deg, #DC0003 0%, #740001 100%);
    color: #ffffff;
}


/* URGE VENDER */
.c26-cintillo-urge_vender {
    background: linear-gradient(220deg, #ff0000 0%, #6C0000 100%);
    color: #ffffff;
}


/* OPORTUNIDAD */
.c26-cintillo-oportunidad {
    background: linear-gradient(220deg, #03626E 0%, #00363E 100%);
    color: #ffffff;
}


/* ESCUCHO OFERTA */
.c26-cintillo-escucho_oferta {
    background: linear-gradient(220deg, #127200 0%, #0B4900 100%);
    color: #ffffff;
}


/* APROVECHE */
.c26-cintillo-aproveche {
    background: linear-gradient(220deg, #D89A00 0%, #906700 100%);
    color: #ffffff;
}


/* PRECIO REDUCIDO */
.c26-cintillo-precio_reducido {
    background: linear-gradient(220deg, #0025B5 0%, #001773 100%);
    color: #ffffff;
}


/* ACEPTO CAMBIO */
.c26-cintillo-acepto_cambio {
    background: linear-gradient(220deg, #7D00A6 0%, #53006E 100%);
    color: #ffffff;
}


/* CRÉDITO CON BANCO */
.c26-cintillo-credito_con_banco {
    background: linear-gradient(220deg, #A65F8B 0%, #744361 100%);
    color: #ffffff;
}


/* EN CONDOMINIO */
.c26-cintillo-en_condominio {
    background: linear-gradient(220deg, #65803B 0%, #3D4E23 100%);
    color: #ffffff;
}


/* MUY BUENA OPCIÓN */
.c26-cintillo-muy_buena_opcion {
    background: linear-gradient(220deg, #cccccc 0%, #ABA9A9 100%);
    color: #000000;
}
/* ============================================================
   PRECIO / BOTÓN
============================================================ */

.c26-propiedad-accion {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: space-between;

    padding: 0;

    border-left: 1px solid #dce6ee;

    background: #ffffff;

    text-align: center;
}


/* ============================================================
   PRECIO
============================================================ */

.c26-precio {
    flex: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 20px 14px;

    color: #082d82;

    font-size: 23px;

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -.6px;

    white-space: nowrap;
}


.c26-precio-mes {
    margin-top: 5px;

    color: #718399;

    font-size: 13px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: 0;
}


/* ============================================================
   VER DETALLES
============================================================ */

.c26-ver-detalles {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    padding: 15px;

    border-radius: 0;

    background: #087dbd;

    color: #ffffff !important;

    font-size: 15px;

    line-height: 1.2;

    font-weight: 600;

    text-decoration: none !important;

    transition: background .2s ease;
}


.c26-ver-detalles:hover {
    background: #0A266C;

    color: #ffffff !important;
}


.c26-flecha {
    position: relative;

    top: -1px;

    font-size: 21px;

    line-height: 12px;

    font-weight: 300;
}


/* ============================================================
   TABLET
============================================================ */

@media only screen and (max-width: 1050px) {

    .c26-propiedad {
        grid-template-columns:
            285px
            minmax(0, 1fr)
            210px;
    }


    .c26-precio {
        font-size: 19px;
    }

}


/* ============================================================
   TABLET PEQUEÑA
============================================================ */

@media only screen and (max-width: 850px) {

    .c26-propiedad {
        grid-template-columns:
            270px
            minmax(0, 1fr);
    }


    .c26-propiedad-accion {
        grid-column: 2;

        display: grid;

        grid-template-columns:
            1fr
            170px;

        border-left: 0;

        border-top: 1px solid #dce6ee;
    }


    .c26-precio {
        min-height: 48px;

        padding: 10px 15px;

        align-items: flex-start;

        font-size: 19px;

        text-align: left;
    }


    .c26-ver-detalles {
        min-height: 48px;
    }

}


/* ============================================================
   CELULAR
============================================================ */

@media only screen and (max-width: 650px) {

    .c26-resultados {
        width: auto;

        max-width: none;

        margin:
            20px
            12px
            60px
            12px;
    }


    .c26-resultados-header {
        display: block;
    }


    .c26-resultados-titulo {
        font-size: 24px;
    }


    .c26-resultados-total {
        margin-top: 8px;

        padding: 0;
    }


    .c26-propiedad {
        display: block;

        min-height: 0;

        border-radius: 12px;
    }


    /* FOTO */

    .c26-propiedad-imagen {
        min-height: 230px;
    }


    /* INFORMACIÓN */

    .c26-info-contenido {
        padding:
            17px
            17px
            14px
            17px;
    }


    .c26-propiedad-titulo {
        font-size: 18px;
    }


    .c26-descripcion {
        font-size: 12px;
    }


    .c26-medidas {
        gap: 8px 18px;
    }


    /* CINTILLO */

    .c26-cintillo-marca {
        padding: 7px 12px;

        font-size: 10px;
    }


    /* PRECIO */

    .c26-propiedad-accion {
        display: grid;

        grid-template-columns:
            1fr
            150px;

        border: 0;

        border-top: 1px solid #dce6ee;
    }


    .c26-precio {
        min-height: 50px;

        padding: 11px 15px;

        align-items: flex-start;

        font-size: 19px;
    }


    .c26-ver-detalles {
        min-height: 50px;

        padding: 10px;
    }

}


/* ============================================================
   CELULAR MUY PEQUEÑO
============================================================ */

@media only screen and (max-width: 430px) {

    .c26-propiedad-imagen {
        min-height: 210px;
    }


    .c26-propiedad-accion {
        display: block;
    }


    .c26-precio {
        min-height: auto;

        display: block;

        padding: 15px 17px;

        text-align: left;
    }


    .c26-ver-detalles {
        width: 100%;

        min-height: 48px;
    }

}