 :root {
  --color-primary-purple: #004F87;
}


.search_input {
  position: relative;
}

.pl-search-clear {
    position: absolute;
    right: 112px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: #ff000078;
    user-select: none;
}

.pl-search-clear:hover {
  color: #333;
}


* {
  scrollbar-width: thin;
  scrollbar-color: #004f87 transparent;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: #004f87;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #9e9e9e;
}


.property-card {
    position: relative;
}
.current-property-badge {
    position: absolute;
    top: 54px;
    left: 0;
    background:#004f87;
    padding: 10px;
    width: 50%;
    color: #fff;
    border-radius: 0px 50px 50px 0px;
    text-align: center;
    font-size: 20px;
}




.pl-submenu-toggle {
  background: transparent;
  border: none;
  padding: 4px;
  margin-left: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.pl-submenu-toggle svg { width: 14px; height: 14px; transform: rotate(0deg); transition: transform .18s; }

/* rotate when open (specific to mapped menu item) */
#menu-item-1135.pl-submenu-open > .pl-submenu-toggle svg,
#menu-item-1135.pl-submenu-open > a + .pl-submenu-toggle svg {
  transform: rotate(180deg);
}

/* menu positioning — adapt to your theme */
#menu-item-1135 > .pl-contact-submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  padding: 10px;
  z-index: 9999;
}

/* show on hover for desktop */
@media (min-width:900px) {
  #menu-item-1135:hover > .pl-contact-submenu { display: block; }
}

/* mobile: static flow */
@media (max-width:899px) {
  #menu-item-1135 > .pl-contact-submenu { position: static; box-shadow:none; }
  #menu-item-1135.pl-submenu-open > .pl-contact-submenu { display: block; }
}

.pl-contact-submenu .pl-contact-item { padding:6px 8px; white-space:nowrap; }
.pl-contact-submenu .pl-contact-item a { text-decoration:none; color:inherit; }



.pl-card-map {
  width: 100%;
  height: 505px;
  border-radius: 6px;
  margin: 0.5rem 0;
}

 
.f_images {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  padding: 0 0;
}
 
.p_type_list.active .f_images {
  max-height: 800px;  
  padding: 10px 0;   
}



 
.p_type_list.active .f_type_list_wrapper {
  background: #fafafa;
}

 
.f_images img {
  max-width: 100%;
  display: block;
  margin-bottom: 8px;
}



















.p_gall_right {
  width: 100%;       
  overflow: hidden;
  position: relative;
 
}


.p_gall_right .list-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}




 
.p_r_img_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  cursor: pointer;
  user-select: none;
}

 
 
.p_r_label.show {
    font-size: 28px;
    color: #000;
    z-index: 9999;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
font-weight:bold;

}

 
.p_type_gallries {
    display: grid;
    grid-template-columns: 80% 1fr;
    gap: 16px;
}
div#p-img-left {
    width: 100%;
}
 
div#p-img-left img {
    width: 100%;
    height: 533px;
    object-fit: cover;
    border-radius:16px;
}

.p_r_img {
  box-sizing: border-box;
  height: 167px;                 
  align-items: center;
  position: relative;
}

.property_pagination a {
    padding: 8px 20px;
    background: gainsboro;
    border-radius: 8px;
    color: #fff;
}
.property_pagination span {
    padding: 8px 20px;
    background: var(--color-primary-purple);
    border-radius: 8px;
    color: #fff;
 
}

.property_pagination a:hover {
   background: var(--color-primary-purple);
    color: #fff!important;
}


.property_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0px 20px;
    margin: 0px!important;
    gap: 16px;
    flex-wrap: wrap;
}

.property_pagination span.disabled {
    background: gainsboro;
  
}


.pl-popup h4 a {
    color: var(--color-primary-purple);
    font-weight: bold;
    font-size: 18px;
    text-decoration: underline;
}
.pl-popup h4 {
 margin-bottom:8px
}
.pl-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}
a.pl-link {
    background:var(--color-primary-purple);
    color: #fff!important;
    padding: 4px;
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 4px;
    margin-top:6px;
}

 









.unit-img img, .unit-thumb { cursor:pointer; }

.unit-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: #000000d6;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 0px;
}
.unit-popup[aria-hidden="false"]{ display:flex; }

.unit-popup-inner {
  display:flex;
  align-items:center;
  gap:20px;
  max-width:1100px;
  width:100%;
  justify-content:center;
  position:relative;
}

.unit-img-wrap { width:100%; position:relative; max-width:80%; max-height:80%; display:flex; align-items:center; justify-content:center; }

.unit-img-wrap img { 
width:100%;
max-width:100%;
max-height:80vh;
object-fit: cover;
border-radius:6px; 
box-shadow:0 10px 30px rgba(0,0,0,0.5); 
}

.unit-close {
  position: absolute;
  top:18px;
  right:24px;
  font-size:36px;
  color:#fff;
  background:transparent;
  border:none;
  cursor:pointer;
}

.unit-nav {
  background:transparent;
  color:#fff;
  font-size:28px;
  border:none;
  cursor:pointer;
  padding:8px 12px;
  user-select:none;
}

.unit-index {
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  color:#fff;
  font-size:14px;
  background: rgba(0,0,0,0.45);
  padding:6px 10px;
  border-radius:20px;
}
.unit-popup-inner button:focus {
    background: unset;
}
.unit-popup-inner button:focus-visible {
    border: unset;
}
button#unitClose {
    background: unset!important;
    border: unsetimportant;
}
@media (max-width:700px){
  .unit-nav { display:none; }  
  .unit-thumb{ max-width:45%; }
}






 
.other-properties-list .property-card {
  transition: transform .28s ease, box-shadow .28s ease, opacity .28s ease;
  opacity: 0.98;
}

 
.other-properties-list .property-card.is-visible {
  opacity: 1;
}

 
.other-properties-list .property-card.is-active {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
  border: 2px solid #7065F0; 
}

 
.other-properties-wrapper .custom-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  align-items: center;
}

 
.other-properties-wrapper .custom-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
button.custom-dot:focus {
    background: unset;
}

 
.other-properties-wrapper .custom-dot.active {
  background: var(--color-primary-purple);
  transform: scale(1.18);
  box-shadow: 0 4px 8px rgba(112,101,240,0.18);
}

 
.custom-dot:focus { outline: 3px solid rgba(112,101,240,0.18); }

.other-properties-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}