.mw-share-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(9,20,38,.72);backdrop-filter:blur(5px)}
.mw-share-dialog{position:relative;width:min(560px,100%);max-height:min(92vh,720px);overflow:auto;padding:28px;border-radius:24px;background:#fff;color:#162033;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.mw-share-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#5d6b80;font-size:30px;line-height:1;cursor:pointer}
.mw-share-kicker{margin:0 0 8px;color:#d64637;font-size:11px;font-weight:800;letter-spacing:.12em}
.mw-share-dialog h2{margin:0 34px 16px;font-size:clamp(20px,4vw,30px);line-height:1.15}
.mw-share-preview{display:grid;grid-template-columns:128px 1fr;gap:14px;align-items:center;padding:10px;border:1px solid #e4eaf2;border-radius:16px;background:#f7f9fc}
.mw-share-preview img{width:128px;height:96px;object-fit:cover;border-radius:11px;background:#e8edf4}
.mw-share-preview p{margin:0;color:#536175;font-size:14px;line-height:1.45}
.mw-share-note{margin:14px 0;color:#66758a;font-size:12px;line-height:1.45}
.mw-share-actions{display:flex;flex-wrap:wrap;gap:10px}
.mw-share-actions a,.mw-share-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:0;border-radius:12px;font:700 13px/1 inherit;text-decoration:none;cursor:pointer}
.mw-share-facebook{background:#1877f2;color:#fff}
.mw-share-linkedin{background:#0a66c2;color:#fff}
.mw-share-copy{background:#17243a;color:#fff}
.mw-share-open{background:#edf2f7;color:#17243a}
.mw-share-toast{position:fixed;left:50%;bottom:24px;z-index:10001;transform:translateX(-50%);padding:11px 16px;border-radius:999px;background:#17243a;color:#fff;font-size:13px;box-shadow:0 8px 25px rgba(0,0,0,.22)}
.mw-card-photo-gallery,.v48PhotoGallery{position:relative;overflow:hidden}
.mw-card-photo-thumbs,.v48PhotoThumbs{display:flex;gap:5px;padding:7px 8px 0;overflow-x:auto;scrollbar-width:thin}
.mw-card-photo-thumb,.v48PhotoThumbs button{flex:0 0 42px;width:42px;height:34px;padding:0;border:2px solid transparent;border-radius:7px;background:#edf1f6;overflow:hidden;cursor:pointer}
.mw-card-photo-thumb.is-active,.v48PhotoThumbs button.is-active{border-color:#d64637}
.mw-card-photo-thumb img,.v48PhotoThumbs img{display:block;width:100%;height:100%;object-fit:cover}
.detailPhotoGallery{background:#eef3f8;border-radius:20px;overflow:hidden;padding-bottom:10px}.detailPhotoGallery .detailMainImage{width:100%;height:clamp(260px,42vw,520px);object-fit:cover;display:block}.detailPhotoThumbs{display:flex;gap:7px;padding:9px 10px 0;overflow-x:auto}.detailPhotoThumbs button{flex:0 0 58px;width:58px;height:46px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;cursor:pointer}.detailPhotoThumbs button.is-active{border-color:#d64637}.detailPhotoThumbs img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:600px){.mw-share-dialog{padding:23px 18px}.mw-share-preview{grid-template-columns:92px 1fr}.mw-share-preview img{width:92px;height:78px}.mw-share-actions a,.mw-share-actions button{flex:1 1 calc(50% - 10px);padding-inline:9px}}

/* V65.7 — galerie immobilier detail, responsive + lightbox */
.detailPic{min-width:0;min-height:0!important;background:transparent!important;overflow:visible!important}
.detailPhotoGallery{width:100%;background:#eef3f8;border-radius:20px;overflow:hidden;padding:0 0 10px}
.detailPhotoGallery .detailMainImage{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;max-height:none!important;object-fit:contain!important;background:#eef3f8;cursor:zoom-in;touch-action:manipulation}
.detailPhotoThumbs{display:flex;gap:9px;padding:10px 10px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.detailPhotoThumbs button{flex:0 0 82px;width:82px;height:62px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;cursor:pointer;background:#fff}
.detailPhotoThumbs button.is-active{border-color:#d4af37}.detailPhotoThumbs img{width:100%;height:100%;object-fit:cover;display:block}
.mwPhotoLightbox{position:fixed;inset:0;z-index:999999;background:rgba(3,10,24,.96);display:none;align-items:center;justify-content:center}
.mwPhotoLightbox.is-open{display:flex}.mwLbStage{width:min(94vw,1400px);height:88vh;display:flex;align-items:center;justify-content:center;overflow:auto}
.mwLbStage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center;transition:transform .15s ease}
.mwLbClose,.mwLbPrev,.mwLbNext,.mwLbTools button{position:absolute;border:0;background:rgba(255,255,255,.95);color:#17438f;font-weight:900;box-shadow:0 6px 24px rgba(0,0,0,.25);cursor:pointer;z-index:2}
.mwLbClose{right:16px;top:14px;width:46px;height:46px;border-radius:50%;font-size:30px}.mwLbPrev,.mwLbNext{top:50%;transform:translateY(-50%);width:48px;height:64px;border-radius:14px;font-size:38px}.mwLbPrev{left:12px}.mwLbNext{right:12px}
.mwLbTools{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:3}.mwLbTools button{position:static;min-width:48px;height:44px;border-radius:12px;font-size:18px;padding:0 12px}
@media(max-width:760px){header{display:flex!important;flex-direction:column!important;align-items:stretch!important}header .brand{font-size:22px!important}header nav{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}header nav .btn{width:100%!important;text-align:center!important}.wrap{width:100%!important;max-width:none!important;padding:10px!important}.section{padding:0!important}.detailShell{display:block!important;width:100%!important;max-width:none!important}.detailPic{width:100%!important}.detailPhotoGallery{border-radius:16px}.detailPhotoGallery .detailMainImage{width:100%!important;aspect-ratio:4/3!important;min-height:0!important;object-fit:contain!important}.detailPhotoThumbs button{flex:0 0 74px;width:74px;height:56px}.detailBody{width:100%!important;margin-top:14px!important;padding:16px!important}.detailGrid{grid-template-columns:1fr!important}.mwLbStage{width:100vw;height:84vh;padding:58px 8px 72px}.mwLbPrev,.mwLbNext{width:40px;height:54px;font-size:30px}.mwLbClose{right:10px;top:10px}}
@media(min-width:761px){.detailShell{grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr)!important;max-width:1280px!important;width:100%!important}.detailPhotoGallery .detailMainImage{min-height:520px!important;max-height:720px!important}.detailPic{position:sticky;top:18px}}
