/* =========================================
   WIDGET: PODOBNE OFERTY (STATYCZNY GRID)
   ========================================= */

/* Kontener główny widgetu */
.asari-similar {
    margin-top: 40px;
    width: 100%;
}

.asari-similar__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1E1E24;
}

/* KONTENER SIATKI (3 kolumny na desktopie) */
.asari-similar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* =========================================
   KAFELEK (Styl 1:1 z Grid Widget)
   ========================================= */

.asari-similar .property-tile {
    /* Sztywna wysokość dla równych kart */
    min-height: 535px;
    height: auto;
    width: 100%; /* Wypełnia komórkę grida */
    
    background-color: #E0E0E6;
    border-radius: 12px;
    padding: 8px; /* Ramka w ramce */
    
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* OBRAZEK */
.asari-similar .property-image-placeholder {
    width: 100%;
    height: 265px; /* Sztywna wysokość */
    
    background-color: #CCCCCC;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.asari-similar .property-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.asari-similar .property-tile:hover .property-image-placeholder img {
    transform: scale(1.05);
}

.asari-similar .fresh-offer-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FFFFFF;
    color: #1E1E24;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* TREŚĆ */
.asari-similar .property-details {
    padding: 20px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 15px;
}

/* BLOK GÓRNY */
.asari-similar .property-price {
    font-size: 28px;
    font-weight: 800;
    color: #1E1E24;
    margin-bottom: 8px;
    line-height: 1.1;
}

.asari-similar .listing-type {
    font-size: 13px;
    color: #666666;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.asari-similar .property-location {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #1E1E24;
}

.asari-similar .property-location a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

/* BLOK ŚRODKOWY (Ikony) */
.asari-similar .property-specs-wrapper {
    width: 100%;
    border-top: 1px solid #C2C2C2;
    border-bottom: 1px solid #C2C2C2;
    padding: 15px 0;
    margin-top: 10px;
}

.asari-similar .property-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.asari-similar .icon-item {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

.asari-similar .feature-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    opacity: 0.7;
}

/* BLOK DOLNY (Przycisk) */
.asari-similar .property-btn-wrapper {
    margin-top: auto;
}

.asari-similar .check-button {
    display: block;
    width: 100%;
    background-color: #3D40BF;
    color: #FAFAFA;
    border: none;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
}

.asari-similar .check-button:hover {
    background-color: #1E2067;
    transform: translateY(-1px);
}

/* RESPANSYWNOŚĆ (Mobile - 1 kolumna) */
@media (max-width: 900px) {
    .asari-similar__grid {
        grid-template-columns: 1fr; /* Jedna pod drugą */
    }
    
    .asari-similar .property-tile {
        width: 100%;
        max-width: none;
    }
}