/* 2026-09-22 (UI audit #8/#22/#23): the detail pages take the main site's white page and Open Sans face instead of their own grey page in Inter; the back link is a 44px target; no label is set below 11px. */
:root{--dn-ink:#111827;--dn-muted:#667085;--dn-gold:#b9913d;--dn-gold-soft:#f7f0df;--dn-line:#e4e7ec;--dn-bg:#fff;--dn-card:#fff;--dn-success:#087a62}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--dn-bg);color:var(--dn-ink);font-family:"Open Sans 400","Open Sans",Arial,Helvetica,sans-serif}body.dn-lock{overflow:hidden}.dn-site-head{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--dn-line);backdrop-filter:blur(14px)}.dn-site-head-inner{max-width:1500px;height:72px;margin:auto;padding:0 28px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}.dn-logo{display:flex;align-items:center;text-decoration:none;color:var(--dn-ink)}.dn-logo img{width:48px;height:56px;object-fit:contain}.dn-main-nav{display:flex;align-items:stretch;justify-content:center;height:72px;gap:2px}.dn-main-nav a{padding:0 15px;border-bottom:3px solid transparent;color:#2d3139;text-decoration:none;display:flex;align-items:center;font-size:13px;font-weight:700}.dn-main-nav a:hover,.dn-main-nav a[aria-current="page"]{color:#75591f;border-bottom-color:var(--dn-gold);background:#fbfaf7}.dn-languages{display:flex;align-items:center;gap:10px}.dn-languages a{padding:2px 0;border:0;background:transparent;color:#7c8491;text-decoration:none;font-size:11px;font-weight:900;letter-spacing:.75px}.dn-languages a:hover,.dn-languages a[aria-current="true"]{color:#8b6725}.dn-mobile-menu{display:none;width:42px;height:42px;border:0;background:transparent;color:var(--dn-ink);font-size:24px}.dn-detail-shell{max-width:1500px;margin:0 auto;padding:26px 28px 64px}.dn-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding-inline-end:12px;margin-bottom:6px;color:#4b5563;text-decoration:none;font-size:14px;font-weight:700}.dn-back:hover{color:#7a5b1f}.dn-loading,.dn-error{min-height:58vh;border:1px solid var(--dn-line);border-radius:22px;background:#fff;display:grid;place-items:center;text-align:center;padding:30px}.dn-spinner{width:38px;height:38px;margin:0 auto 14px;border:3px solid #ece8df;border-top-color:var(--dn-gold);border-radius:50%;animation:dnspin .8s linear infinite}@keyframes dnspin{to{transform:rotate(360deg)}}.dn-error h1{margin:0 0 9px;font-size:24px}.dn-error p{margin:0;color:var(--dn-muted)}.dn-detail[hidden]{display:none!important}.dn-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;margin-bottom:20px}.dn-eyebrow{display:block;color:#8b6725;font-size:12px;font-weight:950;letter-spacing:1.35px;text-transform:uppercase;margin-bottom:7px}.dn-title-row h1{margin:0;color:#151821;font-family:"Open Sans 700","Open Sans",Arial,Helvetica,sans-serif;font-size:40px;line-height:1.08;letter-spacing:-.5px}.dn-location{display:flex;align-items:center;gap:6px;margin:9px 0 0;color:var(--dn-muted);font-size:13px}.dn-price{text-align:end}.dn-price small{display:block;color:#737a84;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.7px;margin-bottom:5px}.dn-price strong{display:block;color:var(--dn-success);font-size:27px;line-height:1;font-weight:950}.dn-gallery-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.65fr);grid-template-rows:230px 230px;gap:10px;border-radius:22px;overflow:hidden;background:#e8ebef}.dn-gallery-item{position:relative;min-width:0;overflow:hidden;border:0;padding:0;background:#e8ebef;cursor:pointer}.dn-gallery-item:first-child{grid-row:1/3}.dn-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.dn-gallery-item:hover img{transform:scale(1.025)}.dn-gallery-count{position:absolute;inset-inline-end:14px;bottom:14px;padding:9px 12px;border-radius:999px;background:rgba(17,24,39,.8);color:#fff;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:850;backdrop-filter:blur(8px)}.dn-detail-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.55fr);gap:22px;margin-top:22px}.dn-panel{border:1px solid var(--dn-line);border-radius:20px;background:var(--dn-card);box-shadow:0 8px 26px rgba(15,23,42,.035)}.dn-panel-head{padding:20px 22px 14px;border-bottom:1px solid #eef0f3}.dn-panel-head h2{margin:0;font-size:20px}.dn-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px 22px 20px}.dn-fact{min-width:0;padding:16px 14px;border-bottom:1px solid #eef0f3}.dn-fact span{display:block;margin-bottom:6px;color:#737a84;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.65px}.dn-fact strong{display:block;color:#242933;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.dn-description{padding:0 22px 22px}.dn-description h3{margin:3px 0 10px;font-size:16px}.dn-description p{margin:0;color:#596273;font-size:14px;line-height:1.8;white-space:pre-line}.dn-agent-card{padding:21px;position:sticky;top:94px}.dn-agent-top{display:flex;align-items:center;gap:13px}.dn-agent-photo,.dn-agent-fallback{width:62px;height:62px;flex:0 0 62px;border-radius:50%;object-fit:cover;background:#f2eadc;border:2px solid #fff;box-shadow:0 5px 16px rgba(16,24,40,.13)}.dn-agent-fallback{display:grid;place-items:center;color:#76591f;font-weight:950}.dn-agent-copy{min-width:0}.dn-agent-copy small{display:block;color:#737a84;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.7px}.dn-agent-copy strong{display:block;margin-top:4px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dn-agent-copy span{display:block;margin-top:4px;color:#737a86;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dn-agent-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.dn-agent-actions a{min-height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:12px;font-weight:900}.dn-call{border:1px solid #d8dee8;color:#173f69;background:#f8fafc}.dn-whatsapp{border:1px solid #9ed4b3;color:#087a43;background:#effaf3}.dn-enquire{grid-column:1/-1!important;background:#111827;color:#fff}.dn-map-link{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:9px;border:1px solid #ddcfb2;border-radius:11px;color:#795d25;text-decoration:none;font-size:12px;font-weight:900;background:#fffaf1}.dn-map-link[hidden]{display:none!important}.dn-gallery-modal[hidden]{display:none!important}.dn-gallery-modal{position:fixed;inset:0;z-index:10000;background:rgba(8,13,21,.94);display:grid;grid-template-rows:auto minmax(0,1fr) auto;color:#fff}.dn-modal-head{min-height:64px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.dn-modal-head strong{font-size:14px}.dn-modal-close{width:44px;height:44px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:25px;line-height:1;cursor:pointer}.dn-modal-stage{min-width:0;min-height:0;padding:0 78px;display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:18px}.dn-modal-stage img{display:block;max-width:100%;max-height:calc(100vh - 180px);margin:auto;aspect-ratio:auto 3/2;object-fit:contain;border-radius:8px}.dn-modal-arrow{width:48px;height:48px;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:25px;cursor:pointer}.dn-modal-thumbs{min-height:88px;padding:10px 18px 14px;display:flex;justify-content:center;gap:8px;overflow-x:auto}.dn-modal-thumb{width:72px;height:60px;flex:0 0 72px;border:2px solid transparent;border-radius:9px;padding:0;overflow:hidden;background:#252a32;opacity:.6;cursor:pointer}.dn-modal-thumb.active{border-color:#d8b86c;opacity:1}.dn-modal-thumb img{width:100%;height:100%;object-fit:cover}.dn-empty-media{grid-column:1/-1;display:grid;place-items:center;min-height:320px;background:linear-gradient(135deg,#ece7dc,#dfe8ec);color:#737a84;font-weight:850}@media(max-width:900px){.dn-site-head-inner{height:auto;min-height:66px;padding:0 14px;grid-template-columns:auto 1fr auto;gap:10px}.dn-logo img{width:41px;height:50px}.dn-mobile-menu{display:block;justify-self:end}.dn-main-nav{position:fixed;top:66px;left:10px;right:10px;height:auto;max-height:calc(100vh - 82px);padding:9px;border:1px solid var(--dn-line);border-radius:16px;background:#fff;box-shadow:0 18px 48px rgba(16,24,40,.2);display:none;flex-direction:column;align-items:stretch;overflow-y:auto}.dn-main-nav.open{display:flex}.dn-main-nav a{min-height:46px;padding:0 13px;border:0;border-radius:10px}.dn-main-nav a:hover,.dn-main-nav a[aria-current="page"]{background:var(--dn-gold-soft)}.dn-languages{justify-self:center}.dn-detail-shell{padding:18px 14px 46px}.dn-title-row{grid-template-columns:1fr;gap:12px}.dn-title-row h1{font-size:31px}.dn-price{text-align:start}.dn-price strong{font-size:23px}.dn-gallery-grid{grid-template-columns:1fr 105px;grid-template-rows:170px 170px}.dn-detail-grid{grid-template-columns:1fr}.dn-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.dn-agent-card{position:static}.dn-modal-stage{padding:0 10px;grid-template-columns:38px minmax(0,1fr) 38px;gap:7px}.dn-modal-arrow{width:38px;height:38px}.dn-modal-stage img{max-height:calc(100vh - 190px)}}@media(max-width:540px){.dn-site-head-inner{grid-template-columns:auto auto 1fr}.dn-languages{grid-column:2;grid-row:1}.dn-mobile-menu{grid-column:3;grid-row:1;justify-self:end}.dn-detail-shell{padding-inline:10px}.dn-title-row h1{font-size:27px}.dn-location{font-size:12px}.dn-gallery-grid{display:block;height:260px;border-radius:16px}.dn-gallery-item{display:none;width:100%;height:100%}.dn-gallery-item:first-child{display:block}.dn-facts{padding:4px 12px 16px;grid-template-columns:1fr 1fr}.dn-fact{padding:14px 10px}.dn-panel-head,.dn-description{padding-inline:16px}.dn-agent-card{padding:17px}.dn-modal-head{min-height:58px;padding:7px 10px}.dn-modal-stage{padding:0 4px;grid-template-columns:34px minmax(0,1fr) 34px}.dn-modal-arrow{width:34px;height:34px;font-size:21px}.dn-modal-thumbs{justify-content:flex-start;min-height:80px;padding-inline:10px}.dn-modal-thumb{width:62px;height:54px;flex-basis:62px}}

/* ── The photo viewer, hardened (2026-09-23) ───────────────────────────────────────────────────
   The owner opened a gallery on his phone and saw a close button, one arrow floating in the middle
   of an empty screen, and nothing else. Three causes, all fixed here:
   (1) the arrows were grid COLUMNS beside the picture, so when the picture was missing or tiny they
       drifted inward — they are now pinned to the screen's edges, whatever the picture does;
   (2) 100vh on iOS Safari is taller than the visible page, so the thumbnail strip was pushed under
       the browser's own toolbar — the modal now uses dvh where the browser supports it;
   (3) the arrows were 34-38px on a phone, under the 44px floor the rest of the site keeps.
   The single-photo case (no arrows at all) and the failed-photo case (a line of text instead of an
   empty black screen) are handled by dn-property-detail-v1.js, which sets the classes below. */
.dn-gallery-modal{height:100vh}
@supports (height:100dvh){.dn-gallery-modal{height:100dvh}}
.dn-modal-stage{position:relative;padding:0 12px!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
.dn-modal-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px!important;height:44px!important;
  display:grid;place-items:center;font-size:24px;background:rgba(10,14,22,.62);border-color:rgba(255,255,255,.28);backdrop-filter:blur(6px)}
.dn-modal-prev{inset-inline-start:10px}
.dn-modal-next{inset-inline-end:10px}
.dn-gallery-modal.dn-single .dn-modal-arrow{display:none}
.dn-modal-stage img{max-height:100%}
/* a photo that will not load says so, instead of leaving a black screen with two arrows on it */
.dn-modal-stage .dn-shot-failed{display:none;text-align:center;color:#d8d3c6;font-size:14px;line-height:1.7;padding:0 16px}
.dn-gallery-modal.dn-failed .dn-modal-stage img{display:none}
.dn-gallery-modal.dn-failed .dn-modal-stage .dn-shot-failed{display:block}
@media(max-width:900px){.dn-modal-arrow{width:44px!important;height:44px!important}}
@media(max-width:540px){.dn-modal-arrow{width:44px!important;height:44px!important;font-size:22px}
  .dn-modal-stage{padding:0 8px!important}}
/* The viewer is a room of its own: at .94 the page's own header and buttons read through it. */
.dn-gallery-modal{background:#0b1119;backdrop-filter:blur(2px)}
.dn-modal-head{gap:12px}
.dn-modal-head strong{white-space:nowrap}
.dn-modal-count{margin-inline-start:auto;padding-inline-end:6px;font-size:13px;color:#cfd6df;font-variant-numeric:tabular-nums}
