/* Listing filters and property cards — keeps the All Realestate palette. */
.listing-page{padding-top:28px}
.listing-heading{align-items:end;margin-bottom:20px}
.listing-heading h1{margin-bottom:8px}
.listing-heading p{margin:0;color:#686860}
.filter-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px;background:#f7f6f3;border:1px solid #e6e3dc;border-radius:10px;overflow:visible}
.filter-bar input,.filter-bar select,.filter-popover summary,.filter-toggle,.filter-clear{min-height:44px;border:1px solid #d8d5cc;border-radius:7px;background:#fff;color:#282823;padding:9px 12px;font:inherit;font-size:13px}
.filter-bar select{min-width:96px;max-width:175px;cursor:pointer}
.location-filter{display:flex;flex:1 1 245px;min-width:210px;position:relative}
.location-filter input{width:100%;min-width:0;padding-right:48px}
.location-add{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:5px;background:#f0eee8;color:#282823;cursor:pointer}
.location-add svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.filter-popover{position:relative}
.filter-popover summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:110px;cursor:pointer;list-style:none}
.filter-popover summary::-webkit-details-marker{display:none}
.filter-popover[open] summary{border-color:#c5a04e}
.filter-popover-panel{position:absolute;top:calc(100% + 8px);left:0;z-index:30;display:grid;grid-template-columns:1fr 1fr;gap:10px;width:min(360px,calc(100vw - 32px));padding:15px;background:#fff;border:1px solid #e5e3dd;border-radius:10px;box-shadow:0 12px 28px #0002}
.filter-popover-panel label,.filter-advanced label{display:grid;gap:5px;color:#55554f;font-size:12px;font-weight:600}
.filter-popover-panel input,.filter-advanced input{width:100%;min-width:0}
.filter-toggle{cursor:pointer;white-space:nowrap}
.filter-toggle[aria-expanded="true"]{border-color:#c5a04e;background:#fcfaf5}
.filter-clear{display:inline-flex;align-items:center;justify-content:center;min-width:58px;color:#5b5a54;text-decoration:underline;text-underline-offset:3px}
.filter-bar .gold-button{min-height:44px;border-radius:7px;padding-inline:20px}
.filter-advanced{flex:1 0 100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 2px 2px;border-top:1px solid #e5e3dd}
.filter-advanced[hidden]{display:none}
.filter-advanced .check{display:flex;align-items:center;gap:8px;align-self:end;min-height:42px}
.filter-advanced .check input{width:18px;height:18px;flex:0 0 18px;accent-color:#c5a04e}
.listing-tools{gap:16px}
.listing-count{font-weight:600;color:#34342f}
.listing-actions{display:flex;align-items:center;gap:14px}
.listing-actions label{display:flex;align-items:center;gap:8px;color:#62625b;font-size:12px}
.listing-actions select{min-height:40px;border:1px solid #d8d5cc;border-radius:7px;background:#fff;padding:7px 30px 7px 10px;color:#282823;font:inherit;font-size:13px}
.map-view-toggle{text-decoration:none;white-space:nowrap}
.property-grid{align-items:start;gap:22px}
.property-card{position:relative;overflow:hidden;border:1px solid #e5e3dd;border-radius:12px;background:#fff;color:#282823;box-shadow:0 2px 8px #1a1a140a;transition:box-shadow .2s ease,transform .2s ease}
.property-card:hover{box-shadow:0 12px 28px #0002;transform:translateY(-2px)}
.property-card-image{height:auto;aspect-ratio:1.52/1;overflow:hidden;position:relative;background:#f1efeb}
.property-card-image-link{position:absolute;inset:0;z-index:1;display:block;color:inherit;text-decoration:none}.property-card-image-link>img,.property-card-image-link>.gallery-placeholder{display:block;width:100%;height:100%;object-fit:cover}.property-card-image-link:focus-visible{outline:3px solid #c5a04e;outline-offset:-3px;z-index:2}.property-card-image>img{display:block;width:100%;height:100%;object-fit:cover}
.property-card-image .gallery-placeholder{display:grid;place-items:center;width:100%;height:100%;background:#f1efeb;color:#777}
.property-status-badge{position:absolute;left:12px;top:12px;max-width:calc(100% - 70px);padding:6px 10px;border-radius:5px;background:#fff;color:#272721;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.favorite-toggle{position:absolute;z-index:3;right:11px;top:11px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffffba;border-radius:50%;background:#fff;color:#373731;cursor:pointer}
.favorite-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.favorite-toggle.is-saved{background:#fff7f4;color:#ad3b35}
.favorite-toggle.is-saved svg{fill:#ad3b35}
.gallery-step{position:absolute;z-index:3;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#ffffffed;color:#282823;cursor:pointer;box-shadow:0 2px 8px #0002}
.gallery-step svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gallery-prev{left:10px}.gallery-next{right:10px}
.gallery-count{position:absolute;z-index:3;right:54px;bottom:11px;padding:4px 8px;border-radius:12px;background:#1d1d1bcc;color:#fff;font-size:11px;font-variant-numeric:tabular-nums}
.property-card-copy{padding:15px 16px 17px}
.property-card-type{margin:0 0 6px;color:#74684d;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.property-card-copy h2{margin:0 0 5px;font:500 20px/1.2 'Playfair Display',Georgia,serif}
.property-card-copy h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.property-card-copy>p:not(.property-card-type){margin:0 0 10px;color:#66665f;font-size:13px}
.property-card-price{display:block;margin:0 0 12px;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
.property-card-facts{display:flex;flex-wrap:wrap;gap:9px 18px;border-top:1px solid #eeece6;padding-top:11px;color:#4b4b45}
.property-card-facts span{display:inline-flex;align-items:center;gap:5px;font-size:12px}
.property-card-fact-icon{display:block;width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;color:#75694e}
.property-card-facts b{font-size:14px;font-variant-numeric:tabular-nums}
.property-card-facts small{color:#6f6f68;font-size:11px;white-space:nowrap}
.card-external-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;margin:12px 0 0;padding:10px 12px;border-radius:7px;font-size:12px;text-align:center}
.listing-pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:30px 0 10px;color:#62625b;font-size:13px}
.listing-pagination a{text-decoration:none}
.listing-pagination a:hover{text-decoration:underline;text-underline-offset:3px}
.map-view-layout{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);gap:18px;padding-top:24px}
.map-view-panel{align-self:start;padding:22px;border:1px solid #e5e3dd;border-radius:12px;background:#f7f6f3}
.map-view-intro h2{margin:0 0 7px;font:500 22px/1.25 'Playfair Display',Georgia,serif}
.map-view-intro p,.map-empty p{margin:0;color:#62625b;font-size:13px}
.map-empty{margin-top:18px;padding:14px;border:1px dashed #c9c5bc;border-radius:8px;background:#fff}
.listing-map{position:relative;height:400px;overflow:hidden;border:1px solid #d7d7d1;border-radius:9px;background:#e5e9e5;isolation:isolate;cursor:grab;touch-action:none;user-select:none;margin-top:16px}
.listing-map.is-dragging{cursor:grabbing}
.map-tile-layer,.map-marker-layer{position:absolute;inset:0;overflow:hidden}
.map-tile{position:absolute!important;display:block!important;width:256px!important;height:256px!important;max-width:none!important;object-fit:cover;pointer-events:none;user-select:none}
.map-marker-layer{pointer-events:none}
.map-pin{position:absolute;display:grid;place-items:center;width:30px;height:30px;border:2px solid #fff;border-radius:50% 50% 50% 3px;background:#b23f35;color:#fff;text-decoration:none;font-size:14px;font-weight:700;line-height:1;box-shadow:0 2px 7px #0005;transform:translate(-50%,-90%) rotate(-45deg);pointer-events:auto}
.map-pin:hover,.map-pin:focus-visible{z-index:2;background:#8c2d25;outline:3px solid #fff;outline-offset:2px}
.map-pin-icon{display:block;width:15px;height:15px;transform:rotate(45deg)}
.map-controls{position:absolute;top:12px;right:12px;z-index:3;display:grid;gap:5px}
.map-controls button{width:36px;height:36px;border:1px solid #c7c7c0;border-radius:6px;background:#fff;color:#292923;font-size:21px;line-height:1;cursor:pointer;box-shadow:0 1px 4px #0002}
.map-controls button:hover{background:#f3f1eb}
.map-attribution{position:absolute;right:0;bottom:0;z-index:3;padding:4px 7px;background:#ffffffd9;color:#3e3e39;font-size:10px}
.map-attribution a{color:inherit}
.map-location-list{display:grid;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.map-location-list a{display:block;padding:10px 12px;border-radius:7px;background:#fff;color:#35352f;font-size:13px}
.map-location-list a:hover{text-decoration:underline;text-underline-offset:3px}
.map-view-list{display:grid;gap:10px;align-content:start}
.map-result{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border:1px solid #e5e3dd;border-radius:10px;background:#fff}
.map-result h3{margin:0 0 4px;font:500 18px/1.25 'Playfair Display',Georgia,serif}
.map-result p{margin:0 0 5px;color:#66665f;font-size:13px}
.map-result strong{font-size:14px}
.property-status-label{margin:0 0 8px;color:#71654b;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.property-marketing-headline{font:500 22px/1.3 'Playfair Display',Georgia,serif;color:#4f4a3c}
.external-listing-button{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;max-width:100%;margin:0 0 18px;padding:13px 17px;border-radius:7px;background:#c5a04e;color:#fff;font-weight:700;text-decoration:none;box-shadow:0 4px 12px #0002}
.external-listing-button:hover{background:#a98639}
.external-listing-placeholder,.external-listing-placeholder:hover,.external-listing-placeholder:disabled{appearance:none;border:1px dashed #a69a80;background:#f2f0ea;color:#4f4a3c;cursor:not-allowed;font-family:inherit;text-align:left;opacity:1;box-shadow:none}
.property-action-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin:0 0 22px}
.property-action-row .external-listing-button,.property-action-row .property-map-link{margin:0}
.property-location-section{scroll-margin-top:96px;margin:48px 0 70px;padding-top:28px;border-top:1px solid #e5e3dd}
.property-location-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 16px}
.property-location-heading h2{margin:0;font:500 26px/1.25 'Playfair Display',Georgia,serif}
.property-location-heading p{margin:7px 0 0;color:#66665f;font-size:13px}
.property-location-map{height:460px;margin-top:0;border-radius:12px;scroll-margin-top:96px}
.property-location-section .map-empty{scroll-margin-top:96px}
.property-map-link{display:inline-flex;align-items:center;gap:6px;margin:0 0 16px;color:#4d493e;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.property-map-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.property-inspections{margin:22px 0;padding:16px 18px;border:1px solid #e5e3dd;border-radius:10px;background:#f7f6f3}
.property-inspections h2{margin:0 0 10px;font:500 21px/1.3 'Playfair Display',Georgia,serif}
.property-inspection-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:10px 0;border-top:1px solid #e5e3dd;font-size:13px}
.property-inspection-row:first-of-type{border-top:0}
.property-inspection-row small{color:#66665f}
.external-listing-button:focus-visible,.property-map-link:focus-visible,.gallery-step:focus-visible,.favorite-toggle:focus-visible,.filter-clear:focus-visible,.filter-toggle:focus-visible{outline:3px solid #392f19;outline-offset:3px}
.property-gallery{display:block;position:relative;overflow:hidden;min-height:260px;background:#f1efeb;border-radius:12px}
.property-gallery>[data-gallery-image]{display:block;width:100%;height:min(62vw,620px);min-height:260px;object-fit:cover}
.property-gallery .gallery-step{width:42px;height:42px}
.property-gallery .gallery-count{right:64px;bottom:16px}
@media(max-width:1000px){.filter-bar{gap:7px}.location-filter{flex-basis:220px}.property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.map-view-layout{grid-template-columns:1fr}}
@media(max-width:760px){.filter-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px}.location-filter{grid-column:1/-1;min-width:0}.filter-popover{min-width:0}.filter-popover summary{min-width:0}.filter-bar>select{width:100%;max-width:none;min-width:0}.filter-bar>.gold-button,.filter-bar>.filter-toggle,.filter-bar>.filter-clear{width:100%;min-width:0;justify-content:center}.filter-advanced{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-tools{align-items:flex-start;flex-direction:column;padding:18px 0 12px}.listing-actions{width:100%;justify-content:space-between}.property-grid{gap:14px}.property-card-copy{padding:12px}.property-card-copy h2{font-size:18px}.map-result{align-items:flex-start;flex-direction:column}.external-listing-button{width:100%}}
@media(max-width:480px){.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar>select,.filter-bar>details,.filter-bar>.filter-toggle,.filter-bar>.gold-button,.filter-bar>.filter-clear{grid-column:span 1}.filter-advanced{grid-template-columns:1fr}.property-grid{grid-template-columns:1fr}.property-card-image{aspect-ratio:1.4/1}.map-view-layout{padding-top:16px}.listing-pagination{gap:10px}.property-gallery>[data-gallery-image]{height:75vw;min-height:210px}}
@media(max-width:760px){.property-location-section{margin:34px 0 48px;padding-top:22px}.property-location-heading{display:block}.property-location-map{height:340px}}
@media(max-width:480px){.property-location-map{height:300px}}
/* Reference-led market layout, with the All Realestate brand retained. */
.listing-page{padding-top:12px}
.listing-page>.wrap{width:min(1600px,calc(100% - 32px))}
.listing-heading{align-items:flex-start;margin-bottom:12px}
.listing-heading h1{margin:0 0 5px;font:600 28px/1.2 'DM Sans',Arial,sans-serif;letter-spacing:-.02em}
.listing-heading p{font-size:13px}
.filter-bar{align-items:center;gap:8px 10px;padding:8px 0;background:#fff;border:0;border-bottom:1px solid #e5e3dd;border-radius:0}
.filter-bar input,.filter-bar select,.filter-popover summary,.filter-toggle,.filter-clear{border-radius:5px}
.listing-tools{align-items:center;justify-content:space-between;margin-bottom:18px;padding:13px 0;border-bottom:1px solid #ece9e2}
.property-grid{align-items:stretch;gap:26px 24px}
.property-card{display:flex;height:100%;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:#fff;color:#282823;box-shadow:none;transition:none}
.property-card:hover{transform:none;box-shadow:none}
.property-card-image{height:auto;aspect-ratio:16/9;border-radius:3px;background:#f1efeb}
.property-card-copy{display:flex;flex:1;flex-direction:column;align-items:center;padding:14px 10px 16px;text-align:center;border-bottom:1px solid #e5e3dd}
.property-card-type{margin:0 0 4px;color:#75602d;font-size:12px;font-weight:700;letter-spacing:.025em;text-transform:none}
.property-card-status{color:#a77d24;font-weight:700}
.property-card-type-separator{padding-inline:5px;color:#a6a197}
.property-card-price{margin:0 0 9px;font-size:17px;font-weight:600}
.property-card-copy h2{margin:0 0 3px;font:600 17px/1.3 'DM Sans',Arial,sans-serif}
.property-card-copy>p.property-card-address{margin:0 0 8px;color:#66665f;font-size:13px}
.property-card-facts{justify-content:center;gap:9px 18px;border-top:0;padding:6px 0 10px}
.card-external-button{justify-content:center;margin-top:auto;margin-bottom:0;padding-top:10px}

@media(max-width:760px){.listing-page>.wrap{width:calc(100% - 28px)}.listing-page{padding-top:8px}.listing-heading{margin-bottom:10px}.listing-heading h1{font-size:25px}.filter-bar{padding:8px 0}.listing-tools{padding:10px 0 12px;margin-bottom:14px}.property-grid{gap:18px 14px}.property-card-copy{padding:12px 8px 14px}}
@media(max-width:480px){.listing-page>.wrap{width:calc(100% - 24px)}.property-card-image{aspect-ratio:1.55/1}}
@media(prefers-reduced-motion:reduce){.property-card{transition:none}}
