/* Modal Size */
   .header-section-m {
      z-index: 999 !important;
   }
/* FULL SCREEN MODAL FIX */
.propertySlider .modal-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
}

.propertySlider .modal-content,
.custom-gallery-modal {
    width: 100%;
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: #000;
    overflow: hidden;
}

/* BODY */
.custom-gallery-modal .modal-body {
    width: 100%;
    height: 100vh;
    padding: 0;
    position: relative;
}

/* IMAGE WRAPPER */
.popup-image-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* IMAGE FIX */
.popup-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* CLOSE BUTTON (FIXED POSITION) */
.custom-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.custom-close-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* OWL NAV CENTER FIX */
.propertySlider .owl-nav button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    font-size: 28px !important;
    transition: 0.3s;
}

.propertySlider .owl-nav .owl-prev {
    left: 20px;
}

.propertySlider .owl-nav .owl-next {
    right: 20px;
}

.propertySlider .owl-nav button:hover {
    background: rgba(255,255,255,0.35) !important;
}

/* REMOVE DOTS */
.propertySlider .owl-dots {
    display: none;
}

/* 🚀 MOBILE FIX */
@media (max-width: 768px) {

    .popup-image-wrapper {
        height: 100vh;
    }

    .custom-close-btn {
        width: 38px;
        height: 38px;
        top: 15px;
        right: 15px;
    }
    
    .propertySlider .owl-nav button {
        width: 42px;
        height: 42px;
        font-size: 20px !important;
    }

    /* LEFT ARROW */
    .propertySlider .owl-nav .owl-prev {
        left: 10px;
    }

    /* RIGHT ARROW */
    .propertySlider .owl-nav .owl-next {
        right: 10px;
    }
}

.mobile-back-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1rem;
}