body {
    background-color: #f3f3f3;
}

.item_des

.page-home h1 {
    font-size: 30px;
}

/* Masquer les vignettes au-delà de la limite (6 ou 9) */
.product-image-item.hidden-thumbnail {
    display: none;
}

/* Style pour le texte "Voir les X photos" */
.product-image-item {
    position: relative; /* Nécessaire pour le positionnement absolu du span */
}

.img_listings_mes {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background-color: #5f79a0;
    color: white;
    padding: 6px 10px;
    text-align: center;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 2; /* Au-dessus de l'image */
    opacity: 0.9;
}

.product-image-item:nth-child(6):hover img {
    opacity: 0.8;
}

.product-image-item:nth-child(6):hover .img_listings_mes {
    background-color: #5f79a0;
}


.product-image-item:hover img {
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
}
@-webkit-keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}
@keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}






.fd_img_haute_cat {
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Grille d'images */
.product-images-fabrice {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Espacement entre les images */
    justify-content: flex-start; /* Alignement à gauche (ou 'center' pour centrer) */
}

/* Chaque élément image (3 par ligne sur desktop) */
.product-image-item {
    width: calc(33.333% - 15px); /* 33.33% - gap */
    box-sizing: border-box;
}

/* Image elle-même (responsive) */
.product-image-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Conserve les proportions */

}

/* Mobile : 1 image par ligne */
@media (max-width: 767px) {
    .product-image-item {
        width: 100%; /* 1 image par ligne */
    }
}

/* Tablette (optionnel) : 2 images par ligne */
@media (min-width: 576px) and (max-width: 991px) {
    .product-image-item {
        width: calc(50% - 15px); /* 2 images par ligne */
    }
}


/* Fancybox : Personnalisation de la lightbox */
.fancybox__nav {
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fancybox__caption {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.fancybox__close {
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: -20px;
    right: -20px;
}

.fd_nous_consulter{font-size:16px !important;}

/* form contact product */
.product-contact-form {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #5f79a005;
}
.product-contact-form .form-group {
    margin-bottom: 15px;
}

.product-contact-form .form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.product-contact-form .alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 3px;
}
.product-contact-form .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.product-contact-form .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}



/* Fabrice */
.fd_prix_ref {display: block;
    text-align: right;
    float:right;
color:#5f79a0;}
.fd_feature_principales_haut{float:left; }

.search-widget .search-btn {
    right: 15px;
}



.product-miniature .product-title {text-align: center;min-height: 45px;}


.fd_ref{margin-right:30px;}

.fd_titre_sous_menu_cat{
    color: #5f79a0;
text-transform: uppercase;
font-size: 1rem;
font-weight: 500;
margin-bottom: .9em;
}


.product-offer .fd_ref{color: #5f79a0;}

.fd_invite_contact{text-align:center; }



.product-info-commodites .material-icons {font-size: 16px;color: #5f79a0;}



.logo {max-height:50px;}

.top-menu[data-depth="1"] > li > a { color:#5f79a0;}

.footer-one p.h3 {
    display:none;
}
.contact-item.e-mail{display:none;}

.property_listing_details {
    position: relative;
    color: #5f79a0;
    width: 100%;
    float: left;
    padding: 0 20px;
    margin-bottom: 72px;
    margin-top: 10px;
}

.property_listing_details .inforoom, .property_location .inforoom, .property_listing_details .infobath, .property_location .infobath, .property_listing_details .infosize, .property_location .infosize {
    width: 33%;
    float: left;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 22px;
    position: relative;
}

.property_listing_details .info_labels {
    color: #909090;
}
.info_labels {
    width: 100%;
    font-size: 13px;
    font-weight: 300;
}

.product-desc a {
    padding: 0 20px;
    margin-top: 20px;
    margin-bottom: 0;
    width: 100%;
    transition: all .3s
    ease;
    position: relative;
    font-size: 16px;
    line-height: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
}



.bilan-energie h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-size: 1rem;
    font-weight: 500
}

.bilan-energie .etiquette {
    position: relative;
    display: inline-block;
    height: 300px;
    width: 266px;
    border: 1px solid #dedede
}

.bilan-energie .dpe .etiquette {
    background: url(//www.saint-tropez-bay-property.com/img/dpe.png) no-repeat center center;
    background-size: 266px 300px
}

.bilan-energie .ges .etiquette {
    background: url(//www.saint-tropez-bay-property.com/img/ges.png) no-repeat center center;
    background-size: 266px 300px
}

.bilan-energie .etiquette .indicateur {
    display: inline-block;
    position: relative;
    font-size: .8571rem;
    line-height: 22px;
    height: 22px;
    width: 40px;
    color: #fff;
    font-weight: 500;
    background-color: #000;
    margin-right: 20px;
    text-align: center;
    float:right;
}

.bilan-energie .etiquette .indicateur:before {
    position: absolute;
    left: -10px;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 10px 11px 0;
    border-color: transparent #000 transparent transparent
}

.bilan-energie .etiquette .indicateur.A {
    margin-top: 70px
}

.bilan-energie .etiquette .indicateur.B {
    margin-top: 95px
}

.bilan-energie .etiquette .indicateur.C {
    margin-top: 120px
}

.bilan-energie .etiquette .indicateur.D {
    margin-top: 145px
}

.bilan-energie .etiquette .indicateur.E {
    margin-top: 170px
}

.bilan-energie .etiquette .indicateur.F {
    margin-top: 195px
}

.bilan-energie .etiquette .indicateur.G {
    margin-top: 220px
}

.bilan-energie .en-cours .fa {
    color: #b0b0b1
}

.tag-wrapper {
    position: absolute;
    top: 20px;
    width: 100%;
    float: left;
    z-index: 2;
}
.ribbon-wrapper-default {
    width: auto;
    overflow: hidden;
    position: relative;
    background-color: #ce5b09;
    color: #fff;
    float: right;
    line-height: 12px;
    font-size: 11px;
    opacity: .8;
    text-transform: uppercase;
    right: 20px;
    letter-spacing: .4px;
    height: 26px;
}

.ribbon-wrapper-sticker {
    width: auto;
    overflow: hidden;
    position: relative;
    background-color: #5f79a0;
    color: #fff;
    float: right;
    line-height: 12px;
    font-size: 11px;
    opacity: .8;
    text-transform: uppercase;
    right: 20px;
    letter-spacing: .4px;
    height: 26px;
}

.ribbon-inside {
    color: #fff;
    text-align: center;
    padding-top: 0;
    width: auto;
    text-transform: uppercase;
    font-size: 11px;
    padding: 8px 18px;
    height: 26px;
}


.tag-wrapper-fiche-bien   {margin-top:0px;position:initial;}

.tag-wrapper-fiche-bien .ribbon-wrapper-default, .tag-wrapper-fiche-bien .ribbon-wrapper-sticker
{    right: 10px;
    margin-bottom: 7px;}

.product-miniature .price {
    position: relative;
    margin-top: 15px;
    color: #5f79a0;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
    float: left;
    line-height: 40px;
    font-weight: 400;
    margin-bottom: 5px;
}

.page-home {margin-top:-50px;}

.page-home .textwidget{max-width: 1340px;
    margin-right: auto;
    margin-left: auto;
}

/* Vidéo homepage */
.fd_video_home{
    width: 100%;
    max-height: 650px;
    overflow: hidden;
    height: auto;
}


@media (max-width: 768.98px) {
    .-grid .catalog-products .product-miniature {
        width: 100%;
    }

    .product-desc a {
        padding: 0;
    }

}

#_mobile_search_bar{margin-right:auto;margin-left:auto;}

.img_ils_parlent{
    max-width: 300px;
    margin: 10px;
    border: 1px solid #dcc7aa;
}