/* Cartões dos imóveis nas listagens públicas */
.property-grid [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}

.property-section .property-box.kc-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    border: 1px solid #ececec;
    border-radius: 14px;
    box-shadow: none;
    transition: box-shadow .25s ease, transform .25s ease;
}

.property-section .property-box.kc-card:hover {
    box-shadow: 0 18px 36px -18px rgba(28, 45, 58, .35);
    transform: translateY(-3px);
}

.kc-card .property-image {
    position: relative;
    overflow: hidden;
    background: #f1f3f5;
}

.kc-card .property-slider:not(.slick-initialized) > a:not(:first-child) {
    display: none;
}

.kc-card .image-imoveis {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .6s ease;
}

.kc-card:hover .image-imoveis {
    transform: scale(1.04);
}

.kc-card .kc-360 {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    z-index: 1;
}

.property-section .kc-card .property-details {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 18px;
}

/* Estado do imóvel: etiqueta com cor e foto esbatida nos que já não estão no mercado */
.kc-card .kc-state {
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
    background: #5b6770;
}

.kc-card .kc-state--available {
    background: #187a41;
}

.kc-card .kc-state--reserved {
    background: #c96a00;
}

.kc-card .kc-state--closed {
    background: #b3261e;
}

.kc-card--closed .image-imoveis {
    filter: grayscale(.7);
    opacity: .7;
}

.kc-card .kc-price {
    margin: 0 0 10px;
    font-family: Montserrat, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #1c2d3a;
}

.kc-card .kc-price span {
    font-size: 14px;
    font-weight: 500;
    color: #5b6770;
}

.kc-card .kc-price--none {
    font-size: 17px;
    font-weight: 600;
    color: #5b6770;
}

.property-section .kc-card .property-details .kc-place {
    display: block;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: none;
    color: #187a41;
}

.property-section .kc-card .property-details .kc-link h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.6em;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: #1c2d3a;
    transition: color .2s ease;
}

.kc-card:hover .kc-link h3 {
    color: #187a41;
}

/* O cartão todo abre o imóvel; o carrossel de fotos continua a responder por cima */
.kc-card .kc-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.kc-card .kc-link:focus-visible {
    outline: none;
}

.kc-card .kc-link:focus-visible::after {
    outline: 2px solid #187a41;
    outline-offset: -4px;
    border-radius: 0 0 14px 14px;
}

.property-section .kc-card .property-details .kc-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: auto 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #ececec;
    font-size: 14px;
    color: #4a5965;
}

.property-section .kc-card .property-details .kc-link {
    margin-bottom: 16px;
}

.property-section .kc-card .property-details .kc-specs li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.property-section .kc-card .property-details .kc-specs li:first-child:not(:has(img)) {
    font-weight: 600;
    color: #1c2d3a;
}

.property-section .kc-card .property-details .kc-specs li img {
    width: 17px;
    height: 17px;
    margin: 0;
    opacity: .7;
}

@media (max-width: 575px) {
    .property-grid [class*="col-"] {
        margin-bottom: 22px;
    }

    .kc-card .kc-price {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .property-section .property-box.kc-card,
    .kc-card .image-imoveis {
        transition: none;
    }

    .property-section .property-box.kc-card:hover,
    .kc-card:hover .image-imoveis {
        transform: none;
    }
}
