/* Maskanak Real Estate v0.3.0 – public listing profile, scoped */
.mskr-property-profile-page{background:#f5f7fc;--mskr-green:#0a59e8;--mskr-deep:#0f2754;--mskr-line:#e4ebf6;color:#142648;padding-top:18px}
.mskr-property-profile-page .mskr-wrap{max-width:1450px}.mskr-profile *{box-sizing:border-box}.mskr-profile{direction:rtl}.mskr-profile a{text-decoration:none}.mskr-profile-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 18px;font-size:12px;color:#536986}.mskr-profile-breadcrumb strong{font-weight:750;color:#214269}.mskr-profile-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(295px,.75fr);gap:18px;align-items:stretch;margin:0 0 18px}.mskr-profile-mosaic{position:relative;display:grid;grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;height:340px;overflow:hidden;border-radius:18px;background:#d9e8f6}.mskr-profile-image{appearance:none;border:0;padding:0;overflow:hidden;cursor:zoom-in;background:#dce8f4}.mskr-profile-image img{display:block;width:100%;height:100%;object-fit:cover}.mskr-profile-image-0{grid-row:1/3;grid-column:1}.mskr-profile-image-1{grid-column:2;grid-row:1}.mskr-profile-image-2{grid-column:2;grid-row:2}.mskr-profile-mosaic:has(.mskr-profile-image-0:not(:has(~.mskr-profile-image-1))) .mskr-profile-image-0{grid-column:1/-1}.mskr-profile-no-photos{grid-column:1/-1;grid-row:1/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#587a97;font-size:17px}.mskr-profile-no-photos:first-letter{font-size:64px}.mskr .mskr-profile-photos-all{position:absolute;bottom:14px;right:14px;border:0;border-radius:10px;padding:10px 13px;background:#10243bea;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.mskr-profile-info{background:#fff;border:1px solid #e3e9f2;border-radius:18px;padding:25px;display:flex;flex-direction:column;justify-content:center;align-items:start;gap:10px;box-shadow:0 6px 22px #2b4a820a}.mskr-profile-info h1{font-size:clamp(22px,2.6vw,32px);line-height:1.45;font-weight:900;color:#14284b;margin:0}.mskr-profile-state{color:#1b5ab5;background:#e8f1ff;border-radius:99px;padding:4px 12px;font-size:12px;font-weight:800}.mskr-profile-address{color:#5b6d8c;font-size:13px;margin:0}.mskr-profile-price{border-radius:13px;background:#e9f0ff;color:#154db5;padding:12px 18px;font-size:clamp(20px,2.2vw,29px);font-weight:900;width:100%;text-align:center}.mskr-profile-price small{font-size:13px;font-weight:650}.mskr-profile-negotiable{background:#ecfbf4;color:#09794c;font-size:11px;padding:4px 10px;border-radius:8px}.mskr-profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%;margin-top:4px}.mskr-profile-metrics span{border:1px solid #e6eaf3;background:#fafdff;border-radius:12px;padding:11px 5px;text-align:center;display:flex;flex-direction:column;gap:3px;min-width:0}.mskr-profile-metrics b{font-size:13px;line-height:1.5;color:#16365a;overflow-wrap:anywhere}.mskr-profile-metrics small{font-size:11px;color:#6c7b91}.mskr-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:18px;align-items:start}.mskr-profile-content{min-width:0}.mskr-profile-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid #dfe8f6;background:#fff;border-radius:13px;overflow-x:auto;margin-bottom:13px}.mskr .mskr-profile-tabs button{border:0;border-bottom:3px solid transparent;background:#fff;cursor:pointer;font:inherit;white-space:nowrap;padding:13px 9px;color:#294466;font-size:13px;font-weight:850;min-height:50px}.mskr .mskr-profile-tabs button.is-active{background:#eaf2ff;color:#095bd5;border-color:#0961f3}.mskr-profile-pane,.mskr-profile-sidebar>div{background:#fff;border:1px solid #e4eaf4;border-radius:17px;padding:22px;box-shadow:0 5px 22px #1e42800a}.mskr-profile-pane[hidden]{display:none!important}.mskr-profile-pane{min-height:330px}.mskr-profile-pane h2,.mskr-profile-owner h2{font-size:18px;line-height:1.55;color:#173355;margin:0 0 17px}.mskr-profile-pane h2:not(:first-child){padding-top:17px;margin-top:17px;border-top:1px solid #eaf0f8}.mskr-profile-description{font-size:14px;line-height:2;color:#3f4e67;margin:0;white-space:normal;overflow-wrap:anywhere}.mskr-profile-facts,.mskr-profile-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.mskr-profile-facts span,.mskr-profile-feature-grid span{background:#f0f5ff;color:#1b4a83;border-radius:10px;padding:12px 8px;font-size:12px;text-align:center;font-weight:850}.mskr-profile-trust{padding:13px;border-radius:10px;background:#fff7eb;color:#956424;font-size:12px;margin-top:18px}.mskr-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mskr-profile-details>div{display:flex;justify-content:space-between;gap:8px;background:#f7faff;border:1px solid #e8eef7;padding:12px;border-radius:10px;font-size:13px}.mskr-profile-details strong{color:#1350b0}.mskr-profile-sidebar{display:flex;flex-direction:column;gap:12px}.mskr-profile-owner{text-align:center}.mskr-profile-owner-avatar{height:73px;width:73px;border-radius:50%;margin:6px auto 11px;display:grid;place-items:center;background:#dceaff;color:#5476a6;font-size:42px}.mskr-profile-owner>strong{display:block;font-size:14px;margin-bottom:11px;overflow-wrap:anywhere}.mskr-profile-owner>a{display:inline-block;color:#174fa8;background:#edf4ff;padding:7px 12px;border-radius:8px;font-size:12px;font-weight:850}.mskr-profile-inquiry form{display:grid;gap:8px}.mskr-profile-inquiry textarea{min-height:102px}.mskr-profile-inquiry .mskr-btn{width:100%;background:#0b56d2}.mskr-profile-inquiry p{font-size:12px;color:#718197;line-height:1.8;margin:10px 0 0}.mskr-profile-inquiry label{display:grid;gap:7px;font-size:12px;font-weight:800}.mskr-profile-all-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mskr-profile-all-gallery button{border:0;border-radius:9px;overflow:hidden;padding:0;background:#eef3fa;height:180px;cursor:zoom-in}.mskr-profile-all-gallery img{width:100%;height:100%;object-fit:cover}.mskr-profile-map-note{font-size:12px;color:#6b8295}.mskr-profile-pane .mskr-live-map{height:350px;min-height:350px;margin-top:12px}.mskr-profile-lightbox[hidden]{display:none!important}.mskr-profile-lightbox{position:fixed;inset:0;background:#07101af0;z-index:999999;display:flex;align-items:center;justify-content:space-evenly;padding:25px 11px;color:white;direction:ltr}.mskr-profile-lightbox img{max-width:85vw;max-height:86vh;object-fit:contain;border-radius:10px}.mskr-profile-lightbox button{border:0;background:#ffffffea;color:#102544;padding:10px 15px;border-radius:50%;font-size:19px;cursor:pointer}.mskr-profile-lightbox [data-mskr-lightbox-close]{position:absolute;top:15px;right:20px}.mskr-profile-lightbox [data-mskr-lightbox-count]{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:12px}.mskr-profile-mobile-cta{display:none}.mskr-profile-image img,.mskr-profile-all-gallery img{color:transparent}
@media(max-width:1050px){.mskr-profile-top{grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr)}.mskr-profile-mosaic{height:310px}.mskr-profile-layout{grid-template-columns:minmax(0,1fr) 245px}.mskr-profile-facts,.mskr-profile-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.mskr-profile-top{grid-template-columns:1fr}.mskr-profile-mosaic{height:270px;order:0}.mskr-profile-info{order:1;padding:20px}.mskr-profile-layout{grid-template-columns:1fr}.mskr-profile-sidebar{grid-row:2}.mskr-profile-facts,.mskr-profile-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.mskr-property-profile-page{padding:10px 8px 105px}.mskr-property-profile-page .mskr-wrap{width:100%;padding:0}.mskr-profile-breadcrumb{display:none}.mskr-profile-top{gap:0;margin-bottom:10px}.mskr-profile-mosaic{height:235px;border-radius:13px 13px 0 0;display:block}.mskr-profile-mosaic .mskr-profile-image{height:100%;width:100%;display:none}.mskr-profile-mosaic .mskr-profile-image:first-child{display:block}.mskr-profile-photos-all{right:9px;bottom:9px}.mskr-profile-info{border-radius:0 0 14px 14px;padding:15px}.mskr-profile-info h1{font-size:20px}.mskr-profile-metrics{gap:6px}.mskr-profile-metrics b{font-size:11px}.mskr-profile-metrics small{font-size:10px}.mskr-profile-price{font-size:22px;padding:10px}.mskr-profile-tabs{display:flex;overflow-x:auto;gap:0;border-radius:11px;scrollbar-width:thin}.mskr .mskr-profile-tabs button{flex:0 0 auto;padding:11px 13px;font-size:12px;min-height:45px}.mskr-profile-pane,.mskr-profile-sidebar>div{padding:15px}.mskr-profile-pane h2{font-size:16px}.mskr-profile-facts,.mskr-profile-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mskr-profile-details{grid-template-columns:1fr}.mskr-profile-all-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.mskr-profile-all-gallery button{height:130px}.mskr-profile-mobile-cta{position:fixed;bottom:0;left:0;right:0;z-index:1000;display:block;background:#0956d6;color:white!important;text-align:center;padding:14px 18px calc(14px + env(safe-area-inset-bottom));font-size:15px;font-weight:900;box-shadow:0 -5px 20px #162f5840}.mskr-profile-sidebar{scroll-margin-top:20px}.mskr-profile-lightbox img{max-width:72vw}}

.mskr-profile-hero-controls{display:none}
.mskr-profile-mosaic:has(.mskr-profile-image-1):not(:has(.mskr-profile-image-2)) .mskr-profile-image-1{grid-row:1/3}
@media(max-width:600px){.mskr-profile-hero-controls{position:absolute;left:9px;right:9px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:space-between;pointer-events:none}.mskr-profile-hero-controls button{pointer-events:auto;border:0;background:#fff;border-radius:50%;width:37px;height:37px;font-size:18px;color:#143659;box-shadow:0 2px 12px #123b6150;cursor:pointer}.mskr-profile-hero-controls span{align-self:flex-end;position:absolute;top:66px;right:0;border-radius:7px;background:#0e2446bc;color:#fff;font-size:11px;padding:4px 9px}}

/* Immediate public comments for property listings: scoped to the real estate detail view. */
.mskr-profile .mskr-comment-form{display:grid;gap:10px;padding:15px;background:#f7faff;border:1px solid #dce7f8;border-radius:13px;margin:15px 0 20px}
.mskr-profile .mskr-comment-form label{font-size:13px;font-weight:850;color:#1e3d69}
.mskr-profile .mskr-comment-form textarea{font:inherit;color:#1a314f;background:#fff;border:1px solid #cfdced;border-radius:11px;padding:12px;min-height:100px;resize:vertical;width:100%;line-height:1.8}
.mskr-profile .mskr-comment-form .mskr-btn{justify-self:start;min-height:43px}
.mskr-profile .mskr-comment-notice{border:1px solid #b5e1d6;background:#e9f9f2;color:#0c705c;border-radius:12px;padding:11px 13px;font-size:13px;font-weight:750}
.mskr-profile .mskr-comment-note{font-size:13px;color:#667991;line-height:1.8}
.mskr-profile .mskr-comment{padding:15px 0;border-bottom:1px solid #e8eef8}
.mskr-profile .mskr-comment:last-child{border-bottom:0}
.mskr-profile .mskr-comment-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}
.mskr-profile .mskr-comment-head strong{color:#1d3e69}
.mskr-profile .mskr-comment-head time{font-size:11px;color:#8692a3}
.mskr-profile .mskr-comment p{color:#33435b;font-size:13px;line-height:1.95;overflow-wrap:anywhere;margin:8px 0 0}
@media(max-width:600px){.mskr-profile .mskr-comment-form{padding:12px}.mskr-profile .mskr-comment-form .mskr-btn{width:100%}}

/* 1.3.0: optional public contact details are visible only when the owner supplies them. */
.mskr-profile-contact-direct{display:grid;gap:9px;border:1px solid #dce7f4;background:#fff;border-radius:16px;padding:17px}
.mskr-profile-contact-direct a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:8px 12px;border-radius:10px;font-weight:850;font-size:13px;color:#fff!important;text-decoration:none}
.mskr-profile-contact-direct .mskr-profile-call{background:#0b5be5}
.mskr-profile-contact-direct .mskr-profile-whatsapp{background:#07a85d}
.mskr-profile-contact-direct a small{font-size:11px;color:inherit;opacity:.94;font-weight:600}
.mskr-profile-contact-direct p{font-size:11px;line-height:1.65;color:#657a8c;margin:2px 0 0}
.mskr-profile-mobile-actions{display:none}
@media(max-width:600px){
 .mskr-property-profile-page{padding-bottom:110px}
 .mskr-profile-mobile-actions{position:fixed;bottom:0;left:0;right:0;z-index:1000;display:flex;gap:8px;align-items:center;justify-content:center;padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#fff;box-shadow:0 -4px 23px #153a5930;border-top:1px solid #d6e4ef}
 .mskr-profile-mobile-actions a{min-width:0;flex:1;display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:11px;color:#fff!important;font-weight:850;font-size:13px;text-decoration:none}
 .mskr-profile-mobile-actions .mskr-profile-call,.mskr-profile-mobile-actions .mskr-profile-inquiry-link{background:#095be5}
 .mskr-profile-mobile-actions .mskr-profile-whatsapp{background:#09ad5d}
}

/* 1.3.4 - Maskanak property profile premium skin, based on the approved reference.
   Profile-only selectors: never touch the real-estate wizard, encrypted photos,
   account/contact logic, map privacy, or Office Suite. */
.mskr-property-profile-page{
 --mskr-premium-blue:#0b59df; --mskr-premium-navy:#102a58; --mskr-premium-muted:#607392;
 --mskr-premium-line:#dce7fa; --mskr-premium-green:#05a866;
 background:linear-gradient(180deg,#f4f7fc 0%,#f7faff 65%,#f3f7fd 100%);
 color:#172b50;
}
.mskr-property-profile-page .mskr-wrap{max-width:1440px}
.mskr-property-profile-page .mskr-profile{
 background:#fff; border:1px solid #e4ecf8; border-radius:24px; padding:clamp(14px,2vw,26px);
 box-shadow:0 15px 38px rgba(12,42,92,.075); overflow:clip;
}
.mskr-property-profile-page .mskr-profile .mskr-prof-icon{width:21px;height:21px;display:inline-block;flex:none;vertical-align:middle;stroke:currentColor}
.mskr-property-profile-page .mskr-profile :is(button,a,textarea,input):focus-visible{outline:3px solid #75afff;outline-offset:3px}
.mskr-property-profile-page .mskr-profile-breadcrumb{color:#647693;margin-bottom:17px}
.mskr-property-profile-page .mskr-profile-top{
 display:grid; grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr); gap:20px;
 align-items:stretch;margin:0 0 18px;
}
.mskr-property-profile-page .mskr-profile-info{
 grid-column:1;grid-row:1;min-width:0; align-items:stretch;justify-content:center;gap:12px;
 background:#fff;border:0;border-radius:16px;padding:22px 12px;box-shadow:none;
}
.mskr-property-profile-page .mskr-profile-mosaic{
 grid-column:2;grid-row:1;display:block;min-width:0; height:clamp(285px,27vw,385px);
 border-radius:17px;box-shadow:0 6px 20px rgba(13,39,79,.11); isolation:isolate;
 background:linear-gradient(130deg,#dde8f8,#edf3fa);
}
.mskr-property-profile-page .mskr-profile-mosaic .mskr-profile-image{display:none}
.mskr-property-profile-page .mskr-profile-mosaic .mskr-profile-image-0{display:block;width:100%;height:100%}
.mskr-property-profile-page .mskr-profile-image img{width:100%;height:100%;object-fit:cover}
.mskr-property-profile-page .mskr-profile-state{
 display:inline-flex;align-self:flex-start;background:#eaf1ff;color:#0b56ba;border:1px solid #d8e5ff;
 padding:6px 12px;font-weight:850;font-size:12px;letter-spacing:0;
}
.mskr-property-profile-page .mskr-profile-info h1{font-size:clamp(25px,2.8vw,36px);font-weight:900;line-height:1.4;color:#10234b;margin:0;overflow-wrap:anywhere}
.mskr-property-profile-page .mskr-profile-address{font-size:13px;color:#526780;line-height:1.8}
.mskr-property-profile-page .mskr-profile-price-box{
 width:100%;border:1px solid #d8e7ff;border-radius:17px;
 background:linear-gradient(128deg,#edf4ff,#dfebff);
 padding:15px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
}
.mskr-property-profile-page .mskr-profile-price{
 display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;
 background:transparent;border-radius:0;padding:0;width:100%;color:#0e49b5;
 line-height:1.4;font-size:clamp(21px,2.3vw,30px);font-weight:900;text-align:center;
 font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
.mskr-property-profile-page .mskr-profile-price .mskr-prof-icon{width:27px;height:27px}
.mskr-property-profile-page .mskr-profile-price small{font-size:13px;white-space:nowrap;font-weight:750}
.mskr-property-profile-page .mskr-profile-negotiable{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 font-weight:850;color:#087d52;background:#dff8ea;border:1px solid #ccf0dd;
 border-radius:100px;padding:6px 16px;font-size:12px;line-height:1.35;
}
.mskr-property-profile-page .mskr-profile-negotiable .mskr-prof-icon{width:17px;height:17px}
.mskr-property-profile-page .mskr-profile-photos-all{
 right:auto;left:16px;bottom:14px;padding:10px 15px;background:rgba(8,29,59,.88);color:#fff;
 border:1px solid #ffffff40;box-shadow:0 6px 16px #071c3540;border-radius:11px;
}
.mskr-property-profile-page .mskr-profile-hero-controls{
 display:flex;position:absolute;top:50%;left:13px;right:13px;transform:translateY(-50%);
 align-items:center;justify-content:space-between;pointer-events:none;z-index:2;
}
.mskr-property-profile-page .mskr-profile-hero-controls button{
 pointer-events:auto;width:43px;height:43px;border:1px solid #dfebf8;border-radius:50%;
 background:#fff;color:#143361;box-shadow:0 5px 16px #0a274744;cursor:pointer;font-size:22px;
 display:grid;place-items:center;transition:transform .16s,background .16s;
}
.mskr-property-profile-page .mskr-profile-hero-controls button:hover{transform:scale(1.05);background:#ecf4ff}
.mskr-property-profile-page .mskr-profile-hero-controls [data-mskr-hero-count]{display:none}
/* Four sizeable, individually bordered and icon-led spec tiles. */
.mskr-property-profile-page .mskr-profile-metrics{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;margin:4px 0 17px;
}
.mskr-property-profile-page .mskr-profile-metric{
 border:1px solid #bcd6ff;background:linear-gradient(155deg,#fbfdff,#eaf3ff);
 box-shadow:0 5px 12px #174d9210;border-radius:16px;
 min-height:108px;display:flex;align-items:center;justify-content:center;flex-direction:column;
 text-align:center;gap:3px;padding:11px 8px;color:#194a9b;min-width:0;
}
.mskr-property-profile-page .mskr-profile-metric .mskr-prof-icon{width:29px;height:29px;color:#1262e5;stroke-width:1.9}
.mskr-property-profile-page .mskr-profile-metric b{font-size:17px;font-weight:900;line-height:1.4;color:#142c54;overflow-wrap:anywhere}
.mskr-property-profile-page .mskr-profile-metric small{font-size:12px;color:#5f7290;font-weight:750;line-height:1.4}
/* Tabs: quiet silver-blue bar and high-contrast royal-blue selected button. */
.mskr-property-profile-page .mskr-profile-tabs{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:3px;
 padding:5px;margin:0 0 15px;border:1px solid #dce6f7;
 background:linear-gradient(180deg,#fff,#f5f9ff);border-radius:16px;
 overflow-x:auto;scrollbar-width:none;box-shadow:0 3px 13px #1448840d;
}
.mskr-property-profile-page .mskr-profile-tabs::-webkit-scrollbar{display:none}
.mskr-property-profile-page .mskr-profile-tabs button{
 display:flex;gap:7px;align-items:center;justify-content:center;
 min-width:0;min-height:47px;border:1px solid transparent;border-bottom:1px solid transparent;
 border-radius:11px;line-height:1.4;padding:10px 7px;white-space:nowrap;
 background:transparent;color:#20365e;font:inherit;font-weight:850;font-size:13px;
 cursor:pointer;transition:background .15s,color .15s,box-shadow .15s;
}
.mskr-property-profile-page .mskr-profile-tabs button .mskr-prof-icon{width:18px;height:18px}
.mskr-property-profile-page .mskr-profile-tabs button:not(.is-active):hover{background:#edf4ff;color:#0d52ae}
.mskr-property-profile-page .mskr-profile-tabs button.is-active{
 border-color:#0755d0;background:linear-gradient(110deg,#126cf2,#0448c6);
 color:#fff;box-shadow:0 4px 12px #0d5bd33c;
}
/* The active panel, details & feature tags share the same premium surfaces. */
.mskr-property-profile-page .mskr-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:16px;align-items:start}
.mskr-property-profile-page .mskr-profile-pane,.mskr-property-profile-page .mskr-profile-sidebar>div{
 border:1px solid #e2eaf7;background:#fff;border-radius:17px;
 box-shadow:0 5px 15px #143d7a0c;padding:20px;
}
.mskr-property-profile-page .mskr-profile-pane{min-height:220px}
.mskr-property-profile-page .mskr-profile-pane h2{
 display:flex;gap:9px;align-items:center;justify-content:flex-start;
 font-size:19px;color:#142c57;font-weight:900;line-height:1.5;margin:0 0 16px;
}
.mskr-property-profile-page .mskr-profile-pane h2 .mskr-prof-icon{color:#0c5fe6;width:23px;height:23px}
.mskr-property-profile-page .mskr-profile-description{font-size:14px;line-height:2;color:#425674}
.mskr-property-profile-page .mskr-profile-facts,.mskr-property-profile-page .mskr-profile-feature-grid{gap:9px}
.mskr-property-profile-page .mskr-profile-facts span,.mskr-property-profile-page .mskr-profile-feature-grid span{
 border:1px solid #cceddc;background:linear-gradient(125deg,#f3fcf8,#e5f7ed);
 color:#176349;font-weight:850;border-radius:11px;min-height:45px;
 padding:11px 8px;display:flex;align-items:center;justify-content:center;gap:5px;
}
.mskr-property-profile-page .mskr-profile-details>div{background:#f5f9ff;border:1px solid #dce9ff;border-radius:11px}
.mskr-property-profile-page .mskr-profile-details strong{color:#1453b2}
.mskr-property-profile-page .mskr-profile-trust{border:1px solid #ffead1;color:#8d6328;background:#fff9ee;border-radius:11px}
.mskr-property-profile-page .mskr-profile-owner>a{border:1px solid #d8e7ff;border-radius:9px}
.mskr-property-profile-page .mskr-profile-contact-direct{border:1px solid #e2eaf7}
.mskr-property-profile-page .mskr-profile-contact-direct a,
.mskr-property-profile-page .mskr-profile-mobile-actions a{
 display:flex;justify-content:center;align-items:center;gap:9px;min-height:49px;
 border:1px solid transparent;border-radius:12px;
 font-weight:900;color:#fff!important;text-decoration:none!important;
 box-shadow:0 4px 14px #0c356b18;transition:filter .15s,transform .15s;
}
.mskr-property-profile-page .mskr-profile-contact-direct a:hover,
.mskr-property-profile-page .mskr-profile-mobile-actions a:hover{filter:brightness(1.045);transform:translateY(-1px)}
.mskr-property-profile-page .mskr-profile-call,
.mskr-property-profile-page .mskr-profile-mobile-actions .mskr-profile-call,
.mskr-property-profile-page .mskr-profile-mobile-actions .mskr-profile-inquiry-link{
 background:linear-gradient(110deg,#0b65ed,#0748cc);
}
.mskr-property-profile-page .mskr-profile-whatsapp,
.mskr-property-profile-page .mskr-profile-mobile-actions .mskr-profile-whatsapp{
 background:linear-gradient(110deg,#05bf71,#009d53);
}
.mskr-property-profile-page .mskr-profile-contact-direct .mskr-prof-icon,
.mskr-property-profile-page .mskr-profile-mobile-actions .mskr-prof-icon{width:21px;height:21px;stroke-width:2.1}
.mskr-property-profile-page .mskr-profile-mobile-actions{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
 margin-top:18px;padding:0;border:0;background:transparent;box-shadow:none;
}
.mskr-property-profile-page .mskr-profile-mobile-actions:has(>a:only-child){grid-template-columns:1fr}
.mskr-property-profile-page .mskr-profile-mobile-actions a{font-size:17px;min-height:53px}
.mskr-property-profile-page .mskr-profile-inquiry form .mskr-btn,
.mskr-property-profile-page .mskr-profile-inquiry a.mskr-btn,
.mskr-property-profile-page .mskr-comment-form .mskr-btn,
.mskr-property-profile-page .mskr-profile-pane .mskr-btn{
 border:1px solid #0a53d4;background:linear-gradient(120deg,#0867ed,#034bc8);
 border-radius:11px;box-shadow:0 4px 13px #155bce22;
 font-size:13px;min-height:46px;transition:filter .14s,transform .14s;
}
.mskr-property-profile-page .mskr-profile-inquiry .mskr-btn:hover,
.mskr-property-profile-page .mskr-comment-form .mskr-btn:hover,
.mskr-property-profile-page .mskr-profile-pane .mskr-btn:hover{filter:brightness(1.07);transform:translateY(-1px)}
.mskr-property-profile-page .mskr-comment-form{background:#f6f9ff;border:1px solid #dae6fa;border-radius:14px;gap:12px}
.mskr-property-profile-page .mskr-comment-form textarea,
.mskr-property-profile-page .mskr-profile-inquiry textarea{
 background:#fff;color:#183250;border:1px solid #c9d8f1;border-radius:12px;
 box-shadow:0 1px 3px #1b4d7508;min-height:112px;
}
.mskr-property-profile-page .mskr-profile-pane input:focus,
.mskr-property-profile-page .mskr-profile-pane textarea:focus,
.mskr-property-profile-page .mskr-profile-sidebar textarea:focus{outline:2px solid #8dbaff;outline-offset:1px;border-color:#2d79f2}
.mskr-property-profile-page .mskr-comment-notice{background:#e8f8f0;border:1px solid #bdebd2;color:#086a45}
.mskr-property-profile-page .mskr-comment{border-bottom:1px solid #e5edfa}
.mskr-property-profile-page .mskr-comment-head strong{color:#19427e}
.mskr-property-profile-page .mskr-profile-lightbox button{transition:background .15s}
.mskr-property-profile-page .mskr-profile-lightbox button:hover{background:#dfeaff}

@media(max-width:1100px){
 .mskr-property-profile-page .mskr-profile-top{grid-template-columns:minmax(290px,.87fr) minmax(0,1.13fr)}
 .mskr-property-profile-page .mskr-profile-layout{grid-template-columns:minmax(0,1fr) 235px}
 .mskr-property-profile-page .mskr-profile-metric{min-height:101px}
 .mskr-property-profile-page .mskr-profile-tabs button{font-size:12px;gap:4px;padding:9px 4px}
}
@media(max-width:820px){
 .mskr-property-profile-page .mskr-profile-top{grid-template-columns:minmax(0,1fr);gap:0}
 .mskr-property-profile-page .mskr-profile-mosaic{grid-column:1;grid-row:1;height:280px;border-radius:16px 16px 0 0}
 .mskr-property-profile-page .mskr-profile-info{grid-column:1;grid-row:2;padding:18px 14px;border:1px solid #e3eaf5;border-top:0;border-radius:0 0 16px 16px}
 .mskr-property-profile-page .mskr-profile-layout{grid-template-columns:1fr}
 .mskr-property-profile-page .mskr-profile-sidebar{grid-row:auto}
 .mskr-property-profile-page .mskr-profile-tabs{display:flex}
 .mskr-property-profile-page .mskr-profile-tabs button{flex:0 0 auto;padding:10px 14px;font-size:13px}
}
@media(max-width:600px){
 .mskr-property-profile-page{padding:7px 8px calc(99px + env(safe-area-inset-bottom))}
 .mskr-property-profile-page .mskr-profile{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
 .mskr-property-profile-page .mskr-profile-top{margin:0 0 11px}
 .mskr-property-profile-page .mskr-profile-mosaic{height:235px;border-radius:14px 14px 0 0}
 .mskr-property-profile-page .mskr-profile-info{padding:14px 13px;border-radius:0 0 14px 14px;gap:9px}
 .mskr-property-profile-page .mskr-profile-info h1{font-size:21px}
 .mskr-property-profile-page .mskr-profile-state{font-size:11px;padding:4px 10px}
 .mskr-property-profile-page .mskr-profile-address{font-size:12px}
 .mskr-property-profile-page .mskr-profile-price-box{padding:12px 8px;border-radius:14px;gap:6px}
 .mskr-property-profile-page .mskr-profile-price{font-size:clamp(19px,5.4vw,23px);gap:5px}
 .mskr-property-profile-page .mskr-profile-price .mskr-prof-icon{width:24px;height:24px}
 .mskr-property-profile-page .mskr-profile-negotiable{font-size:11px;padding:5px 12px}
 .mskr-property-profile-page .mskr-profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px}
 .mskr-property-profile-page .mskr-profile-metric{min-height:97px;border-radius:13px;padding:11px 5px}
 .mskr-property-profile-page .mskr-profile-metric .mskr-prof-icon{width:23px;height:23px}
 .mskr-property-profile-page .mskr-profile-metric b{font-size:15px}
 .mskr-property-profile-page .mskr-profile-metric small{font-size:11px}
 .mskr-property-profile-page .mskr-profile-tabs{margin-bottom:12px;border-radius:12px;padding:4px;gap:2px;max-width:100%}
 .mskr-property-profile-page .mskr-profile-tabs button{padding:9px 10px;min-height:42px;font-size:11px;gap:5px;border-radius:9px}
 .mskr-property-profile-page .mskr-profile-tabs button .mskr-prof-icon{width:15px;height:15px}
 .mskr-property-profile-page .mskr-profile-pane,.mskr-property-profile-page .mskr-profile-sidebar>div{padding:15px;border-radius:13px}
 .mskr-property-profile-page .mskr-profile-pane{min-height:170px}
 .mskr-property-profile-page .mskr-profile-pane h2{font-size:16px;gap:6px}
 .mskr-property-profile-page .mskr-profile-pane h2 .mskr-prof-icon{width:19px;height:19px}
 .mskr-property-profile-page .mskr-profile-facts,.mskr-property-profile-page .mskr-profile-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mskr-property-profile-page .mskr-profile-facts span,.mskr-property-profile-page .mskr-profile-feature-grid span{font-size:11px;min-height:41px;padding:9px 5px}
 .mskr-property-profile-page .mskr-profile-mobile-actions{
   position:fixed;bottom:0;left:0;right:0;z-index:1000;margin:0;gap:9px;
   padding:9px max(11px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(11px,env(safe-area-inset-left));
   border-top:1px solid #e2eaf7;background:rgba(255,255,255,.975);
   box-shadow:0 -5px 22px #193a6b1e;backdrop-filter:blur(10px);
 }
 .mskr-property-profile-page .mskr-profile-mobile-actions a{min-height:48px;font-size:14px;border-radius:11px}
 .mskr-property-profile-page .mskr-profile-contact-direct a{font-size:13px}
 .mskr-property-profile-page .mskr-profile-hero-controls button{width:38px;height:38px}
 .mskr-property-profile-page .mskr-profile-photos-all{left:9px;bottom:10px;padding:8px 10px;font-size:10px}
}
@media(max-width:355px){
 .mskr-property-profile-page .mskr-profile-tabs button{padding:8px 9px;font-size:10px}
 .mskr-property-profile-page .mskr-profile-mobile-actions a{font-size:12px}
 .mskr-property-profile-page .mskr-profile-metric b{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 .mskr-property-profile-page .mskr-profile *{transition:none!important;scroll-behavior:auto!important}
}
/* Full-size placeholder for properties whose private photo gallery is empty. */
.mskr-property-profile-page .mskr-profile-no-photos{height:100%;min-height:220px}

/* 1.3.5 — Context Messenger integration: inline the original secure CTA.
   Keep it separate from the fixed call/WhatsApp controls on small screens. */
.mskr-property-profile-page .mskr-profile-message-slot:empty{display:none!important}
.mskr-property-profile-page .mskr-profile-message-slot:not(:empty){
 display:flex;justify-content:flex-start;align-items:center;direction:rtl;
 padding:0;margin:0 0 15px;min-width:0;
}
.mskr-property-profile-page .mskr-profile-message-slot #mskcm-contact-cta{
 position:static!important;inset:auto!important;transform:none!important;
 display:inline-flex;justify-content:center;align-items:center;gap:9px;
 max-width:100%;min-height:46px;padding:10px 18px;margin:0!important;
 box-sizing:border-box;text-align:center;white-space:normal;line-height:1.5;
 background:linear-gradient(110deg,#0b847c,#086d79);color:#fff!important;
 border:1px solid #0a7b77;border-radius:12px;
 box-shadow:0 5px 15px rgba(6,96,109,.13)!important;
 font-size:13px;font-weight:850;text-decoration:none!important;
}
.mskr-property-profile-page .mskr-profile-message-slot #mskcm-contact-cta:focus-visible{
 outline:3px solid #62bde9;outline-offset:3px;
}
/* Compatibility safeguard when a cached/older messenger script fails to move
   the floating CTA: keep it above the phone/WhatsApp bar, never over it. */
@media(max-width:600px){
 .mskr-property-profile-page .mskr-profile-message-slot:not(:empty){margin:0 0 12px}
 .mskr-property-profile-page .mskr-profile-message-slot #mskcm-contact-cta{
   width:100%;min-height:46px;font-size:13px;padding:11px 12px;
 }
 body:has(.mskr-property-profile-page) #mskcm-contact-cta.mskcm-contact-float:not(.mskcm-inline){
   bottom:calc(87px + env(safe-area-inset-bottom))!important;
   left:12px!important;right:12px!important;max-width:none!important;
   justify-content:center;text-align:center;
 }
}


/* v1.3.6 – premium hero gallery with autoplay-ready controls */
.mskr-property-profile-page .mskr-profile-mosaic{isolation:isolate;overflow:hidden;position:relative}
.mskr-property-profile-page .mskr-profile-mosaic::after{
 content:"";position:absolute;inset:auto 0 0 0;height:42%;
 background:linear-gradient(180deg,rgba(5,17,35,0) 0%,rgba(5,17,35,.18) 46%,rgba(5,17,35,.62) 100%);
 pointer-events:none;z-index:1;
}
.mskr-property-profile-page .mskr-profile-image{position:relative;z-index:0}
.mskr-property-profile-page .mskr-profile-image img{transition:opacity .32s ease,transform .45s ease}
.mskr-property-profile-page .mskr-profile-image img.is-swapping{opacity:.55}
.mskr-property-profile-page .mskr-profile-image-0:hover img{transform:scale(1.02)}
.mskr-property-profile-page .mskr-profile-hero-controls{z-index:3}
.mskr-property-profile-page .mskr-profile-hero-badge{
 display:inline-flex;align-items:center;justify-content:center;
 min-width:78px;padding:7px 12px;border-radius:999px;
 background:rgba(8,23,45,.82);color:#fff;border:1px solid rgba(255,255,255,.17);
 backdrop-filter:blur(8px);font-size:12px;font-weight:850;box-shadow:0 8px 20px rgba(7,24,44,.22);
}
.mskr-property-profile-page .mskr-profile-hero-controls .mskr-hero-arrow{
 width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.95);
 border:1px solid rgba(228,236,249,.95);color:#0f2f58;box-shadow:0 12px 24px rgba(13,40,78,.18);
 font-size:22px;font-weight:900;backdrop-filter:blur(6px)
}
.mskr-property-profile-page .mskr-profile-hero-controls .mskr-hero-arrow:hover{background:#fff;transform:scale(1.06)}
.mskr-property-profile-page .mskr-profile-photos-all{
 display:inline-flex;align-items:center;gap:10px;min-height:56px;z-index:3;
 left:16px;right:auto;bottom:16px;padding:10px 14px 10px 16px;
 background:linear-gradient(135deg,rgba(10,29,57,.94),rgba(7,47,96,.92));
 border:1px solid rgba(255,255,255,.2);border-radius:16px;
 box-shadow:0 14px 28px rgba(5,20,42,.28);backdrop-filter:blur(10px);
 color:#fff;text-align:right
}
.mskr-property-profile-page .mskr-profile-photos-all-icon{
 width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:0 0 38px;
 background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12)
}
.mskr-property-profile-page .mskr-profile-photos-all-icon .mskr-prof-icon{width:18px;height:18px}
.mskr-property-profile-page .mskr-profile-photos-all-text{display:grid;gap:2px;line-height:1.2}
.mskr-property-profile-page .mskr-profile-photos-all-text strong{font-size:13px;font-weight:900;color:#fff}
.mskr-property-profile-page .mskr-profile-photos-all-text small{font-size:11px;color:rgba(255,255,255,.82);font-weight:700}
.mskr-property-profile-page .mskr-profile-photos-all:hover{filter:brightness(1.06);transform:translateY(-1px)}
@media(max-width:600px){
 .mskr-property-profile-page .mskr-profile-mosaic{height:248px}
 .mskr-property-profile-page .mskr-profile-hero-controls{left:10px;right:10px}
 .mskr-property-profile-page .mskr-profile-hero-controls .mskr-hero-arrow{width:44px;height:44px;font-size:20px}
 .mskr-property-profile-page .mskr-profile-hero-badge{position:absolute;top:12px;left:12px;min-width:68px;font-size:11px;padding:6px 10px}
 .mskr-property-profile-page .mskr-profile-photos-all{left:10px;bottom:12px;min-height:50px;padding:9px 12px;border-radius:14px;gap:8px;max-width:calc(100% - 20px)}
 .mskr-property-profile-page .mskr-profile-photos-all-icon{width:34px;height:34px;flex-basis:34px;border-radius:10px}
 .mskr-property-profile-page .mskr-profile-photos-all-text strong{font-size:12px}
 .mskr-property-profile-page .mskr-profile-photos-all-text small{font-size:10px}
}
@media(max-width:355px){
 .mskr-property-profile-page .mskr-profile-photos-all{padding:8px 10px;gap:7px}
 .mskr-property-profile-page .mskr-profile-hero-controls .mskr-hero-arrow{width:40px;height:40px}
}
