.property-gallery-container {
    display: -ms-flexbox;
    max-width: 1500px;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.property-gallery-container {
    display: -ms-flexbox;
    max-width: 1500px;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.gallery-container {
    display: flex;
    max-width:100%;
    flex-direction: row-reverse;
    gap: 20px;
    align-items: flex-start;
}

.main-gallery {
    width: 75%;
    flex-grow: 1;
}

/* Scrollable area for thumbnails */
.vertical-scroll-wrapper {
    width: 20%;
    max-height: 500px; /* Set this to match your main image height */
    overflow-y: auto;
    overflow-x: hidden;

    /* Smooth scrolling behaviour */
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; 
}

.owl-carousel .owl-item img {
    height: 500px; /* Set this to your desired main image height */
    width: 100%;
    object-position: 50% 100%;
	object-fit: cover;
    width: 100%;
}

/* Hide scrollbar for clean UI (Optional) */
.vertical-scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}

.featured-properties-carousel {
    position: relative;
    overflow: hidden;
}

.featured-properties-carousel .item.listing-block-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.featured-properties-carousel .listing-block-wrapper {
    margin-bottom: 0;
}

.featured-properties-carousel .block-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.featured-properties-carousel .property_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.featured-properties-carousel .img-holder img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 1024px) {
    .featured-properties-carousel .item.listing-block-wrapper {
        width: 100%;
    }
}
.vertical-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.thumbs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
} 

.thumb-item img {
    width: 100%;
    display: block;
    cursor: pointer;
    opacity: 0.6;
}

.thumb-item.active img {
    opacity: 1;
}

.main-container {
    display: flex;
    gap: 20px;
    margin: 0 auto;
}

.main-body {
    width: 75%;
    grow: 1;
}

.property_sidebar {
    width: 25%;
}

.property_sidebar h5{
    margin-top:0;
    font-size:22px;
    text-align:center;
    color:#260859;
    margin-bottom:5px;
}

.agent_contact {
    background:#fff;
}

.broker-button {
    border: 2px solid #3cc89e;
    color: #3cc89e !important;
    text-decoration: none !important;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 900;
}

.broker-button {
    border:2px solid #3cc89e;
    text-decoration:none !important;
    padding:5px;
    margin-top:10px;
    margin-bottom:10px;
    font-weight:100;
    text-align:center;
}

.broker-button {
    color:#3cc89e;
}

.property_sidebar .wpcf7-submit {
    margin-top:0 !important
}

#brokerContact img {
    margin-bottom:10px;
}

.AboutWrapper {
    font-size:16;
}

.b10-margins {
    margin-top:0;
    margin-bottom:10px;
}

.sharing-box {
	display:flex;
	vertical-align:center;
	padding:1em 2em 0;
	justify-content:center;
}

.sharing-box-name {
	margin-right:10px;
	color:#333;
	font-weight:100;
	font-size:12px;
}


@media (max-width: 840px) {
	
	.owl-carousel .owl-item img, .vertical-scroll-wrapper {
		max-height:200px !important;
	}
	
	.main-gallery {
		width:100% !important;
	}

	.vertical-scroll-wrapper {
		display:none;
	}

    .main-container {
        flex-direction:column;
    }

    .main-body, .property_sidebar {
        width:100% !important;
    }
}