.epb-property-page{
    max-width:1440px;
    margin:0 auto;
    padding:28px 22px 55px;
    color:#12233f;
}
.epb-property-breadcrumb{
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:18px;
    color:#718096;
    font-size:13px;
}
.epb-property-breadcrumb a{
    color:#1769d2;
    text-decoration:none;
    font-weight:600;
}
.epb-property-layout{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(350px,.78fr);
    gap:25px;
    align-items:start;
}
.epb-property-gallery{
    position:relative;
    overflow:hidden;
    min-height:680px;
    border-radius:20px;
    background:linear-gradient(145deg,#eef3f8,#e4eaf1);
    border:1px solid #dfe6ee;
    box-shadow:0 12px 35px rgba(15,35,65,.08);
}
.epb-property-gallery img{
    display:block;
    width:100%;
    height:680px;
    object-fit:cover;
}
.epb-gallery-placeholder{
    width:100%;
    height:680px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:#7b8796;
}
.epb-gallery-placeholder i{
    font-size:52px;
    margin-bottom:10px;
    opacity:.65;
}
.epb-gallery-placeholder span{
    font-size:18px;
    font-weight:600;
}
.epb-gallery-badge{
    position:absolute;
    left:18px;
    top:18px;
    padding:7px 12px;
    border-radius:8px;
    background:#1769d2;
    color:#fff;
    font-size:12px;
    font-weight:800;
    box-shadow:0 4px 12px rgba(23,105,210,.22);
}
.epb-property-info{
    background:#fff;
    border:1px solid #e1e7ef;
    border-radius:20px;
    padding:25px;
    box-shadow:0 12px 35px rgba(15,35,65,.07);
}
.epb-purpose-pill{
    display:inline-flex;
    padding:6px 11px;
    border-radius:7px;
    background:#1769d2;
    color:#fff;
    font-size:12px;
    font-weight:800;
}
.epb-property-info h1{
    margin:13px 0 8px;
    font-size:32px;
    line-height:1.2;
    letter-spacing:-.5px;
    color:#102b50;
}
.epb-property-price{
    font-size:30px;
    line-height:1.15;
    font-weight:850;
    color:#092f63;
    margin:7px 0 9px;
}
.epb-property-location{
    display:flex;
    align-items:flex-start;
    gap:7px;
    color:#64748b;
    font-size:14px;
    line-height:1.5;
    margin:0 0 20px;
}
.epb-property-location i{color:#1769d2}
.epb-spec-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    margin-bottom:20px;
}
.epb-spec{
    padding:13px 10px;
    background:#f7f9fc;
    border:1px solid #e5eaf1;
    border-radius:11px;
    text-align:center;
}
.epb-spec i{
    color:#1769d2;
    font-size:17px;
}
.epb-spec strong{
    display:block;
    margin-top:5px;
    font-size:14px;
    color:#253a58;
}
.epb-spec small{
    display:block;
    margin-top:2px;
    color:#8390a0;
    font-size:10px;
    text-transform:uppercase;
    font-weight:700;
}
.epb-contact-box{
    border:1px solid #dfe6ee;
    border-radius:15px;
    background:#fbfcfe;
    padding:18px;
}
.epb-contact-box h2{
    margin:0;
    font-size:21px;
    color:#172b4d;
}
.epb-contact-name{
    margin:4px 0 14px;
    color:#64748b;
    font-size:14px;
}
.epb-call-btn,
.epb-chat-btn,
.epb-send-btn{
    width:100%;
    min-height:44px;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-weight:750;
    text-decoration:none !important;
    cursor:pointer;
}
.epb-call-btn{
    background:#16945b;
    color:#fff !important;
    border:1px solid #16945b;
}
.epb-call-btn:hover{background:#117c4b;color:#fff!important}
.epb-chat-btn{
    margin-top:9px;
    background:#fff;
    color:#1769d2 !important;
    border:1px solid #1769d2;
}
.epb-owner-verification{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 14px;
}
.epb-owner-verification-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 9px;
    border-radius:8px;
    border:1px solid #e3e8ef;
    background:#fff;
    color:#7b8796;
    font-size:11px;
    font-weight:800;
}
.epb-owner-verification-chip.verified{
    border-color:#bfe8d3;
    background:#effbf4;
    color:#14824f;
}
.epb-owner-verification-chip.unverified{
    border-color:#f1d9a5;
    background:#fff9ec;
    color:#9a6a12;
}
.epb-owner-verification-note{
    margin:-4px 0 12px;
    color:#7a8798;
    font-size:11px;
    line-height:1.45;
}
.epb-enquiry-form{
    margin-top:14px;
}
.epb-enquiry-form input,
.epb-enquiry-form textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #dbe2eb;
    border-radius:8px;
    padding:11px 12px;
    margin-bottom:8px;
    background:#fff;
    color:#172b4d;
    outline:none;
}
.epb-enquiry-form input:focus,
.epb-enquiry-form textarea:focus{
    border-color:#1769d2;
    box-shadow:0 0 0 3px rgba(23,105,210,.08);
}
.epb-send-btn{
    border:0;
    background:#1769ff;
    color:#fff;
}
.epb-visit-box{
    margin-top:14px;
    padding:16px;
    border:1px solid #dbe7f7;
    border-radius:14px;
    background:#f5f9ff;
}
.epb-visit-box h3{
    margin:0 0 5px;
    font-size:17px;
    color:#16345d;
}
.epb-visit-box p{
    color:#64748b;
    font-size:12px;
    margin:0 0 12px;
}
.epb-description{
    margin-top:25px;
    padding:25px;
    border:1px solid #e1e7ef;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 25px rgba(15,35,65,.05);
}
.epb-description h2{
    margin:0 0 12px;
    font-size:23px;
    color:#102b50;
}
.epb-description-content{
    color:#526277;
    font-size:15px;
    line-height:1.8;
}
.epb-property-footer-actions{
    display:flex;
    gap:10px;
    margin-top:18px;
}
.epb-back-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:10px 14px;
    border:1px solid #dbe2eb;
    border-radius:9px;
    color:#31506f;
    text-decoration:none;
    font-weight:650;
}

/* Property photo slider and shared Contact Owner popup */
.epb-gallery-slider{position:relative;width:100%;height:520px;background:#edf2f7;overflow:hidden}
.epb-gallery-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.epb-gallery-open img{width:100%;height:100%;object-fit:cover;display:block}
.epb-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#17365b;font-size:20px;box-shadow:0 4px 16px rgba(0,0,0,.2);cursor:pointer}
.epb-gallery-nav.prev{left:14px}.epb-gallery-nav.next{right:14px}
.epb-gallery-nav[hidden]{display:none!important}
.epb-gallery-count{position:absolute;right:15px;bottom:15px;padding:6px 11px;border-radius:20px;background:rgba(0,0,0,.68);color:#fff;font-size:12px;font-weight:750}
.epb-gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:10px 2px 2px}
.epb-gallery-thumb{flex:0 0 78px;width:78px;height:62px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:#eef2f7;cursor:pointer}
.epb-gallery-thumb.active{border-color:#1769d2}.epb-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.epb-property-gallery{height:auto;min-height:0;overflow:visible;background:transparent;border:0;box-shadow:none}
.epb-property-gallery .epb-gallery-badge{z-index:4}
.epb-contact-owner-btn{width:100%;min-height:46px;margin-top:4px;border:0;border-radius:9px;background:#0ca678;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.epb-contact-owner-btn:hover{background:#099268}
.epb-contact-modal{display:none;position:fixed;inset:0;z-index:3000;background:rgba(10,20,35,.68);align-items:center;justify-content:center;padding:18px}
.epb-contact-modal.open{display:flex}
.epb-contact-dialog{position:relative;width:100%;max-width:430px;max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:16px;padding:25px 22px;box-shadow:0 18px 55px rgba(0,0,0,.25)}
.epb-contact-dialog h3{margin:0 30px 5px;color:#17365b;font-size:23px;font-weight:800}
.epb-contact-dialog .epb-contact-subtitle{margin:0 0 17px;color:#718096;font-size:13px;line-height:1.5}
.epb-modal-close{position:absolute;right:14px;top:10px;width:32px;height:32px;border:0;background:transparent;color:#718096;font-size:27px;line-height:1;cursor:pointer}
.epb-contact-field{display:block;margin-bottom:12px}
.epb-contact-field span{display:block;margin-bottom:5px;color:#405875;font-size:12px;font-weight:750}
.epb-contact-field input{display:block;width:100%;height:42px;padding:9px 11px;border:1px solid #d8e2ee;border-radius:8px;background:#fff;color:#172b4d;outline:none;box-sizing:border-box}
.epb-contact-field input:focus{border-color:#1769d2;box-shadow:0 0 0 3px rgba(23,105,210,.09)}
.epb-contact-submit{width:100%;min-height:45px;border:0;border-radius:9px;background:#0ca678;color:#fff;font-weight:800;cursor:pointer}
.epb-contact-submit:hover{background:#099268}
.epb-image-modal{display:none;position:fixed;inset:0;z-index:3100;background:rgba(4,10,20,.94);align-items:center;justify-content:center;padding:50px 18px 35px}
.epb-image-modal.open{display:flex}
.epb-image-viewer{position:relative;width:min(1100px,100%);height:min(78vh,760px);display:flex;align-items:center;justify-content:center}
.epb-image-viewer img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px}
.epb-image-viewer .epb-gallery-nav{position:fixed}
.epb-image-viewer .epb-gallery-count{bottom:-28px;right:50%;transform:translateX(50%)}
@media(max-width:950px){.epb-gallery-slider{height:360px}}
@media(max-width:600px){
    .epb-gallery-slider{height:230px}
    .epb-gallery-thumb{flex-basis:64px;width:64px;height:52px}
    .epb-contact-dialog{padding:24px 18px}
}

@media(max-width:950px){
    .epb-property-layout{grid-template-columns:1fr}
    .epb-property-gallery,.epb-gallery-placeholder{min-height:360px;height:360px}
    .epb-property-gallery img{height:360px}
}
@media(max-width:600px){
    .epb-property-page{padding:14px 12px 35px}
    .epb-property-info{padding:18px;border-radius:15px}
    .epb-property-info h1{font-size:25px}
    .epb-property-price{font-size:26px}
    .epb-property-gallery,.epb-gallery-placeholder{min-height:230px;height:230px;border-radius:15px}
    .epb-property-gallery img{height:230px}
    .epb-spec-grid{grid-template-columns:repeat(2,1fr)}
}

.epb-description{
    margin-top:25px;
    padding:26px 28px;
    border:1px solid #e1e7ef;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 25px rgba(15,35,65,.05);
}
.epb-description h2{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 20px;
    padding-bottom:14px;
    border-bottom:1px solid #edf1f5;
    font-size:22px;
    color:#102b50;
}
.epb-description h2 i{color:#1769d2}
.epb-description-text{
    margin:0 0 16px;
    color:#53657d;
    font-size:14px;
    line-height:1.65;
}
.epb-desc-section-title{
    display:flex;
    align-items:center;
    gap:8px;
    margin:20px 0 10px;
    padding:10px 12px;
    border-radius:9px;
    background:#f5f8fc;
    color:#17375f;
    font-size:13px;
    font-weight:800;
    letter-spacing:.2px;
}
.epb-desc-section-title i{display:none}
.epb-desc-bullets{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px 14px;
    margin:0 0 15px;
}
.epb-desc-bullet{
    display:flex;
    align-items:flex-start;
    gap:9px;
    padding:11px 12px;
    border:1px solid #e8edf3;
    border-radius:9px;
    background:#fbfcfe;
    color:#53657d;
    font-size:13px;
    line-height:1.45;
}
.epb-desc-bullet i{
    flex:0 0 auto;
    color:#16945b;
    font-size:13px;
    margin-top:2px;
}
.epb-description-empty{
    margin:0;
    color:#7b8796;
}
@media(max-width:700px){
    .epb-description{padding:20px 16px}
    .epb-desc-bullets{grid-template-columns:1fr}
}


/* SEO content sections */
.epb-seo-section{margin-top:22px;padding:25px 28px;border:1px solid #e1e7ef;border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(15,35,65,.045)}
.epb-seo-section h2{margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #edf1f5;color:#102b50;font-size:22px;font-weight:800}
.epb-seo-section h2 i{color:#1769d2;margin-right:7px}
.epb-seo-copy{color:#53657d;font-size:14px;line-height:1.8;margin:0}
.epb-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.epb-fact{padding:13px 14px;border:1px solid #e8edf3;border-radius:10px;background:#fbfcfe;min-width:0}
.epb-fact span{display:block;color:#7b8796;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.35px;margin-bottom:5px}
.epb-fact strong{display:block;color:#243b5a;font-size:14px;overflow-wrap:anywhere}
.epb-faq-list{display:grid;gap:10px}
.epb-faq-item{border:1px solid #e5eaf1;border-radius:10px;background:#fbfcfe;padding:0 15px}
.epb-faq-item summary{cursor:pointer;list-style:none;padding:15px 28px 15px 0;position:relative;color:#203957;font-size:14px;font-weight:750}
.epb-faq-item summary::-webkit-details-marker{display:none}
.epb-faq-item summary:after{content:'+';position:absolute;right:0;top:11px;color:#1769d2;font-size:22px;font-weight:500}
.epb-faq-item[open] summary:after{content:'−'}
.epb-faq-answer{padding:0 0 15px;color:#5b6b80;font-size:13px;line-height:1.7}
.epb-seo-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:12px;background:linear-gradient(110deg,#f1f7ff,#effbf6);border:1px solid #dce9f6}
.epb-seo-cta strong{display:block;color:#18365c;font-size:16px;margin-bottom:4px}
.epb-seo-cta p{margin:0;color:#64748b;font-size:13px;line-height:1.55}
.epb-seo-cta button{flex:0 0 auto;border:0;border-radius:8px;background:#0ca678;color:#fff;font-weight:800;padding:11px 17px;cursor:pointer}
@media(max-width:700px){.epb-seo-section{padding:20px 16px}.epb-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.epb-seo-cta{align-items:stretch;flex-direction:column}.epb-seo-cta button{width:100%}}


/* Similar listings, dealer reviews and optional ad placement */
.epb-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.epb-related-card{overflow:hidden;border:1px solid #e4eaf1;border-radius:12px;background:#fff;transition:transform .18s ease,box-shadow .18s ease}
.epb-related-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(20,45,75,.10)}
.epb-related-card>a{display:block;color:inherit;text-decoration:none}
.epb-related-card img{display:block;width:100%;height:155px;object-fit:cover;background:#eef2f6}
.epb-related-body{padding:12px 13px}
.epb-related-title{display:block;color:#17365b;font-size:14px;font-weight:800;line-height:1.45;min-height:40px}
.epb-related-meta{margin-top:6px;color:#6b7c91;font-size:12px}
.epb-related-price{margin-top:8px;color:#0b9468;font-size:16px;font-weight:850}
.epb-write-review{display:inline-flex;align-items:center;gap:7px;margin:0 0 14px;padding:9px 15px;border:1px solid #0ca678;border-radius:8px;background:#fff;color:#07845f;font-size:13px;font-weight:800;cursor:pointer;transition:background .15s ease,color .15s ease}.epb-write-review:hover{background:#0ca678;color:#fff}
.epb-review-summary{display:flex;align-items:center;gap:15px;padding:14px 16px;margin-bottom:15px;border:1px solid #e7edf4;border-radius:12px;background:#f8fbff}
.epb-review-score{font-size:30px;line-height:1;color:#17365b;font-weight:850}
.epb-review-stars{color:#f5a623;letter-spacing:2px;font-size:18px}
.epb-review-card{padding:15px 0;border-bottom:1px solid #edf1f5}
.epb-review-card:last-child{border-bottom:0;padding-bottom:0}
.epb-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.epb-review-name{font-size:14px;font-weight:800;color:#203957}
.epb-review-date{font-size:11px;color:#8794a5}
.epb-review-text{margin:7px 0 0;color:#5b6b80;font-size:13px;line-height:1.65;white-space:pre-line}
.epb-ad-wrap{min-height:90px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:10px;border:1px dashed #d7e0ea;border-radius:12px;background:#fbfcfe}
.epb-ad-label{display:block;margin-bottom:7px;color:#98a3b2;text-align:center;font-size:10px;letter-spacing:1px;text-transform:uppercase}
@media(max-width:900px){.epb-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.epb-related-grid{grid-template-columns:1fr}.epb-related-card img{height:190px}.epb-review-summary{align-items:flex-start}}

/* Amenities section */
.epb-amenities-section{
    margin-top:22px;
    padding:24px 26px;
    border:1px solid #e1e7ef;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 25px rgba(15,35,65,.05);
}
.epb-amenities-section h2{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 16px;
    padding-bottom:13px;
    border-bottom:1px solid #edf1f5;
    color:#102b50;
    font-size:22px;
}
.epb-amenities-section h2 i{color:#1769d2}
.epb-amenities-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}
.epb-amenity-item{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
    padding:11px 12px;
    border:1px solid #e8edf3;
    border-radius:10px;
    background:#fbfcfe;
    color:#405875;
    font-size:13px;
    line-height:1.4;
    overflow-wrap:anywhere;
}
.epb-amenity-icon{
    flex:0 0 28px;
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:#effbf4;
    color:#16945b;
}
@media(max-width:700px){
    .epb-amenities-section{padding:19px 15px}
    .epb-amenities-section h2{font-size:19px}
    .epb-amenities-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .epb-amenity-item{padding:9px;font-size:12px}
}
@media(max-width:380px){
    .epb-amenities-grid{grid-template-columns:1fr}
}


/* =========================================================
   EPB PROPERTY PAGE - MOBILE LAYOUT FIX
   Keep the gallery compact and make all content fit phones.
========================================================= */
.epb-property-page,
.epb-property-page * { box-sizing: border-box; }
.epb-property-page { width: 100%; min-width: 0; }
.epb-property-layout { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .78fr); }
.epb-property-gallery, .epb-gallery-slider { min-width: 0; }
.epb-gallery-slider { height: clamp(260px, 42vw, 520px); }
.epb-gallery-open, .epb-gallery-open img { width: 100%; height: 100%; }
.epb-property-info { min-width: 0; }
.epb-property-info h1, .epb-property-location, .epb-description,
.epb-seo-section, .epb-amenities-section { overflow-wrap: anywhere; }
.epb-amenities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.epb-amenity-item { min-width: 0; }

@media (max-width: 950px) {
    .epb-property-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .epb-gallery-slider { height: clamp(250px, 55vw, 390px); }
    .epb-property-gallery, .epb-gallery-placeholder { min-height: 0; height: auto; }
    .epb-property-gallery img { height: 100%; }
}

@media (max-width: 600px) {
    .epb-property-page { padding: 12px 12px 28px; }
    .epb-property-breadcrumb { gap: 5px; margin-bottom: 12px; font-size: 11px; flex-wrap: wrap; }
    .epb-gallery-slider { height: min(58vw, 250px); min-height: 190px; border-radius: 12px; }
    .epb-gallery-nav { width: 34px; height: 34px; font-size: 17px; }
    .epb-gallery-nav.prev { left: 8px; }
    .epb-gallery-nav.next { right: 8px; }
    .epb-gallery-count { right: 9px; bottom: 9px; padding: 5px 8px; font-size: 11px; }
    .epb-gallery-thumbs { gap: 7px; padding-top: 8px; }
    .epb-gallery-thumb { flex: 0 0 60px; width: 60px; height: 48px; }
    .epb-property-info { padding: 16px; border-radius: 13px; }
    .epb-property-info h1 { margin-top: 10px; font-size: 22px; line-height: 1.3; }
    .epb-property-price { font-size: 24px; }
    .epb-property-location { margin-bottom: 14px; font-size: 12px; }
    .epb-spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 14px; }
    .epb-spec { padding: 10px 5px; }
    .epb-spec strong { font-size: 13px; }
    .epb-spec small { font-size: 9px; }
    .epb-contact-box { padding: 13px; border-radius: 11px; }
    .epb-contact-box h2 { font-size: 18px; }
    .epb-contact-owner-btn, .epb-call-btn, .epb-chat-btn, .epb-send-btn { min-height: 44px; font-size: 14px; }
    .epb-contact-modal { align-items: flex-end; padding: 8px; }
    .epb-contact-dialog { width: 100%; max-width: none; max-height: calc(100dvh - 16px); padding: 22px 16px 16px; border-radius: 16px 16px 10px 10px; }
    .epb-contact-dialog h3 { font-size: 20px; }
    .epb-description, .epb-amenities-section, .epb-seo-section { margin-top: 16px; padding: 18px 14px; border-radius: 13px; }
    .epb-description h2, .epb-amenities-section h2, .epb-seo-section h2 { font-size: 18px; }
    .epb-description-text, .epb-description-content, .epb-seo-copy { font-size: 13px; line-height: 1.65; }
    .epb-desc-bullets { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    .epb-desc-bullet { padding: 9px 10px; font-size: 12px; }
    .epb-amenities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .epb-amenity-item { padding: 8px; gap: 7px; font-size: 11px; }
    .epb-amenity-icon { flex-basis: 25px; width: 25px; height: 25px; }
    .epb-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .epb-fact { padding: 10px; }
    .epb-fact strong { font-size: 12px; }
    .epb-seo-cta { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
    .epb-seo-cta button { width: 100%; min-height: 44px; }
    .epb-property-footer-actions { flex-wrap: wrap; }
}

@media (max-width: 360px) {
    .epb-spec-grid, .epb-amenities-grid, .epb-facts-grid { grid-template-columns: minmax(0, 1fr); }
}


/* Final phone layout overrides */
@media (max-width: 600px) {
    .epb-property-layout { grid-template-columns: minmax(0, 1fr); }
    .epb-gallery-slider { height: clamp(190px, 58vw, 250px); }
    .epb-gallery-open { display: block; height: 100%; }
    .epb-gallery-open img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .epb-contact-box, .epb-property-info { min-width: 0; }
    .epb-desc-section-title { gap: 0; }
}

/* Hide empty/unusable description bullet cards shown on property detail pages. */
.epb-description-content .epb-desc-bullets,
.epb-description-content .epb-desc-bullet {
    display: none !important;
}
