/* GRID */
.biens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.biens-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;
}

.biens-filter {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
    color: #222;
}

@media (min-width: 1024px) {
    .biens-filters {
        gap: 10px;
    }

    .biens-filter {
        width: 220px;
        max-width: 220px;
        flex: 0 0 220px;
    }
}

/* CARD */
.bien-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bien-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.bien-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

.bien-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* ✅ UNIQUEMENT l’image du bien */
.bien-image>a>img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    max-width: none;
}

.bien-card:hover .bien-image img {
    transform: scale(1.05);
}

/* CONTENU */
.bien-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* TITRE */
.bien-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.bien-content h3 a {
    text-decoration: none;
    color: #222;
}

.bien-content h3 a:hover {
    color: #D3BBA6;
}

/* PRIX */
.bien-prix {
    font-size: 18px;
    font-weight: bold;
    color: #D3BBA6;
}

.bien-prix .woocommerce-Price-amount,
.bien-prix .woocommerce-Price-currencySymbol,
.bien-prix bdi {
    color: #D3BBA6 !important;
}

/* OPTION : INFOS (surface, ville…) */
.bien-meta {
    font-size: 13px;
    color: #777;
}

/* PAGINATION */
.biens-pagination {
    margin-top: 40px;
    text-align: center;
}

.page-link {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f4f4f4;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

.page-link:hover {
    background: #D3BBA6;
    color: #fff;
}

.page-link.active {
    background: #D3BBA6;
    color: #fff;
}

#biens-agent-container .berocket-label {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
    pointer-events: none;
}

#biens-agent-container .berocket-label-img {
    width: auto;
    height: 120px;
    display: block;
}

.agents-page .elementor-button {
    width: 100% !important;
    display: flex !important;
    justify-content: center;
}

@media (min-width: 1024px) {
    .agents-page .elementor-button {
        width: 40% !important;
        display: inline-flex !important;
    }
}

