/* Real Estate — property detail stability fixes */
.re-detail{padding-top:132px!important}.re-detail-gallery{grid-template-columns:2fr 1fr 1fr!important;grid-template-rows:420px!important;height:420px!important;gap:10px!important;margin-bottom:25px!important}.re-detail-gallery a,.re-detail-gallery img,.re-detail-gallery a:first-child img{height:420px!important;width:100%;display:block;object-fit:cover}.re-detail-gallery a{overflow:hidden;border-radius:12px}.re-detail-gallery img{transition:transform .35s ease}.re-detail-gallery a:hover img{transform:scale(1.025)}.detail-section{margin-top:28px;padding-top:22px;border-top:1px solid #edf0f4}.detail-attributes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.detail-attributes>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #e7eaf0;border-radius:12px;background:#fcfcfd}.detail-attributes>div span{color:#7b8494;font-size:11px}.detail-attributes>div strong{color:#17243d;font-size:12px;text-align:left}.detail-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.detail-features span{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #ead9b8;border-radius:999px;background:#fffaf0;color:#8e651b;font-size:10px;font-weight:700}.agent-box{display:flex;align-items:center;gap:10px;margin-bottom:8px}.agent-avatar{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#f7efdf;color:#b27c1d;font-size:20px}.re-contact-card .contact-phone,.re-contact-card .re-whatsapp-btn{display:flex;align-items:center;justify-content:center;gap:7px}.re-contact-card .contact-phone span,.re-contact-card .re-whatsapp-btn span{font-size:11px}.property-lightbox{backdrop-filter:blur(4px)}
@media(max-width:800px){.re-detail{padding-top:92px!important}.re-detail-gallery{grid-template-columns:1fr 1fr!important;grid-template-rows:220px 220px!important;height:450px!important}.re-detail-gallery a,.re-detail-gallery img,.re-detail-gallery a:first-child img{height:220px!important}.re-detail-gallery a:first-child{grid-column:1/-1}.detail-attributes{grid-template-columns:1fr}.re-detail-gallery a:nth-child(n+4){display:none}}
@media(max-width:480px){.re-detail{padding-top:82px!important}.re-detail-gallery{grid-template-rows:185px 185px!important;height:380px!important;gap:7px!important}.re-detail-gallery a,.re-detail-gallery img,.re-detail-gallery a:first-child img{height:185px!important}.re-detail-gallery a:first-child{grid-column:1/-1}.re-detail h1{font-size:27px!important}}
.detail-attributes>div{justify-content:flex-start}.detail-attr-icon{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:9px;background:#fff7e8;color:#b47d1c;font-size:14px}.detail-attributes>div>span:nth-child(2){margin-inline-end:auto}
/* Property detail — favorite placement */
.re-detail-top{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:42px}.re-detail-top .favorite-toggle{position:static!important;inset:auto!important;width:auto!important;min-width:142px;height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e5d4ad;border-radius:10px;background:#fffaf0;color:#a97216;font-family:inherit;font-size:11px;font-weight:700;box-sizing:border-box}.re-detail-top .favorite-toggle.is-favorite{background:#fff4f2;color:#c84a3d;border-color:#efcbc5}.re-detail-top .favorite-toggle:hover{background:#f7efdf;transform:none}.re-detail-top .favorite-toggle span{white-space:nowrap}@media(max-width:520px){.re-detail-top{gap:10px}.re-detail-top .favorite-toggle{min-width:0;padding:0 10px}.re-detail-top .favorite-toggle span{font-size:10px}}
