/* --- Bien Posts Shortcode Styles --- */
.bien-lieu{
    color: #fff;
    font-size: calc(1rem + .2vw);
    z-index: 2;
    text-align: center;
}
.bien-statut {
    color:#fff;
    font-size: calc(1rem + .2vw);
    z-index: 2;
    text-align: center;
}
.bien-card,
.bien-link
{
    border-radius: 4px;
}

.bien-lieu,
.bien-none-found,
.bien-price,
.bien-statut{
    text-align: center;
}

.bien-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.bien-card {
    overflow: hidden;
    transition: .3s;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
    font-family: Raleway;
    font-weight: 600;
    min-height: 485px;
}

.bien-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, .1);
}

.bien-card:hover .bien-statut {
    transform: translateY(-0.5px);
    transition: transform 1.5s;
}

.bien-image-container {
    position: relative;
    overflow: hidden;
}

.bien-image-container:after,
.bien-statut {
    position: absolute;
    right: 0;
    width: 52%;
    font-size: 11.9px;
}

.bien-thumbnail {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform .5s;
    aspect-ratio: 16/9;
}

.bien-lieu {
    background-color: var(--e-global-color-color_1);
    padding: 12px;
    display: block;
    width: 100%;
}

.bien-statut {
    background-color: #99b81fed;
    padding: 10px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
    box-shadow: -15px 15px 40px 9px rgba(0, 0, 0, 0.09) inset;
    -webkit-box-shadow: inset 1px 0px 7px 6px #47474717;
    -moz-box-shadow: -15px 15px 40px 9px rgba(0,0,0,0.09) inset;
}

/*.bien-image-container:after {
    content: "";
    z-index: 0;
    bottom: 0;
    height: 30%;
    background: linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0) 100%);
}*/

.bien-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.bien-title {
    margin: 0;
    font-size: calc(0.9rem + .2vw) !important;
    color: #000 !important;
    font-weight: 700 !important;
    line-height: 1.4em !important;
    padding: 0 10px 10px;
    border-bottom: 1px solid #cbcbcb;
    text-align: left;
}

.bien-price {
    color: var(--e-global-color-color_1);
    margin: 0 0 .5rem;
    font-size: 1rem;
    display: none !important;
}

.bien-content-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.bien-category {
    display: flex;
	align-items: center;
    gap: 5px;
    color: #000;
    font-size: 1rem;
}

.bien-category i {
    font-size: 1.2rem;
}

.bien-link {
    padding: 1rem;
    background-color: #000;
    color: #fff !important;
    text-decoration: none;
    font-size: 1rem;
    transition: .3s;
    font-weight: 400;
}

.bien-link:hover {
    background-color: var(--e-global-color-color_1);
}

.bien-none-found {
    padding: 2rem;
    color: #666;
    font-style: italic;
}
/* --- Bien Map Shortcode Styles --- */
.leaflet-popup-close-button{background: white !important;}
.leaflet-popup-content {margin: 0 !important;border: 0 !important;}
.bien_map_body {padding: 15px;}
.bien_map_title {font-size: 18px !important;}
.bien_map_title a:not(:hover) {color: #000000 !important}
.bien_map_location {margin: 10px 0 0 !important;font-size: 16px !important;}
.leaflet-popup-content-wrapper {overflow: hidden;}
/* --- Single Bien Styles --- */
.single-bien {
    font-family: 'Raleway';
}
/* --- Gallery Styles --- */
#gallery img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

#gallery {
    margin-bottom: 3vw;
}

.single-bien .gallery_thumbs {
    position: relative;
}

.single-bien .nav_slider {
    position: relative;
    overflow: hidden;
}

.single-bien .nav_slider .slick-slide + .slick-slide {
    margin-top: 15px;
}

.single-bien .slider_arrows {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
}

.single-bien .slider_arrows .inner {
    display: flex;
	gap: 10px;
    background: white;
    line-height: 40px;
    padding: 10px;
    border-radius: 10px 10px 0 0;
	width: 110px;
    align-items: center;
    justify-content: center;
	margin: 0 auto;
}

.single-bien .slider_arrows .slick-arrow {
    color: black;
    cursor: pointer;
    background: transparent;
    border: 2px solid black;
    border-radius: 50%;
    text-align: center;
    padding: 0;
    line-height: 36px;
    width: 40px;
    height: 40px;
}

.single-bien .slider_arrows .slick-arrow:visited,
.single-bien .slider_arrows .slick-arrow:active,
.single-bien .slider_arrows .slick-arrow:focus {
    color: black;
    text-decoration: none;
}

.single-bien .slider_arrows .slick-arrow:hover {
    color: white;
    background: black;
    text-decoration: none;
    border: 2px solid black;
}

.single-bien .slider_arrows .slick-arrow .fa {
    margin-right: 0;
}
/* --- Présentation Styles  --- */

.highlighted_informations {
    font-size: calc(1rem + 0.7vw);
    background-color: #f8f8f8;
    padding-top: 20px;
    margin-bottom: 20px;
    /*margin-block: 20px;*/
}
.highlighted_informations .localite{
    font-size: 14px !important;
    padding-bottom: 0px;
    padding-top: 14px;
}
.highlighted_informations .status{
    font-size: 16px;
}
.highlighted_informations * {
    margin-bottom: 8px;
}

.min_price {
    color: #99b81f;
}

span.price {
    font-weight: 600;
}

.programme-presentation {
    padding: 4% 0;
}

.single-bien h2 {
    text-align: center;
    margin: 0px;
}

.single-bien h2:after {
    border-bottom: 2px solid #99b81f;
    margin: 25px auto 25px;
    content: '';
    display: block;
    width: 45px;
}

.programme-actions {
    margin-bottom: 3vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2vw;
}

.single-bien .btn {
    padding: 5px 20px;
    background: #99b81f;
    color: #fff !important;
    line-height: 2.25em;
    height: auto;
    border-radius: 0px;
    font-size: 12px;
    margin: 7px 0;
    width: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border:solid 1px #99b81f;
}
.single-bien .btnn {
    padding: 5px 20px;
    background: #000000;
    color: #fff !important;
    line-height: 2.25em;
    height: auto;
    border-radius: 0px;
    font-size: 12px;
    margin: 7px 0;
    width: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.highlighted_informations .fas{
    left: 10px;
    font-size: 14px !important;
    position: absolute;
    padding-top: 10px !important;
    padding-bottom: 0px !important;
    font-size: 15px;
}
.single-bien .btn i {
    float: unset;
    padding: 0px;
}

.single-bien .btn:after {
    display: none !important;
}

.single-bien .btn:hover {
    background: #fff;
    border: solid 1px #99b81f;
    color: #99b81f !important;
}
.single-bien table {
    text-align: center;
}

.single-bien thead tr {
    background-color: #99b81f;
    color: #fff;
}

.single-bien table th {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}

.table thead th.col-buttons-lot {
    text-align: right;
}

.table thead th.col-buttons-contact {
    text-align: left;
    width: 155px;
}
.table thead th.col-buttons-lot {
    width: 180px;
}

.single-bien table th,
.single-bien table td {
    padding: 10px;
}

.single-bien table td {
    padding: 8px 0.75rem;
    vertical-align: text-bottom;
}

.single-bien table .btn {
    padding: 10px 15px !important;
    font-size: 1.125rem !important;
}

.single-bien table .text-green {
    color: #99b81f;
}

/* --- Contact Form Styles --- */
.contact-form {
    padding-block: 3vw;
}
.contact-form.page-contact-5 .row {margin-bottom: 15px;}
.biens-pagination {
    text-align: center;
    margin: 30px 0;
}

.biens-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px 4px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.biens-pagination .page-numbers.current {
    background: #99b81f;
    color: white;
    border-color: #99b81f;
}

.biens-pagination .page-numbers:hover:not(.current) {
    background: #e0e0e0;
}
.lot-vendu {
	color: #000;
	font-weight: bold;
}

.lot-reserve {
	color: #000;
	font-weight: bold;
}

.lot-option {
	color: #000;
	font-weight: bold;
}

.lot-disponible {
	color: #99b81f;
	font-weight: bold;
}

/*------------------------------------------- FILTER BIEN -----------------------------------------------------*/
.biens-filters {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.biens-filters h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.filter-options {
    list-style: none;
    padding-left: 0;
}

.filter-options li {
    margin-bottom: 8px;
}

.filter-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    margin-right: 10px;
}

/* Filters Container */
.biens-filters-container {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.filters-title {
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #333;
}

.postal-filters-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
}

.postal-filters {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.postal-filters li {
    flex: 0 0 auto;
}

.postal-filters li a {
    display: block;
    padding: 5px 25px;
    background: #f5f5f5;
    border-radius: 0;
    text-decoration: none;
    color: #333;
    font-size: 0.9em;
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.postal-filters li a:hover {
    background: #e0e0e0;
}

.postal-filters li a.active {
    background: #99b81f;
    color: white;
    border-color: #99b81f;
}

.loading{
   color:#99b81f;
   font-size: 16px;
}
/* Gallery Styles */
.main-gallery-slider {
    position: relative;
    margin-bottom: 20px;
}

.main-gallery-slider .gallery-slide {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.main-gallery-slider .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-counter {
    position: absolute;
    top: 7px;
    right: 18px;
    z-index: 10;
}
#gallery .h1-g {
    font-size: 25px !important;
}
.gallery-toggle {
    background: #99b81f;
    color: white;
    border: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 0 !important;
}
#gallery .localite-g{
    font-size: 18px !important;
}
.gallery-toggle:hover {
    background: #99b81f;
    transform: scale(1.05);
}

.gallery-toggle i {
    margin-right: 6px;
    font-size: 16px;
}

.image-count {
    font-weight: bold;
}

/* Slick slider overrides */
.slick-slider {
    position: relative;
}

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #99b81f;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-gallery-slider:hover .slick-prev,
.main-gallery-slider:hover .slick-next {
    opacity: 1;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-prev:hover, .slick-next:hover {
    background: #99b81f;
}
.dialog-type-lightbox.elementor-lightbox{
    display: none !important;
}
.container-xxl h1{
    font-size: 20px !important;
}
.btns-div{
    position: relative;
    bottom: -55px;
    margin: 20px;
}
.btns-div h5{
    font-weight: 400 !important;
    font-size: 14px !important;
}
.btn-hi {
    padding: 5px 20px;
    background: #00000000;
    color: #99b81f !important;
    border: 1px solid #99b81f;
    height: auto;
    border-radius: 0px;
    font-size: 12px;
    margin: 7px 0;
    width: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}
.btn-hi:hover {
    background-color: #99b81f !important;
    color:#fff !important;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .btns-div {
        bottom: -70px !important;
        margin: 10px !important;
    }
    .highlighted_informations * {
        padding-left: 2px;
        padding-right: 2px;
    }
}
@media (max-width: 768px) {
    .postal-filters {
        gap: 6px;
    }
    .btns-div {
        bottom: -55px !important;
        margin: 0px !important;
        padding-top: 15px;
    }
    .postal-filters li a {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    .highlighted_informations{
        padding-left: 15px;
        padding-right: 15px;   
    }
}
/* Responsive adjustments */
@media (max-width: 500px) {
    .single-bien .btnn {
        padding: 5px 5px;
        background: #000000;
        color: #fff !important;
        line-height: 1.25em;
        height: auto;
        border-radius: 0px;
        font-size: 10px;
        margin: 5px 0;
        width: auto;
        display: flex;
        gap: 5px;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-around;
        flex-direction: column;
    }
    .single-bien table td {
        padding: 8px 0.6rem !important;
        vertical-align: text-bottom;
        font-size: 12px;
    }
    .btns-div {
        bottom: 0px !important;
    }
    .highlighted_informations{
        padding-left: 30px;
        padding-right: 30px;   
    }
}
@media (max-width: 425px) {
    #gallery .h1-g {
        font-size: 20px !important;
    }
    #gallery .localite-g {
        font-size: 14px !important;
    }
    .main-gallery-slider .gallery-slide {
        position: relative;
        height: 380px;  
    }
    .slick-list {
        height: 380px !important;
    }
    .single-bien table th {
        font-size: 10px;
        font-weight: 400;
        text-transform: uppercase;
    }
    .single-bien table td {
        padding: 4px 0.2rem !important;
        vertical-align: text-bottom;
        font-size: 10px;
    }
    .single-bien table th, .single-bien table td {
        padding: 3px;
    }
    .single-bien h2 {
        font-size: 20px !important;
    }
    .single-bien h3 {
        font-size: 18px !important;
    }
}
@media (max-width: 375px) {
    .single-bien table th {
        font-size: 10px;
        font-weight: 400;
        text-transform: uppercase;
    }
    .single-bien table td {
        padding: 5px 0.1rem !important;
        vertical-align: text-bottom;
        font-size: 10px;
    }
    .single-bien h2 {
        font-size: 22px !important;
    }
    .single-bien h3 {
        font-size: 17px !important;
    }
}
@media (max-width: 320px) {
    
    .main-gallery-slider .gallery-slide {
        position: relative;
        height: 320px;  
    }
    .slick-list {
        height: 320px !important;
    }
    .single-bien h2 {
        font-size: 20px !important;
    }
    .single-bien h3 {
        font-size: 16px !important;
    }
}
