/*************************************************
 *  APIMO – CARDS BIENS IMMOBILIERS
 *  Base : .Product-wrapper .Product-block
 *************************************************/

/* CARD GLOBALE */
body .Product-wrapper .Product-block {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 18px 18px 16px !important;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: none !important;
    margin-bottom: 30px !important;
}

/* Pour être sûr que les colonnes suivent */
body .apimo-property-wrapper .column-desktop-3,
body .apimo-property-wrapper .column-tablet-2,
body .apimo-property-wrapper .column-mobile-1 {
    height: 100% !important;
}

/* IMAGE / SLIDER */
body .Product-wrapper .Product-block .Pro-Image {
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
}

/* Arrondir UNIQUEMENT le conteneur global */
body .Product-wrapper .Product-block .Pro-Image {
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Laisser Slick respirer */
body .Product-wrapper .Product-block .Pro-Image .slick-list,
body .Product-wrapper .Product-block .Pro-Image .slick-track {
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Images arrondies mais slider intact */
body .Product-wrapper .Product-block .Pro-Image img.single-apimo-img {
    border-radius: 0 !important;
    display: block !important;
}

body .Product-wrapper .Product-block .Pro-Image img.single-apimo-img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
}

/* BADGE TYPE DE BIEN (Appartement, Maison, Villa…) */
body .Product-wrapper .Product-block .Pro-category {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    z-index: 5 !important;
    background: rgba(255, 255, 255, 0) !important;
}

body .Product-wrapper .Product-block .Pro-category span {
    font-family: "Satoshi", sans-serif !important;
    display: inline-block !important;
    padding: 6px 14px !important;
    backdrop-filter: blur(90px) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: rgba(0, 0, 0, 0) 0px 10px 20px !important;
    border-radius: 25px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.apimo-properties-item.Product-block .Pro-category {
    background-color: rgba(255, 255, 255, 0) !important;
}

.Product-wrapper .Product-block .Pro-category {
    background: rgba(255, 255, 255, 0) !important;
}

/*************************************************
 *  TYPOGRAPHIE
 *************************************************/

/* Titre du bien : SATOSHI */
body .Product-wrapper .Product-block .Pro-name h3 {
    font-family: "Satoshi", sans-serif !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin: 0 0 8px 0 !important;
}

/* Reste de la carte : ROBOTO */
body .Product-wrapper .Product-block .Pro-content,
body .Product-wrapper .Product-block .Pro-content span,
body .Product-wrapper .Product-block .Pro-price span {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 400 !important;
}

/*************************************************
 *  INFOS SECONDAIRES (Ville, pièces, m²)
 *************************************************/

/* Ligne adresse */
body .Product-wrapper .Product-block .Pro-content .Pro-address {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 14px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    margin: 4px 0 0 0 !important;
}

body .Product-wrapper .Product-block .Pro-content .Pro-address .value {
    color: #7A7A7A !important;
}

/* Icône localisation en gris 7A7A7A */
body .Product-wrapper .Product-block .Pro-content .Pro-address svg {
    margin-right: 4px !important;
    width: 16px !important;
    height: 16px !important;
}

body .Product-wrapper .Product-block .Pro-content .Pro-address svg path {
    fill: #B79B6F !important;
}

/* Conteneur des métas (pièces, m²…) */
body .Product-wrapper .Product-block .Pro-content .Pro-description {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 30px !important;
    margin-top: 8px !important;
}

/* Bloc meta */
body .Product-wrapper .Product-block .Pro-content .Pro-description .Pro-meta {
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    margin: 5px 1px !important;
    flex: 0 0 33.333% !important; /* 3 par ligne max */
}

/* Icônes meta */
body .Product-wrapper .Product-block .Pro-content .Pro-description .Pro-meta svg {
    width: 16px !important;
    height: 16px !important;
}

body .Product-wrapper .Product-block .Pro-content .Pro-description .Pro-meta svg path {
    fill: #7A7A7A !important;
}

/* Texte meta */
body .Product-wrapper .Product-block .Pro-content .Pro-description .Pro-meta .value {
    color: #7A7A7A !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/*************************************************
 *  PRIX + RÉFÉRENCE
 *************************************************/

body .Product-wrapper .Product-block .Pro-price {
    border-top: 1px solid #E5E7EB !important;
    padding-top: 12px !important;
    margin-top: 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Prix en gras, gris 7A7A7A */
body .Product-wrapper .Product-block .Pro-price > span:first-child {
    font-weight: 600 !important;
    color: black !important;
    font-size: 19px !important;
}

/* Desktop uniquement */
@media (min-width: 1025px) {
  body .Product-wrapper .Product-block .Pro-price > span:first-child {
    margin-left: -10px !important;
    margin-top: 13px !important;
    margin-bottom: -10px !important;
  }
}

/* Référence à droite, plus discrète */
body .Product-wrapper .Product-block .Pro-price .apimo-property-reference {
    font-weight: 400 !important;
    color: #7A7A7A !important;
    font-size: 12px !important;
}

/*************************************************
 *  FILTRES (barre de filtres au-dessus de la grille)
 *************************************************/

/* Container global des filtres */
body .filter-container {
    margin: 40px 10px 0 !important;
}

/* Bloc section filtres */
body section.apimo-filters.apimo-archive-filters {
    background: #ffffff !important;
    padding: 30px !important;
    margin-top: 50px !important;
    border-radius: 16px !important;
    border:none;
}

/* Header de chaque item de filtre (catégorie, prix, ville…) */
body .apimo-filter-wrapper .filter-item-title {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 15px 15px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    border-radius: 100px !important;
    border: none !important;
}

/* Texte du titre de filtre */
body .apimo-filter-wrapper .filter-item-title .text {
    font-family: "Satoshi", sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/*************************************************
 *  PAGINATION
 *************************************************/

/* Style des items de pagination */
body .apimo-archive-pagination-div ul li {
    margin: 0 5px !important;
    list-style-type: none !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    line-height: 1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    border: 1px solid #dedede !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
}

.apimo-archive-pagination-div {
    padding: 0px 0px 65px;
    margin-top: -32px;
}

/* Pagination active : couleurs custom */
body .apimo-content-wrapper .paginationjs-pages ul li.active {
    border-color: #a88959 !important;
    color: #000000 !important;
}

/*************************************************
 *  QUELQUES DÉTAILS DIVERS
 *************************************************/

/* On s’assure qu’aucune bordure Appimo ne revient */
body .Product-wrapper .Product-block {
    border: none !important;
}

/* Icônes metas en teinte neutre quand Appimo les force en couleur */
body .Product-wrapper .Product-block .Pro-content .Pro-description .Pro-meta svg,
body .Product-wrapper .Product-block .Pro-content .Pro-description .Pro-meta svg path {
    fill: #B79B6F !important;
}

/*************************************************
 *  PETITES ADAPTATIONS MOBILE
 *************************************************/

@media print, screen and (max-width: 575px) {

    /* On supprime le gros margin top des filtres sur mobile */
    body .filter-container {
        margin: 0 !important;
    }

    /* Card un peu plus compacte */
    body .Product-wrapper .Product-block {
        padding: 14px 14px 12px !important;
        border-radius: 16px !important;
    }

    body .Product-wrapper .Product-block .Pro-Image img.single-apimo-img {
        height: 220px !important;
    }

    body .Product-wrapper .Product-block .Pro-name h3 {
        font-size: 18px !important;
    }

    body .Product-wrapper .Product-block .Pro-category span {
        font-size: 13px !important;
        padding: 5px 11px !important;
        letter-spacing: 0 !important;
    }
}
/* Desktop uniquement */
@media (min-width: 1025px) {
  .Product-wrapper .Grid-wrapper .Product-block .Pro-price {
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    margin: 40px 30px -3px 30px !important;
  }
}
/* Mobile uniquement */
@media (max-width: 1024px) {
  body .Product-wrapper .Product-block .Pro-price {
    border-top: 1px solid #E5E7EB !important;
    padding-top: 24px !important;
    margin-top: 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

.apimo-archive-pagination-div ul li a {
    color: black !important;
    font-weight: 600 !important;
}
.apimo_line {
	display: none !important;
}

@media (max-width: 767px) {
	.apimo_container {
		padding: 0 15px !important;
	}
	}
.apimo_container {
    margin: 140px auto 0px auto !important;
	}

@media (max-width: 767px) {
.apimo_container {
    margin: -30px auto 0px !important;
    }
}