.results-container.favourities-container {
    .head1 {
        margin-top: 20px;
        margin-bottom: 10px;
    }
}

.results-container {

    .header1 {
        display: flex;
        gap: 50px;
        border-bottom: 1px solid rgba(33, 37, 41, 0.25);
        padding-bottom: 10px;
        margin-top: 50px;

        .title {
            flex-grow: 1;

            font-weight: 400;
            line-height: 150%;

            a {
                text-decoration: none;
                color: #212529;
                font-weight: 400;
                font-size: 16px;
                line-height: 150%;
            }
        }
    }

    .head1 {
        font-weight: 400;
        font-size: 32px;
        line-height: 120%;
        margin-top: 50px;
        margin-bottom: 10px;
    }
    .head2 {
        font-weight: 400;
        font-size: 16px;
        line-height: 150%;
        height: 31px;
        display: flex;
        justify-content: space-between;
        .right {
            display: flex;
            gap: 10px;
            select {
                width: 130px;
                height: 25px;                
            }
        }
    }
    #results {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        
        gap: 20px;
        row-gap: 20px;     
        margin-top: 20px;
        margin-bottom: 40px;        

        .error {
            text-align: center;
            width: 100%;
        }

        .property-link {
            text-decoration: none;
        }
    }
}

        .property-card {
            border: 1px solid #e9ecef; /* Bardzo delikatna ramka */
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            background: #fff;
            height: 100%; /* Żeby karty w rzędzie były równe */
            display: flex;
            flex-direction: column;
            width: 418px;
            position: relative;
        }

        .property-card:hover {
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .card-img-wrapper {
            position: relative;
            aspect-ratio: 4/3; 
            overflow: hidden;
        }

        .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .btn-favorite {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0);
            border: none;
            width: 32px;
            height: 32px;
            cursor: pointer;
            z-index: 2;

            img {
                width: 32px;
                height: 32px;
            }
        }
        .bottom-tags {
            position: absolute;
            bottom: 15px;
            left: 15px;
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
            z-index: 2;
            font-weight: 500;
            font-size: 12px;
            text-transform: uppercase;

            .tag-dark {
                background: black;
                height: 20px;
                box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.075);
                color: #fff;
                padding: 1px 4px;
                border-radius: 4px;
            }
        
            .tag-light {
                background-color: rgba(255, 255, 255, 0.9);
                height: 20px;
                box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.075);
                color: #333;
                padding: 1px 4px;
                border-radius: 4px;
            }
        }

        .card-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1; /* Wpycha stopkę na dół */
        }

        .card-title {
            font-size: 20px;
            font-weight: 400;
            line-height: 1.2;
            color: #212529;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 48px;
        }

        .card-price {
            font-size: 16px;
            font-weight: 400;
            color: #212529;
            margin-bottom: 20px;
        }
        
        .card-specs {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-top: auto; 
            color: #6c757d;
            font-size: 14px;
            border-top: 1px solid transparent; 
            justify-content: center;
        }

        .spec-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .spec-item i {
            font-size: 16px; /* Ikony nieco większe */
            color: #adb5bd; /* Jaśniejszy szary dla ikon */
        }



    /* =========================================
       CUSTOM PAGINATION
       ========================================= */
    
    .pagination-custom {
        --bs-pagination-border-color: #E5D9C3; /* Jasny beżowy border */
        --bs-pagination-border-radius: 4px;
        --bs-pagination-bg: #fff;
    }

    /* Styl pojedynczego przycisku */
    .pagination-custom .page-link {
        color: #C19A5B; /* Złoty tekst */
        background-color: #fff;
        border: 1px solid var(--bs-pagination-border-color);
        font-weight: 400;
        font-size: 16px;
        padding: 0.5rem 0.85rem; /* Dopasowanie wielkości kafelka */
        min-width: 40px; /* Żeby kafelki były kwadratowe/równe */
        height: 41px;
        text-align: center;
        margin: 0;
        transition: all 0.2s;
    }

    /* Hover (Najazd myszką) */
    .pagination-custom .page-link:hover {
        background-color: #f9f6f0; /* Bardzo jasny beż */
        color: #a6834a;
        border-color: #C19A5B;
        z-index: 2;
    }

    /* Focus (Kliknięcie) */
    .pagination-custom .page-link:focus {
        box-shadow: none;
        background-color: #f9f6f0;
    }

    /* AKTYWNA STRONA (To złote tło) */
    .pagination-custom .page-item.active .page-link {
        background-color: #C19A5B !important;
        border-color: #C19A5B !important;
        color: #ffffff !important;
        z-index: 3;
    }

    /* KROPKI (...) */
    .pagination-custom .page-item.dots .page-link {
        border: 1px solid var(--bs-pagination-border-color);
        background-color: #fff;
        color: #C19A5B;
        pointer-events: none; /* Nieklikalne */
        font-weight: bold;
        letter-spacing: 1px;
    }

    /* STRZAŁKA LEWA (<) */
    .pagination-custom .page-item:first-child .page-link {
        color: #C19A5B; /* Złota */
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        font-weight: 300; /* Cienka jak na screenie */
    }

    /* STRZAŁKA PRAWA (>) - FIOLETOWA */
    .pagination-custom .page-item:last-child .page-link {
        color: #8A2BE2; /* Fioletowy kolor z Twojego screena */
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
        font-weight: 900; /* Grubasza */
        font-size: 18px; /* Odrobinę większa */
        line-height: 1.2;
    }
    
    /* Opcjonalnie: Fioletowy hover dla prawej strzałki */
    .pagination-custom .page-item:last-child .page-link:hover {
        background-color: #f3e5f5; /* Jasny fioletowy podkład */
        color: #6a1b9a;
        border-color: #8A2BE2;
    }
        