/* Real State Plugin Custom CSS (single file for all styles) */
.property-gallery-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    gap: 10px;
}
.property-gallery-grid .property-gallery-thumb ,.property-gallery-grid .property-gallery-thumb img{
    width: 100%;
    height: 100%;
}
.property-gallery-grid .property-gallery-thumb:nth-child(1){
    grid-column: span 2;
    grid-row: span 2;
}
/* ---- share modal ----- */
button.single-share-btn {
    background: #fff !important;
    color: #000 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-radius: 100px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 700 !important;
    padding: 8px 24px !important;
}
.share-modal-heading {
    color: #000 !important;
    text-align: center;
}
.share-modal-list a{
    color: #000 !important;
    padding: 15px 0px;
    border-bottom: 1px solid;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
    cursor: pointer;
}
button#close-modal {
    color: #000;
}
.single-share-btn {
    cursor: pointer;
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.property-share-section {
    bottom: 40px;
    position: absolute;
    left: 20px;
}
.property-gallery-count {
    position: absolute;
    bottom: 40px;
    right: 20px;
    background-color: rgba(21, 21, 21, .5);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 10px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.share-modal-list a:last-child{
    border-bottom: 0px !important;
}
.share-modal-list {
    display: flex;
    flex-direction: column;
}

/* Gallery :modal */
.property-gallery-modal .gallery-grid {
     display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 5px;
    height: 100%;
}
.property-gallery-modal .gallery-grid img {
    cursor:pointer;
}
.property-gallery-modal {
    width:100vw; height:100vh; max-width:100vw; max-height:100vh; background:#fff; border-radius:0; padding:42px 25px 40px 25px; min-height:60vh;
    box-shadow:0 -4px 32px #0005;
    transform:translateY(100%);
    opacity:1;
    transition:transform 0.32s cubic-bezier(.4,0,.2,1);
}
.property-gallery-modal .gallery-close {
    position: absolute;
    top: 10px;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    z-index: 2;
    font-weight: 500;
}
.property-gallery-modal-bg {
    display:none; position:fixed; z-index:9999; left:0; top:0; width:100vw; height:100vh; background:rgba(0,0,0,0.85);
    align-items:flex-end; justify-content:center;
}
.property-gallery-modal-bg.active { display:flex; }

.property-gallery-modal-bg.active .property-gallery-modal {
    transform:translateY(0);
}
/* Inline slider inside modal */
.property-gallery-slider {
    display: none;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.proeprty-image-full-width-image::-webkit-scrollbar {
  width:0;
}
.proeprty-image-full-width-image{
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}
.property-gallery-slider.active {
    display: flex;
}
.property-gallery-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2em;
    color: #000;
    cursor: pointer;
    user-select: none;
    z-index: 2;
    background: #fff;
    padding: 10px 10px 14px;
}
.property-gallery-slider-close {
    position: absolute;
    top: -32px;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    font-weight: 500;
    left: 0;
    background: #fff;
    z-index: 999;
} 
.property-gallery-slider-arrow.left { left: 0; }
.property-gallery-slider-arrow.right { right: 0; }
/* Property Feature Texonomy css */
.property-feature-list {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.property-feature-list li i{
    margin-right: 6px;
}

/* review form css */
.review-from-row{
    margin-bottom: 25px !important;
}
.review-from-row input , .review-from-row textarea{
    border: 1px solid #ffffff !important;
    padding: 13px 10px !important;
    border-radius: 4px ! IMPORTANT;
    color: #ffffff !important;
    background: transparent !important;
}
.review-from-row label{
    font-size: 16px;
    text-transform: uppercase;
    color: #ffffff !important;
    margin-bottom: 10px !important;
}
.property-review-form{
    max-width: 750px;
    margin: auto;
    background: #221e1e;
    padding: 40px 30px;
    border-radius: 4px;
}
.property-review-form .star{
    font-size: 24px !important;
}
.review-form-btn {
    padding: 12px 40px !important;
    text-transform: uppercase;
    font-weight: 700 !important;
}
.review-form-btn:hover{
    background: #ffffff !important;
    color: #000 !important;
}

.dropdown-enhanced {
    position: relative;
}

.custom-dropdown-toggle {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 5px;
}
.dropdown-options, .custom-multiselect-list.dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-options label {
    display: block;
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-options label:hover {
    background: #f2f2f2;
}

.custom-multiselect-list.dropdown-options.open {
    display: flex !important;
    flex-direction: column !important;
}

#property-filter-wrap #property-filter-form {
    margin-bottom: 40px;
}
#property-filter-wrap #property-filter-form .filter-row{
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 2fr 1fr;
    gap: 10px;
}
#property-filter-form .filter-row select ,#property-filter-form .filter-row .custom-multiselect-wrap .dropdown-enhanced{
  position: relative;
  min-width: 180px;
  margin-bottom: 0;
}
#property-filter-form .filter-row select ,#property-filter-form .filter-row .custom-multiselect-wrap .custom-dropdown-toggle{
    background:transparent;
    border: 1px solid #000000;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 15px;
    color: #000;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 0;
    user-select: none; 
    height: 48px;
    display: flex;
    align-items: center;
}
#property-filter-form .filter-row .custom-multiselect-wrap .dropdown-options {
    border: 1px solid #000000;
    min-width: 100%;
    max-height: 180px;
    overflow-y: auto;
    padding: 8px 0 8px 0;
    color: #000 !important;
    gap: 4px;
}
#property-filter-form .filter-row #property-filter-btn{
    background: #000;
    border: 1px solid #000;
    font-weight: 600;
    border-radius: 6px;
    font-family: 'Raleway', sans-serif;
}
#property-filter-form .filter-row #property-filter-btn:hover{
    background: #ffffff;
    border: 1px solid #000;
    font-weight: 600;
    color: #000  !important;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  font-size: 15px;
  cursor: pointer;
  gap: 7px;
  margin-bottom: 2px;
  user-select: none;
  padding: 2px 14px;
}
.custom-checkbox input[type="checkbox"] {
  accent-color: #000000;
  width: 16px;
  height: 16px;
  margin: 0 4px 0 0;
}
.custom-checkbox span {
  color: #000000;
}
.custom-multiselect-label {
  font-size: 14px;
  color: #000000;
  margin-bottom: 2px;
  margin-left: 2px;
}
.no-properties{
    color: #000;
    display: flex;
    align-items: anchor-center;
    justify-content: center;
    padding-top: 80px;
    font-weight: 500;
    font-size: 18px;
}
/* -------- Property Grid --------- */
#property-grid-wrap .property-grid{
    column-gap: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 30px;
}
#property-grid-wrap .property-grid .property-card{
    background: #fff;
    border: 1px solid #ddd;
    transition: all .2s linear;
    border-radius: 8px;
    overflow: hidden;
}
#property-grid-wrap .property-grid .property-card:hover{
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 13px 1px;
}
#property-grid-wrap .property-grid .property-card .property-thumb{
    max-height: 330px;
    min-height: 330px;
    overflow: hidden;
    position: relative;
}
#property-grid-wrap .property-grid .property-card .property-thumb .filter-property-card-top-meta {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    display: flex;
    gap: 8px;
}
#property-grid-wrap .property-grid .property-card .property-thumb .filter-property-card-top-meta span{
    background: #000;
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 5px;
}
#property-grid-wrap .property-grid .property-card .property-thumb a ,#property-grid-wrap .property-grid .property-card .property-thumb a img{
    height: 100%;
    max-height: 330px;
    min-height: 330px;
}
#property-grid-wrap .property-grid .property-card .property-thumb a img{
    transition: all .4s linear;
    transform: scale(1.11);
}
#property-grid-wrap .property-grid .property-card:hover .property-thumb img{
    transform: scale(1.11) translateX(5%) !important;
}
#property-grid-wrap .property-grid .property-card .property-info{
 padding: 25px 25px;
}
.filter-property-meta .property-price{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0b1533 !important;
}
.filter-property-meta .property-title a{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #000 !important;
    /* display: block; */
    line-height: 30px;
    min-height: 60px;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.filter-property-meta .property-location-with-meta-info{
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #000 !important;
    justify-content: space-between;
    min-height: 53px;
}
.filter-property-meta .property-location-with-meta-info .property-location-before{
    display: flex;
    gap: 12px;
    align-items: center;
}
.property-location-before.tower-name{
    margin-top: 5px;
}
.location-separator {
    padding: 0px 6px;
}
.filter-property-agents {
    background: #F2F2F2;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 20px;
    margin-top: 20px;
    min-height: 90px;
}
.filter-property-agents .property-agent {
    font-size: 16px;
    color: #000;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}
.filter-property-agents .property-agent img{
    border-radius: 100%;
    height: 60px;
    object-fit: cover;
    width: 61px;
    object-position: top;
}
.filter-property-logo{
    max-width: 150px !important;
    width: 100%;
}
.property-view-count {
    color: #000;
}
@media (max-width: 600px) {
  .dropdown-enhanced {
    min-width: 100%;
  }
  .dropdown-options {
    max-height: 110px;
  }
}


/* ----- Media Query ------- */
@media(min-width:576px) and  (max-width:1023px){
    .property-feature-list{
            grid-template-columns: 1fr 1fr !important;
    }
}
@media(max-width:575px){
    .property-feature-list{
        grid-template-columns: 1fr !important;
    }

}
@media (max-width:1440px){
    .filter-property-meta .property-price{
        font-size: 16px !important;
        font-weight: 700;
        margin-bottom: 10px !important;
    }
    .filter-property-meta .property-title a{
        font-size: 14px !important;
        line-height: 24px !important;
        min-height: 48px !important;
        margin-bottom: 10px !important;
    }
    .filter-property-meta .property-location-with-meta-info{
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    #property-grid-wrap .property-grid .property-card .property-info{
        padding: 25px 20px !important;
    }
    #property-grid-wrap .filter-property-logo{
        max-width: 130px !important;
    }
    .filter-property-agents .property-agent{
        gap: 8px !important;
        font-size: 12px !important;
    }
    .filter-property-agents .property-agent img{
        width: 40px !important;
        height: 40px !important;
    }
    .property-location-with-meta-info{

    }
}
@media(min-width:768px) and  (max-width:1199px){
    #property-grid-wrap .property-grid{
        grid-template-columns: 1fr 1fr !important;
    }
    #property-filter-wrap #property-filter-form .filter-row{
        grid-template-columns: 1fr 1fr !important;
    }
    #property-filter-form .filter-row #property-filter-btn{
        grid-column: span 2;
    }
}

@media(max-width:767px){
       #property-grid-wrap .property-grid{
        grid-template-columns:  1fr !important;
    }
        #property-filter-wrap #property-filter-form .filter-row{
        grid-template-columns: 1fr !important;
    }
    #property-filter-form .filter-row #property-filter-btn{
        grid-column:1;
    }
    #property-grid-wrap .property-grid .property-card .property-thumb{
        max-height: 270px !important;
        min-height: 270px !important;
        overflow: hidden;
    }
    #property-grid-wrap .property-grid .property-card .property-thumb a ,#property-grid-wrap .property-grid .property-card .property-thumb a img{
        height: 100%;
        max-height: 270px !important;
        min-height: 270px !important;
    }
    .property-gallery-modal .gallery-grid{
        grid-template-columns: 1fr  !important;
    }
}

@media(max-width:1023px){
    .property-gallery-grid{
        grid-template-columns: 1fr;
    }

    .property-gallery-grid .property-gallery-thumb:nth-child(n+2){
        display: none;
    }
    .property-gallery-count,.single-share-btn{
        padding: 6px 20px !important;
    }
    .property-gallery-count, .single-share-btn{font-size: 14px !important;}
    .property-share-section, .property-gallery-count{bottom: 20px !important;}
}
@media(min-width: 768px) and (max-width: 1023px){
    .property-gallery-modal .gallery-grid{
        grid-template-columns: 1fr 1fr !important;
    }
}
