
.bien .backImg {
    height: 369px;
    position: relative;
}

.bien .backImg svg{
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 4;
}

.bien .backImg .description {
    position: absolute;
    overflow: hidden;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1rem 4rem 1rem 2rem;
    color: #fff;
    text-align: left;
    display: flex;
    z-index: 2;
    box-sizing: border-box;
    justify-content: flex-end;
    align-items: flex-end;
    
}

.bien .backImg p{
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.bien:hover .backImg p{
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translateY(0);
}

.bien .backImg::after, #sliderBiens::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.bien:hover .backImg::after {
    height: 100%;
}

.bien-ico svg{
    margin-right: 0.5rem;
}

.bien-ico span{
    margin-right: 2rem;
}

.ico-bien{
    height: 100px;
    width:25%;
    margin-bottom: 2rem;
}

.bien-bar{
width: 100%;
height: 0.6px;
border:none;
background: linear-gradient(90deg, #B1ABA4 0%, #FFFFFF 100%);
}


.retour{
    border: 1px solid #FFFFFF;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
}

#sliderBiens{
    border-right: 2px solid white;
}


#sliderBiens .backImg{
    height: 629px;
    position: relative;
    overflow: hidden;
}
/*
#sliderBiens .backImg::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}
*/
#sliderBiens .layer img{
    width: 0;
    height: 0;
    transition: all 0.3s ease;
}

#sliderBiens:hover .layer img{
    width: 96px;
    height: 96px;
}

#sliderBiens .layer{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease;
}

#sliderBiens:hover .layer{
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.3);
}

.modal{
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.modal-content {
    background-color: transparent;
    position: relative;
}

.modal-content .btn-close{
    position: absolute;
    top: -1rem;
    right: -4rem;
    cursor: pointer;
    width: 53px;
    height: 53px;
}

.thumbnail{
    height: 60px;
    width: auto;
    cursor: pointer;
    position: relative;
}

.thumbnail-container{
    position: relative;
    cursor: pointer;
}

.thumbnail-container.active{
    border: 1px solid #FFFFFF;
}

.thumbnail-container.active::after{
   opacity: 0;
}


.thumbnail-container::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.3s ease;
}


.modal-content .arrow-container{
    background-color: #000000;
}

.h-140{
    height: 160px;
    margin-left: 1rem;
    margin-right: 1rem;
}

.h-140 .share-ico{
    height: 100px;
    width: 100px;
    border: 1px solid #FFFFFF;
    border-radius: 40px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.h-140:hover .share-ico{
    background-color: #FFFFFF;
}

.h-140:hover .share-ico svg path{
    fill: #B5B0A1;
}

.photo-min{
    width: 110px;
    height: 110px;
    border-radius: 46px;
    overflow: hidden;
}

.sticky{
    position: sticky;
    top: -136px;
}
.nodpe{
    opacity: 0.3;
    filter: grayscale(100%);
}

.noConso{
    position: absolute;
    font-weight: 700;
    font-size: 14px;
    top: 39%;
    left: 43%;
    transform:rotate(-20deg) translate(-60%, -40%);
}

.carousel-item img{
    max-height: 80vh;
}


#photoModal .carousel-item img {

    object-fit: contain; /* ⚠️ clef pour éviter les déformations */

}

.exclu{
 position: absolute;
 top: 0;
 left: 50%;
 transform: translate(-50%,-50%);
 width: 178px;
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 16px;
 font-weight: 700;
 font-size: 20px;
 z-index: 2;
 background-color: #000000;
 color: #FFFFFF;
 text-transform: uppercase;   
}

.exclu.detail{
    position: inherit;
    transform: translate(0,10px);
}

@media (max-width: 992px) {
    .bien-ico span {
        margin-right: 1rem;
    }

    .bien .backImg {
        height: 500px;
    }

    #sliderBiens .backImg {
        height: 500px;
    }

    .thumbnail-container{
        display: none;
    }

    .return-btn{
        margin-bottom: 1rem;
    }

    .pe-0{
        padding-right: calc(var(--bs-gutter-x) * .5)!important;
    }

    .ps-0{
        padding-left: calc(var(--bs-gutter-x) * .5)!important;
    }

    .modal-content .btn-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        z-index: 2;
    }

    #modalCarousel{
        margin-top: 4rem;
    }

    .ico-bien{
        width: 50%;
    }
}

@media (max-width: 768px) {
    .bien .backImg {
        height: 360px;
    }
    #sliderBiens .backImg {
        height: 360px;
    }
}


@media (max-width: 400px) {
    .bien .backImg {
        height: 260px;
    }

    #sliderBiens .backImg {
        height: 260px;
    }
}

