/* RentFind Kenya refinement layer — homepage, public navigation and property details. */
:root{--rf-blue:#0868e8;--rf-blue-dark:#0756c5;--rf-ink:#102b4c;--rf-muted:#64748b;--rf-line:#e2eaf4;--rf-soft:#f4f8ff}
body.rf-app{padding-bottom:0!important}
body.rf-app .rf-footer{padding-bottom:24px!important}
.rf-mobileNav,.mobileBottomNav{display:none!important}
.rf-referenceSearch .rf-searchButton{display:flex!important;align-items:center;justify-content:center;gap:8px}
.rf-referenceSearch .rf-searchButton span{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;visibility:visible!important;opacity:1!important;color:#fff!important;font-size:inherit!important;line-height:1.1;font-weight:800;white-space:nowrap}
.rf-referenceSearch .rf-searchButton span b{font-size:20px;line-height:1;font-weight:500}
.rf-categoryTiles .rf-categoryIcon{display:grid;place-items:center;color:#1673c9}
.rf-categoryTiles .rf-categoryIcon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rf-locationGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.rf-locationCard{min-width:0;border-radius:14px!important;box-shadow:0 5px 18px rgba(16,43,76,.07)!important}
.rf-locationCard img{height:145px!important;object-fit:cover;display:block;background:#eaf1f8}
.rf-locationCard>span{padding:13px 14px 14px!important;min-width:0}
.rf-locationCard strong{display:flex;align-items:center;gap:6px;font-size:14px!important;line-height:1.25;white-space:normal!important;overflow-wrap:anywhere}
.rf-locationCard strong i{font-style:normal;color:var(--rf-blue);font-size:16px;line-height:1}
.rf-locationCard small{font-size:12px!important;line-height:1.4;margin-top:4px!important}
.rf-locationCard:focus-visible{outline:3px solid #86baff;outline-offset:3px}
.rf-menuOpen{overflow:hidden!important}
.rf-menuOverlay{position:fixed!important;inset:0!important;z-index:120!important;display:flex!important;justify-content:flex-end!important;align-items:stretch!important;background:rgba(8,24,43,.48)!important;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
.rf-menuOverlay.open{opacity:1;visibility:visible;pointer-events:auto}
.rf-menuPanel{width:min(430px,88vw)!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;background:#fff!important;border-radius:0!important;padding:22px 22px calc(28px + env(safe-area-inset-bottom))!important;box-shadow:-18px 0 48px rgba(6,27,49,.18);transform:translateX(102%);transition:transform .28s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column;gap:0}
.rf-menuOverlay.open .rf-menuPanel{transform:translateX(0)}
.rf-menuHead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 0 22px;border-bottom:1px solid var(--rf-line)}
.rf-menuBrand{display:flex;align-items:center;gap:11px;min-width:0;color:var(--rf-ink);text-decoration:none}
.rf-menuBrand img{width:50px;height:50px;object-fit:contain;flex:none}
.rf-menuBrand span{display:flex;flex-direction:column;gap:3px;min-width:0}
.rf-menuBrand strong{font-size:20px;line-height:1;color:var(--rf-blue)}
.rf-menuBrand small{font-size:10px;line-height:1.35;color:var(--rf-muted)}
.rf-menuPanel .menuClose{width:42px;height:42px;flex:none;border:0;border-radius:50%;background:#f1f5fb;color:var(--rf-ink);font-size:27px;line-height:1;cursor:pointer}
.rf-menuGroup{display:flex;flex-direction:column;padding:19px 0 7px;border-bottom:1px solid var(--rf-line)}
.rf-menuLabel{margin:0 0 8px;color:#8291a3;font-size:10px;font-weight:850;letter-spacing:1.15px}
.rf-menuGroup>a{min-height:54px;display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:10px;color:#173451;text-decoration:none;font-size:15px;font-weight:700;border-radius:10px;padding:0 8px}
.rf-menuGroup>a:hover{background:#f4f8ff;color:var(--rf-blue)}
.rf-menuGroup>a i{width:30px;height:30px;display:grid;place-items:center;font-style:normal;font-size:20px;color:var(--rf-blue);background:#edf5ff;border-radius:9px}
.rf-menuGroup>a b{font-size:21px;color:#91a1b4;font-weight:500}
.rf-menuAccount{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:20px 0 17px}
.rf-menuAccount>a{min-height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #cbdcf0;border-radius:10px;color:#1457a6;font-size:13px;font-weight:800;text-decoration:none}
.rf-menuAccount>a:last-child{background:var(--rf-blue);border-color:var(--rf-blue);color:#fff}
.rf-menuLegal{display:flex;flex-wrap:wrap;gap:9px 17px;margin-top:auto;padding-top:16px;border-top:1px solid var(--rf-line)}
.rf-menuLegal a{color:#6c7e92;font-size:11px;text-decoration:none}
.rf-socialFooter{display:flex;flex-direction:column;gap:8px}
.rf-socialFooter>a{display:flex;align-items:center;gap:9px}
.rf-socialFooter img{width:23px;height:23px;border-radius:6px}
/* Property details — server-rendered, shareable and complete on the first page. */
.rf-propertyDetailPage{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:28px 0 72px;overflow:visible!important}
.rf-pdBreadcrumbs{display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#7b8ca1;font-size:12px;flex-wrap:wrap}
.rf-pdBreadcrumbs a{color:#34608b;text-decoration:none;font-weight:700}
.rf-pdGallery{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.8fr);grid-template-rows:repeat(2,minmax(150px,1fr));gap:10px;border-radius:20px;overflow:hidden;background:#eaf1f8;min-height:390px}
.rf-pdPhoto{position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;border:0;background:#dfe9f2;overflow:hidden;cursor:pointer}
.rf-pdPhoto:first-child{grid-row:1/3;min-height:390px}
.rf-pdPhoto img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover;transition:transform .3s ease}
.rf-pdPhoto:hover img{transform:scale(1.025)}
.rf-pdPhotoMore{position:absolute;right:12px;bottom:12px;padding:9px 13px;border-radius:9px;background:rgba(8,28,50,.82);color:#fff;font-size:12px;font-weight:800}
.rf-pdGalleryEmpty{grid-column:1/-1;min-height:300px;display:grid;place-items:center;color:#6c7f94;font-weight:700;background:linear-gradient(135deg,#edf4fb,#e0eaf5)}
.rf-pdLayout{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:25px;margin-top:25px}
.rf-pdMain{min-width:0}
.rf-pdKicker{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.rf-pdBadge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eaf3ff;color:#175cae;font-size:11px;font-weight:800}
.rf-pdBadge.isAvailable{background:#eaf8ef;color:#177444}
.rf-pdTitle{margin:0;color:var(--rf-ink);font-size:clamp(28px,4vw,42px);line-height:1.08;letter-spacing:-1.2px;font-weight:850}
.rf-pdLocation{display:flex;align-items:center;gap:7px;margin:10px 0 0;color:#62748a;font-size:14px}
.rf-pdPrice{margin:19px 0 0;color:#075cc9;font-size:clamp(24px,3vw,32px);line-height:1.1;font-weight:900;letter-spacing:-.5px}
.rf-pdPrice small{color:#738399;font-size:13px;font-weight:600;letter-spacing:0}
.rf-pdSection{margin-top:24px;padding:22px;background:#fff;border:1px solid #e4ebf3;border-radius:16px;box-shadow:0 4px 18px rgba(16,43,76,.035)}
.rf-pdSection h2{margin:0 0 15px;color:var(--rf-ink);font-size:19px;letter-spacing:-.3px}
.rf-pdOverview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rf-pdFact{min-width:0;padding:13px;border-radius:12px;background:#f6f9fd;border:1px solid #eaf0f7}
.rf-pdFact strong{display:block;color:#183b61;font-size:15px;line-height:1.25;overflow-wrap:anywhere}
.rf-pdFact span{display:block;margin-top:5px;color:#73849a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.65px}
.rf-pdDescription{color:#41566f;font-size:14px;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
.rf-pdAmenities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rf-pdAmenity{display:flex;align-items:center;gap:9px;color:#405a75;font-size:13px}
.rf-pdAmenity i{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#edf5ff;color:var(--rf-blue);font-style:normal;font-size:15px}
.rf-pdSidebar{position:sticky;top:22px;display:flex;flex-direction:column;gap:13px}
.rf-pdContactCard{padding:21px;border:1px solid #dfe8f2;border-radius:17px;background:#fff;box-shadow:0 10px 30px rgba(16,43,76,.08)}
.rf-pdContactCard h2{margin:0 0 6px;color:var(--rf-ink);font-size:18px}
.rf-pdContactCard>p{margin:0 0 16px;color:#73849a;font-size:12px;line-height:1.5}
.rf-pdContactName{margin:0 0 15px;color:#233f5e;font-weight:800}
.rf-pdAction{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:9px;padding:10px 13px;border:1px solid #d8e4f1;border-radius:10px;background:#fff;color:#1c4b7d;text-decoration:none;font-size:13px;font-weight:850;cursor:pointer}
.rf-pdAction.primary{background:var(--rf-blue);border-color:var(--rf-blue);color:#fff}
.rf-pdAction.whatsapp{background:#effbf3;border-color:#c8ecd4;color:#16804a}
.rf-pdAction.save{background:#f7f9fc}
.rf-pdMetaList{padding:16px 18px;border:1px solid #e4ebf3;border-radius:15px;background:#f8fbff}
.rf-pdMetaList div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e7eef6;font-size:12px}
.rf-pdMetaList div:last-child{border-bottom:0}
.rf-pdMetaList span{color:#718198}.rf-pdMetaList strong{color:#274765;text-align:right}
.rf-pdSimilar{margin-top:45px}
.rf-pdSimilar h2{margin:0 0 16px;color:var(--rf-ink);font-size:24px}
.rf-pdSimilarGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rf-pdSimilarCard{display:block;min-width:0;overflow:hidden;border:1px solid var(--rf-line);border-radius:13px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 4px 14px rgba(16,43,76,.05)}
.rf-pdSimilarCard img{display:block;width:100%;height:135px;object-fit:cover;background:#eaf1f8}
.rf-pdSimilarCard div{padding:12px}
.rf-pdSimilarCard strong{display:block;color:var(--rf-ink);font-size:13px;line-height:1.35}
.rf-pdSimilarCard span{display:block;margin-top:6px;color:#6f8095;font-size:11px}
.rf-pdSimilarCard b{display:block;margin-top:8px;color:#075cc9;font-size:13px}
.rf-pdGalleryViewer{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(3,13,26,.93)}
.rf-pdGalleryViewer.open{display:flex}
.rf-pdGalleryViewer img{max-width:min(1100px,90vw);max-height:84dvh;object-fit:contain}
.rf-pdGalleryViewer button{position:absolute;top:18px;right:20px;width:45px;height:45px;border:0;border-radius:50%;background:#fff;color:#173451;font-size:28px;cursor:pointer}
.rf-pdMobileActions{display:none}
@media(max-width:900px){.rf-locationGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.rf-pdLayout{grid-template-columns:minmax(0,1fr) 290px;gap:16px}.rf-pdOverview{grid-template-columns:repeat(2,minmax(0,1fr))}.rf-pdSimilarGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .rf-locationGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:unset!important;overflow:visible!important;gap:12px!important;padding:0 0 5px!important}
  .rf-locationCard{border-radius:13px!important}
  .rf-locationCard img{height:112px!important}
  .rf-locationCard>span{padding:10px 11px 11px!important}
  .rf-locationCard strong{font-size:13px!important}
  .rf-locationCard small{font-size:11px!important}
  .rf-sectionHead{align-items:flex-end!important}
  .rf-sectionHead h2{font-size:22px!important}
  .rf-categoryTiles a{min-height:82px!important}
  .rf-categoryTiles .rf-categoryIcon svg{width:26px;height:26px}
  .rf-socialFooter{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:12px!important}
  .rf-socialFooter h3{width:100%}
  .rf-socialFooter>a{display:flex!important;align-items:center;gap:6px!important;margin:0!important;font-size:11px!important}
  .rf-socialFooter img{width:25px;height:25px}
  .rf-menuPanel{width:min(410px,84vw)!important;padding:18px 18px calc(26px + env(safe-area-inset-bottom))!important}
  .rf-menuBrand img{width:45px;height:45px}
  .rf-menuBrand strong{font-size:19px}
  .rf-menuGroup>a{min-height:52px;font-size:14px}
  .rf-propertyDetailPage{width:calc(100% - 28px);padding:17px 0 110px}
  .rf-pdBreadcrumbs{font-size:11px;margin-bottom:12px}
  .rf-pdGallery{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:220px 92px;gap:6px;min-height:0;border-radius:14px}
  .rf-pdPhoto:first-child{grid-column:1/-1;grid-row:1;min-height:0}
  .rf-pdPhoto:not(:first-child) img{min-height:92px}
  .rf-pdPhoto:nth-child(n+4){display:none}
  .rf-pdPhotoMore{right:7px;bottom:7px;padding:7px 9px;font-size:10px}
  .rf-pdLayout{grid-template-columns:1fr;gap:14px;margin-top:17px}
  .rf-pdMain{display:block}
  .rf-pdSidebar{position:static}
  .rf-pdTitle{font-size:28px;letter-spacing:-.7px}
  .rf-pdLocation{font-size:12px}
  .rf-pdPrice{font-size:25px;margin-top:13px}
  .rf-pdSection{padding:16px;margin-top:15px;border-radius:14px}
  .rf-pdSection h2{font-size:17px;margin-bottom:12px}
  .rf-pdOverview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .rf-pdFact{padding:11px}
  .rf-pdDescription{font-size:13px;line-height:1.65}
  .rf-pdAmenities{grid-template-columns:1fr 1fr;gap:10px}
  .rf-pdAmenity{font-size:11px;align-items:flex-start}
  .rf-pdContactCard{padding:16px;border-radius:14px}
  .rf-pdContactCard .rf-pdAction{min-height:46px}
  .rf-pdMetaList{padding:12px 14px}
  .rf-pdSimilar{margin-top:30px}
  .rf-pdSimilar h2{font-size:20px}
  .rf-pdSimilarGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .rf-pdSimilarCard img{height:105px}
  .rf-pdSimilarCard div{padding:9px}
  .rf-pdSimilarCard strong{font-size:11px}
  .rf-pdMobileActions{position:fixed;z-index:60;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e1e9f3;background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}
  .rf-pdMobileActions .rf-pdAction{margin:0;min-height:46px}
}
@media(max-width:390px){.rf-locationCard img{height:100px!important}.rf-sectionHead{gap:8px!important}.rf-viewAll{font-size:9px!important}.rf-pdGallery{grid-template-rows:190px 82px}.rf-pdPhoto:not(:first-child) img{min-height:82px}}
@media(prefers-reduced-motion:reduce){.rf-menuOverlay,.rf-menuPanel,.rf-locationCard,.rf-pdPhoto img{transition:none!important}html{scroll-behavior:auto}}
.rf-pdGalleryViewer .rf-pdGalleryPrev,.rf-pdGalleryViewer .rf-pdGalleryNext{position:absolute;top:50%;right:auto;left:20px;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#173451;font-size:34px;line-height:1;transform:translateY(-50%);cursor:pointer}
.rf-pdGalleryViewer .rf-pdGalleryNext{left:auto;right:20px}
@media(max-width:700px){.rf-pdGalleryViewer{padding:12px}.rf-pdGalleryViewer .rf-pdGalleryPrev,.rf-pdGalleryViewer .rf-pdGalleryNext{left:10px;width:40px;height:40px}.rf-pdGalleryViewer .rf-pdGalleryNext{left:auto;right:10px}}
