/* Sadaf property gallery v4: one unified image surface, controls over image. */
.listing-v3 .ld-visually-hidden{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important
}
.listing-v3 .ld-gallery-section{margin:0!important;min-width:0}
.listing-v3 .ld-image-stage{
  position:relative;isolation:isolate;width:100%;overflow:hidden;
  border-radius:17px;border:1px solid #d2e1d6;
  background:#e7efe9;box-shadow:0 5px 22px rgba(8,46,33,.08)
}
.listing-v3 .ld-image-stage .ld-gallery-rail{
  margin:0!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;background:transparent!important
}
.listing-v3 .ld-image-stage .ld-gallery-rail .ld-slide{
  max-height:495px;aspect-ratio:16/10;border-radius:0!important;
  border:0!important;box-shadow:none!important
}
.listing-v3 .ld-image-stage .ld-gallery-rail .ld-slide.photo-loaded::after{
  display:none!important;content:none!important
}
.listing-v3 .ld-image-overlay{
  position:absolute;inset:0;z-index:15;pointer-events:none;
  direction:ltr;color:#fff
}
.listing-v3 .ld-image-overlay::after{
  content:"";position:absolute;z-index:0;left:0;right:0;bottom:0;height:76px;
  background:linear-gradient(0deg,rgba(7,33,26,.53),rgba(7,33,26,0));pointer-events:none
}
.listing-v3 .ld-overlay-total,
.listing-v3 .ld-overlay-position{
  position:absolute;z-index:1;display:inline-flex;align-items:center;justify-content:center;
  min-height:31px;border:1px solid rgba(255,255,255,.26);border-radius:999px;
  background:rgba(6,42,32,.72);color:#fff;backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);box-shadow:0 2px 12px #0b251a23;
  font-size:.79rem;font-weight:800;line-height:1.3;white-space:nowrap;
  font-variant-numeric:tabular-nums;direction:rtl
}
.listing-v3 .ld-overlay-total{
  top:12px;right:12px;padding:6px 12px
}
.listing-v3 .ld-overlay-position{
  bottom:13px;left:50%;transform:translateX(-50%);padding:5px 15px;
  font-size:.84rem;min-width:73px
}
.listing-v3 .ld-overlay-expand,
.listing-v3 .ld-overlay-arrow{
  position:absolute;z-index:2;display:grid;place-items:center;flex:none;cursor:pointer;
  padding:0;color:#fff;border:1px solid rgba(255,255,255,.36);
  background:rgba(5,46,36,.66);backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);box-shadow:0 2px 11px #091d1745;
  transition:background .17s,opacity .17s,transform .17s;
  pointer-events:auto;user-select:none;-webkit-tap-highlight-color:transparent
}
.listing-v3 .ld-overlay-expand{
  top:12px;left:12px;width:40px;height:40px;border-radius:11px
}
.listing-v3 .ld-overlay-expand svg{width:21px;height:21px}
.listing-v3 .ld-overlay-arrow{
  width:42px;height:45px;top:50%;transform:translateY(-50%);border-radius:13px;
  font:700 23px/1 sans-serif
}
.listing-v3 .ld-arrow-prev{right:12px}
.listing-v3 .ld-arrow-next{left:12px}
.listing-v3 .ld-overlay-arrow>span{display:block;line-height:1}
.listing-v3 .ld-overlay-expand:hover,
.listing-v3 .ld-overlay-arrow:hover:not(:disabled){background:rgba(3,85,59,.92)}
.listing-v3 .ld-overlay-arrow:disabled{
  opacity:.18;pointer-events:none;cursor:default;box-shadow:none
}
.listing-v3 .ld-overlay-arrow:focus-visible,
.listing-v3 .ld-overlay-expand:focus-visible{
  outline:3px solid #f3d993;outline-offset:3px
}
/* No detached thumbnail, count or navigation strip: the image is the only gallery card. */
.listing-v3 .ld-gallery-top,
.listing-v3 .ld-thumb-row,
.listing-v3 .ld-gallery-controls{display:none!important}
/* Fullscreen keeps left=next, right=previous, with a compact centered counter. */
.ld-lightbox .ld-lightbox-prev{right:12px;left:auto}
.ld-lightbox .ld-lightbox-next{left:12px;right:auto}
.ld-lightbox .ld-lightbox-prev:disabled,
.ld-lightbox .ld-lightbox-next:disabled{opacity:.25;pointer-events:none}
.ld-lightbox .ld-lightbox-status{min-width:76px;text-align:center}
@media(max-width:700px){
  .listing-v3 .ld-image-stage{border-radius:14px}
  .listing-v3 .ld-image-stage .ld-gallery-rail .ld-slide{
    max-height:410px;aspect-ratio:4/3
  }
  .listing-v3 .ld-overlay-total{top:9px;right:9px;min-height:29px;font-size:.73rem;padding:5px 10px}
  .listing-v3 .ld-overlay-expand{top:9px;left:9px;width:44px;height:44px;border-radius:11px}
  .listing-v3 .ld-overlay-expand svg{width:19px;height:19px}
  .listing-v3 .ld-overlay-arrow{width:44px;height:44px;font-size:23px;border-radius:11px}
  .listing-v3 .ld-arrow-prev{right:9px}
  .listing-v3 .ld-arrow-next{left:9px}
  .listing-v3 .ld-overlay-position{bottom:10px;font-size:.76rem;min-height:28px;padding:5px 12px}
}
@media(max-width:390px){
  .listing-v3 .ld-image-stage .ld-gallery-rail .ld-slide{aspect-ratio:6/5}
  .listing-v3 .ld-overlay-arrow{width:44px;height:44px}
  .listing-v3 .ld-arrow-prev{right:7px}
  .listing-v3 .ld-arrow-next{left:7px}
}
@media(prefers-reduced-motion:reduce){
  .listing-v3 .ld-overlay-arrow,.listing-v3 .ld-overlay-expand{transition:none}
}

.ld-lightbox .ld-lightbox-prev[hidden],.ld-lightbox .ld-lightbox-next[hidden]{display:none!important}
.listing-v3 .ld-image-overlay[hidden]{display:none!important}

.ld-lightbox .ld-lightbox-prev,.ld-lightbox .ld-lightbox-next{width:46px;height:52px}
.ld-lightbox .ld-lightbox-prev:disabled,.ld-lightbox .ld-lightbox-next:disabled{opacity:.22;cursor:default;pointer-events:none}
