.results-pane,.results-pane .results-head,.results-pane .cards{background:#fff}
.results-pane .cards{gap:8px;padding-top:8px}
.listing-card.card{min-width:0;background:#fff;border:0;border-radius:12px;overflow:hidden;box-shadow:0 8px 20px rgb(0 0 0 / 15%);color:#111116;transform:none}
.listing-card.card:hover{transform:none;box-shadow:0 8px 20px rgb(0 0 0 / 15%)}
.listing-gallery{position:relative;background:#eee;isolation:isolate}
.listing-photo-track{display:flex;direction:ltr;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;aspect-ratio:1.88}
.listing-photo-track::-webkit-scrollbar{display:none}
.listing-photo{display:block;flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always;color:inherit}
.listing-photo img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}
.listing-status{position:absolute;top:10px;right:10px;z-index:2;display:flex;align-items:center;gap:5px;padding:3px 9px;border-radius:20px;background:#fff;color:#121116;font-size:12px;font-weight:700;line-height:18px;pointer-events:none}
.listing-status:before{content:'';width:6px;height:6px;border-radius:50%;background:#a3000b}
.listing-video-badge{position:absolute;right:10px;bottom:10px;z-index:4;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#10203acc;color:#fff;pointer-events:none;box-shadow:0 2px 7px #0003}
.listing-video-badge svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.listing-card .listing-favorite{position:absolute;z-index:5;top:4px;left:4px;width:48px;height:48px;display:grid;place-items:center;padding:8px;border:0;border-radius:50%;background:transparent;filter:drop-shadow(0 2px 3px #0005)}
.listing-card .listing-favorite svg{width:30px;height:30px;fill:#0003;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.listing-card .listing-favorite.saved svg{fill:#fff;stroke:#fff}
.listing-card .listing-favorite:disabled{opacity:.65}
.listing-card .listing-details{display:block;color:#111116;padding:12px 12px 10px;text-decoration:none;font-family:Inter,"Inter Fallback",Arial,"Noto Sans Hebrew",sans-serif}
.listing-price{font-family:"Object Sans","Object Sans Fallback",Inter,"Inter Fallback",Arial,sans-serif;font-size:20px;font-weight:900;line-height:24px;letter-spacing:0;margin:0 0 2px}
.listing-price>span{font-size:14px;font-weight:400;letter-spacing:0}
.listing-facts{display:flex;flex-wrap:wrap;align-items:center;gap:0;margin:0 0 2px;color:#111116;font-size:14px;line-height:24px}
.listing-facts>span{padding-inline:6px;border-inline-start:1px solid #777;white-space:nowrap}
.listing-facts>span:first-child{padding-inline-start:0;border:0}
.listing-facts strong{font-weight:700}
.listing-address{color:#535364;font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.listing-dots{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;direction:ltr;padding:4px 6px;background:#242424a6;border-radius:99px;pointer-events:none}
.listing-dot{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#ffffff80}
.listing-dot.active{background:#fff;transform:scale(1.25)}
.listing-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:grid;place-items:center;width:40px;height:48px;padding:8px;border:0;border-radius:8px;background:#0003;color:#fff;opacity:0;cursor:pointer}
.listing-arrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #0008)}
.listing-previous{left:5px}.listing-next{right:5px}
.listing-card:hover .listing-arrow:not(:disabled),.listing-card:focus-within .listing-arrow:not(:disabled){opacity:1}
.listing-arrow:disabled{visibility:hidden}
.listing-card :is(button,a,.listing-photo-track):focus-visible{outline:3px solid #0041d9;outline-offset:-3px}
.listing-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.map-property-card{position:absolute;z-index:1100;bottom:32px;left:16px;right:94px;width:calc(100% - 110px);max-width:370px;margin-inline:auto;direction:rtl;filter:drop-shadow(0 5px 14px #0002)}
.map-property-card[hidden]{display:none}
.map-property-card .listing-card{width:100%}
.map-pane.map-card-open .map-bottom-actions,.map-pane.map-card-open .mobile-map-count{visibility:hidden;pointer-events:none}
.gm-dirali-overlay[aria-pressed="true"] .map-dot,.gm-dirali-overlay[aria-pressed="true"] .price-marker,.gm-dirali-overlay[aria-pressed="true"] .map-new-marker{background:#0041d9}
@media(max-width:760px){
  .results-pane .cards{padding-inline:16px;gap:8px}
  .listing-card.card{border-radius:12px}
  .listing-photo-track{aspect-ratio:2}
  .listing-card .listing-details{padding:12px 12px 10px}
  .listing-price{font-size:20px;line-height:24px}
  .listing-facts{font-size:14px;line-height:24px;margin:0 0 2px}
  .listing-address{font-size:14px;line-height:24px}
  .listing-arrow{display:none}
  /* Match the narrow, even inset in the mobile map reference. Use the same
     viewport anchor as the bottom navigation, including the device safe area. */
  .map-property-card{position:fixed;left:8px;right:8px;width:auto;max-width:none;bottom:calc(var(--member-nav-height) + 8px)}
  .map-property-card .listing-photo-track{aspect-ratio:2;max-height:none}
  body.map-card-open .mobile-view-toggle{display:none!important}
}
@media(hover:none){.listing-arrow{display:none}}
@media(max-width:380px){.results-pane .cards{padding-inline:12px}}
@media(max-height:500px){.map-property-card .listing-photo-track{max-height:20dvh}}
