/* P018: approved Property heading; portrait photographs and two sections only. */
.resale-property-page{padding:0;background:#eae9e4}
.resale-property-page .app{border-radius:0;overflow:visible;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
.resale-head{padding:max(18px,env(safe-area-inset-top,0px)) 24px 24px}
.resale-back{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;text-decoration:none;min-height:44px;margin-bottom:13px;width:max-content}
.resale-back span{font-size:18px}
.resale-head h1{font:700 36px/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.8px;margin:12px 0 0;color:var(--ink);overflow-wrap:break-word}
.resale-price-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:23px 0 14px}
.resale-price-line strong{font-size:22px;font-weight:600;line-height:1.3;color:var(--gold)}
.resale-occupancy{padding:6px 11px;font-size:11px;background:var(--soft);color:var(--ink);border-radius:2px}
.resale-specs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--muted)}
.resale-specs span{white-space:nowrap}
.resale-property-page .tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0}
.resale-property-page .tab{font-size:14px;min-height:50px}
.resale-property-page .tab[aria-selected=true]{color:var(--gold)}
#panel-property{padding:20px 20px 25px}
#panel-location{padding:28px 24px 30px}
#panel-location h2{margin:10px 0 23px;font-weight:700}
.resale-gallery{display:flex;width:100%;aspect-ratio:9/16;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;background:#ece9e3;border-radius:2px}
.resale-gallery::-webkit-scrollbar{display:none}
.resale-slide{flex:0 0 100%;width:100%;height:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;position:relative}
.resale-slide button{position:relative;display:block;width:100%;height:100%;padding:0}
.resale-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;user-select:none;-webkit-user-drag:none}
.resale-enlarge{position:absolute;right:13px;bottom:13px;width:40px;height:40px;display:grid;place-items:center;color:#fff;background:#15181588;border:1px solid #ffffff55;border-radius:3px;font-size:23px}
.resale-media-controls{display:flex;align-items:center;justify-content:center;gap:8px;padding:4px 0}
.resale-media-controls>button{width:44px;height:44px;font-size:24px;padding:0}
.resale-dots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;max-width:240px}
.resale-dots button{position:relative;width:32px;height:44px;padding:0}
.resale-dots button:after{content:'';position:absolute;top:19px;left:13px;width:6px;height:6px;background:#b2ada2;border-radius:8px}
.resale-dots button[aria-pressed=true]:after{width:16px;left:8px;background:var(--gold)}
.resale-sample{font-size:10px;line-height:1.6;color:#77796f;margin:10px 0 0;text-align:center}
.resale-map-wrap{background:var(--soft);border:1px solid var(--line);border-radius:2px;overflow:hidden}
#resale-map{display:block;width:100%;height:340px;border:0}
.resale-map-link{display:flex;align-items:center;justify-content:space-between;min-height:48px;color:var(--gold);font-size:12px;text-underline-offset:4px}
.resale-property-page .dock{grid-template-columns:72px minmax(0,1fr)}
.resale-property-page .dock .primary,.resale-property-page #contact-form .primary{background:#8d713e;color:#fff}
.resale-property-page .sheet h2{font-weight:700}

.resale-property-page .lightbox{max-width:480px;margin:auto}
.resale-property-page .lightbox-image img{max-height:calc(100dvh - 140px);width:auto;height:auto;max-width:100%;object-fit:contain}
.resale-property-page .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.resale-no-script{position:fixed;bottom:82px;left:15px;right:15px;background:#fff;padding:18px;z-index:200;border:1px solid var(--line)}
.resale-property-page a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media(max-width:360px){.resale-head{padding-left:18px;padding-right:18px}.resale-head h1{font-size:33px}#panel-property{padding-left:16px;padding-right:16px}#panel-location{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){.resale-gallery{scroll-behavior:auto}}
