.acf-gallery-wrapper { display:flex; gap:15px; }
.acf-gallery-left img { width:100%; border-radius:8px;  width: 70%;}
.acf-gallery-thumbs { display:grid; grid-template-columns:repeat(2,1fr); gap:10px;  width: 30%;}
.acf-gallery-thumbs .thumb { position:relative; cursor:pointer; }
.acf-gallery-thumbs .thumb img { width:100%; height: 100%; }
.acf-gallery-thumbs .tag { position:absolute; bottom:5px; left:5px; background:#e91e63; color:#fff; font-size:12px; padding:3px 6px; border-radius:3px; }
.acf-gallery-thumbs .more-photos { display:flex; align-items:center; justify-content:center; background:#000; color:#fff; font-size:16px; border-radius:6px; cursor:pointer; }

.acf-modal { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.7); z-index:9999; display:flex; align-items:center; justify-content:center; }
.acf-modal-content { background:#fff; padding:20px; border-radius:8px; width:100%; position:relative; }
.acf-modal-close { position:absolute; top:10px; right:15px; font-size:22px; cursor:pointer; }
.acf-tabs { list-style:none; display:flex; gap:15px; margin:0 0 15px; padding:0; }
.acf-tabs li { padding:8px 14px; border:1px solid #ddd; cursor:pointer; }
.acf-tabs li.active { background:#333; color:#fff; }
.acf-tab-pane { display:none; }
.acf-tab-pane.active { display:flex; flex-wrap:wrap; gap:10px; }

.acf-gallery-left {
    height: 600px;
}
.acf-gallery-left img.main-featured {
    height: 100%;
    width: 100%;
}
.acf-gallery-thumbs img {
    height: 100% !important;
    object-fit: cover;
}
.acf-gallery-wrapper img {
    border-radius: 14px !important;
}

.property-type-options {
    position: relative;
    display: inline-flex;
}
.property-details-box {
    max-height: 400px;   /* Fixed height */
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.property-details-box .read-more-btn {

    padding: 6px 12px;
    border: none;
    cursor: pointer;
    margin-top: 8px;

    background: #ebebeb;
    color: #ff0009 !important;
    width: 100%;
    border-radius: 0;
    position: absolute;
    bottom: 0px;
}

/* Popup styles */
.property-details-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.property-details-popup .popup-inner {
    background: #fff;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    border-radius: 8px;
}

.property-details-popup .popup-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
}


.category-property-swiper {
  width: 100%;
  position: relative;
}

.category-property-swiper .swiper-wrapper {
  display: flex;
}

.category-property-swiper .swiper-slide {
  width: auto; /* allow Swiper JS to calculate */
  flex-shrink: 0;
}
.suggestions-box {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}
.suggestion-item {
    padding: 8px 10px;
    cursor: pointer;
}
.suggestion-item:hover {
    background: #f5f5f5;
}
