.yp-detail{max-width:1280px;margin:0 auto;padding:145px 24px 64px;color:#233339}
.yp-detail *, .yp-detail *::before,.yp-detail *::after{box-sizing:border-box}
.yp-detail-back{display:inline-block;margin-bottom:24px;color:#314641;font-weight:600}
.yp-detail-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}
.yael-properties.yp-detail h1{font-size:clamp(26px,3vw,42px);line-height:1.2;margin:12px 0}
.yp-detail-address{margin:0;color:#5c6968}
.yp-detail-status{display:inline-block;padding:6px 12px;border-radius:20px;background:#edf2ee;color:#314641;font-size:14px;font-weight:600}
.yp-detail-price{flex-shrink:0;text-align:right}.yp-detail-price small{display:block;color:#5c6968;font-size:13px}.yp-detail-price strong{font-size:clamp(24px,3vw,34px)}
.yp-detail-notice{padding:14px 18px;background:#f7f3e8;border-radius:8px}
.yp-gallery-main{display:block;position:relative;background:#eef0ec;border-radius:14px;overflow:hidden;aspect-ratio:16/9}
.yp-gallery-main img{display:block;width:100%!important;height:100%!important;object-fit:contain}
.yp-gallery-count{position:absolute;bottom:18px;right:18px;background:#fff;color:#233339;padding:10px 16px;border-radius:8px;box-shadow:0 2px 10px #0002;font-weight:600}
.yp-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:14px 3px;scrollbar-width:thin}
.yp-gallery-thumbs a{flex:0 0 100px;height:70px;border:3px solid transparent;border-radius:8px;overflow:hidden}
.yp-gallery-thumbs a[aria-current=true]{border-color:#314641}.yp-gallery-thumbs img{width:100%!important;height:100%!important;object-fit:cover;display:block}
.yp-gallery-dialog{position:fixed;inset:0;margin:auto;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;padding:64px 24px 20px;background:#172122;color:white;z-index:100010}
.yp-gallery-dialog::backdrop{background:#172122}.yp-gallery-dialog[open]{display:flex;flex-direction:column}
.yp-gallery-view{display:flex;align-items:center;gap:16px;min-height:0;flex:1}.yp-gallery-view img{width:calc(100% - 120px)!important;height:100%!important;min-height:0;object-fit:contain}
.yp-gallery-dialog button{border:1px solid #ffffff66;border-radius:8px;background:#ffffff16;color:white;cursor:pointer;min-width:44px;min-height:44px}
.yp-gallery-close{position:absolute;right:24px;top:16px;padding:8px 14px}.yp-gallery-prev,.yp-gallery-next{font-size:32px;flex-shrink:0}.yp-gallery-caption{text-align:center;margin:16px 0 0}
.yp-gallery-empty{background:#f7f6f2;padding:48px 24px;border-radius:12px;text-align:center}
.yp-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:36px;margin-top:24px;align-items:start}
.yp-detail-content{min-width:0}.yael-properties.yp-detail h2{font-size:24px;margin:0 0 18px}.yp-detail-content section{margin-bottom:32px}
.yp-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.yp-detail-facts div{padding:16px;background:#f7f6f2;border-radius:8px}.yp-detail-facts dt{font-size:13px;color:#5c6968}.yp-detail-facts dd{font-size:18px;font-weight:600;margin:6px 0 0;overflow-wrap:anywhere}
.yp-detail-description{line-height:1.75;overflow-wrap:anywhere}.yp-detail-map{height:300px;border-radius:12px;background:#edf0ec;z-index:0}.yp-detail-location-note,.yp-detail-attribution{font-size:13px;color:#5c6968}.yp-detail-attribution{border-top:1px solid #e2dfd5;padding-top:18px}
.yp-detail-enquiry{min-width:0}.yp-detail .yp-enquiry{margin:0}.yp-detail-enquiry .yp-enquiry-fields{grid-template-columns:1fr;gap:0}
.yp-detail a:focus-visible,.yp-detail button:focus-visible{outline:3px solid #c8ac72;outline-offset:3px}
@media(max-width:900px){.yp-detail-layout{grid-template-columns:minmax(0,1fr);gap:24px}.yp-detail-enquiry .yp-enquiry-fields{grid-template-columns:1fr 1fr;gap:16px}.yp-detail-heading{align-items:flex-start}.yp-detail-price{max-width:45%}}
@media(max-width:600px){.yp-detail{padding:115px 16px 40px}.yp-detail-heading{display:block}.yp-detail-price{max-width:none;text-align:left;margin-top:16px}.yp-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.yp-detail-enquiry .yp-enquiry-fields{grid-template-columns:1fr;gap:0}.yp-gallery-main{aspect-ratio:4/3}.yp-gallery-count{bottom:10px;right:10px;padding:8px 12px;font-size:13px}.yp-gallery-thumbs a{flex-basis:80px;height:58px}.yp-gallery-dialog{padding:70px 8px 20px}.yp-gallery-view{gap:4px}.yp-gallery-view img{width:calc(100% - 96px)!important}.yp-gallery-close{right:12px}.yp-detail-map{height:260px}}

.yp-gallery-dialog button[hidden]{display:none}.yp-gallery-single .yp-gallery-view img{width:100%!important}
