/* =========================
GLOBAL FONT
========================= */


.eps-property-page h1,
.eps-property-page h2,
.eps-property-page h3,
.eps-property-page h4,
.eps-property-page h5,
.eps-property-page h6,
.eps-property-page p,
.eps-property-page span,
.eps-property-page a,
.eps-property-page div,
.eps-property-page button,
.eps-property-page input,
.eps-property-page textarea{
    font-family:"Euclid Circular", sans-serif !important;
    font-weight:400 !important;
}

.eps-property-page{
    background:#fff;
    color:#111;
    font-family:"Euclid Circular", sans-serif;
    font-weight:400;
}

.eps-container{
    max-width:1180px;
    margin:0 auto;
    padding:24px 16px 50px;
}

/* =========================
BREADCRUMBS
========================= */

.eps-breadcrumbs{
    max-width:1180px;
    margin:20px auto 10px;
    padding:0 16px;
    font-size:13px;
    color:#777;
}

.eps-breadcrumbs a{
    color:#555;
    text-decoration:none;
}

.eps-breadcrumbs a:hover{
    color:#111;
}

.eps-breadcrumbs span{
    margin:0 6px;
}

.eps-breadcrumbs .eps-current{
    color:#111;
    font-weight:600;
}

/* =========================
GALLERY
========================= */

.eps-gallery{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:10px;
    margin-bottom:25px;
}

.eps-gallery-main{
    position:relative;
    overflow:hidden;
    border-radius:8px;
}

.eps-gallery-main img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;
    border-radius:8px;
}

.eps-gallery-side{
    display:grid;
    grid-template-rows:1fr 1fr;
    gap:10px;
    position:relative;
}

.eps-gallery-side img{
    width:100%;
    height:255px;
    object-fit:cover;
    display:block;
    border-radius:8px;
}

/* =========================
MAIN IMAGE ARROWS
========================= */

.eps-main-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,0.45);
    color:#fff;
    font-size:34px;
    line-height:1;
    cursor:pointer;
    z-index:10;
    transition:all 0.3s ease;

    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    font-family:Arial, sans-serif;
}

.eps-main-arrow:hover{
    background:rgba(0,0,0,0.7);
}

.eps-main-prev{
    left:18px;
}

.eps-main-next{
    right:18px;
}

/* =========================
SEE MORE BUTTON
========================= */

.eps-see-more-btn{
    position:absolute;
    right:18px;
    bottom:18px;
    background: rgba(0, 0, 0, 0.45);
    color:#fff;
    border:none;
    border-radius:6px;
    padding:12px 18px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    z-index:10;
    transition:all 0.3s ease;
}

.eps-see-more-btn:hover{
    background:#000;
}

/* =========================
LIGHTBOX
========================= */

.eps-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.94);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:999999;
    padding:40px 90px;
    box-sizing:border-box;
}

.eps-lightbox.active{
    display:flex;
}

.eps-lightbox img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:88vh;
    object-fit:contain;
    border-radius:8px;
    display:block;
}

/* =========================
LIGHTBOX CLOSE
========================= */

.eps-lightbox-close{
    position:fixed;
    top:25px;
    right:35px;
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.12);
    color:#fff;
    font-size:34px;
    line-height:46px;
    text-align:center;
    cursor:pointer;
    z-index:1000001;
    transition:all 0.3s ease;
}

.eps-lightbox-close:hover{
    background:rgba(255,255,255,0.24);
}

/* =========================
LIGHTBOX ARROWS
========================= */

.eps-lightbox-arrow{
    position:fixed;
    top:50%;
    transform:translateY(-50%);
    width:62px;
    height:62px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    color:#fff;
    font-size:42px;
    line-height:62px;
    text-align:center;
    cursor:pointer;
    z-index:1000001;
    transition:all 0.3s ease;
}

.eps-lightbox-arrow:hover{
    background:rgba(255,255,255,0.28);
}

.eps-lightbox-prev{
    left:30px;
}

.eps-lightbox-next{
    right:30px;
}

/* =========================
LAYOUT
========================= */

.eps-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 260px;
    gap:28px;
    align-items:start;
}

/* =========================
TITLE + PRICE
========================= */

.eps-title{
    font-size:28px;
    line-height:1.3;
    font-weight:800;
    margin:0 0 10px;
    text-transform:uppercase;
}

.eps-location{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:16px;
    color:#666;
    margin-bottom:20px;
}
.eps-location-icon{
    width:18px;
    height:18px;
    object-fit:contain;
	filter: brightness(0);
}

.eps-price{
    font-size:30px;
    font-weight:800;
    margin-bottom:18px;
}
.eps-meta-pill{
    display:flex;
    align-items:center;
    gap:8px;
}

.eps-meta-pill i{
    color:#c2a47e;
    font-size:15px;
}

/* =========================
META
========================= */

.eps-meta-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:28px;
}

.eps-meta-pill{
    border:1px solid #ddd;
    border-radius:30px;
    padding:8px 14px;
    font-size:13px;
    background:#fff;
}
.eps-meta-pill i{
    color:#c2a47e;
    font-size:15px;
}

.eps-meta-pill span,
.eps-meta-pill strong,
.eps-meta-pill b{
    font-weight:400 !important;
}

/* =========================
SECTIONS
========================= */

.eps-section{
    border-top:1px solid #e5e5e5;
    padding-top:24px;
    margin-top:24px;
}

.eps-section h2{
    font-size:20px;
    font-weight:800;
    margin:0 0 18px;
}

/* =========================
AMENITIES
========================= */

.eps-amenities-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px 24px;
}

.eps-amenity{
    font-size:14px;
    font-weight:600;
}

/* =========================
DESCRIPTION
========================= */

.eps-description{
    font-size:14px;
    line-height:1.9;
    color:#222;
}

.eps-details-list{
    margin-top:18px;
    font-size:14px;
    line-height:1.8;
}

.eps-details-list p{
    margin:0 0 10px;
}

/* =========================
SIDEBAR
========================= */

.eps-sidebar{
    position:relative;
}

.eps-agent-card{
    position:sticky;
    top:90px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.10);
    text-align:center;
}

.eps-agent-photo{
    width:62px;
    height:62px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:10px;
}

.eps-agent-name{
    font-size:16px;
    font-weight:800;
    margin-bottom:4px;
}

.eps-agent-role{
    font-size:12px;
    color:#777;
    margin-bottom:16px;
}
.homez-related-section{
    margin-top:50px;
}

.homez-related-section h2{
    font-size:28px;
    font-weight:800;
    margin:0 0 25px;
    color:#111;
}
.homez-related-section .homez-property-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:30px;
}

.homez-related-section .homez-property-card{
    width:100%;
    min-width:0;
}

.homez-related-section .homez-card-image img{
    width:100%;
    height:240px;
    object-fit:cover;
}

/* =========================
BUTTONS
========================= */

.eps-contact-btn{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:11px 12px;
    border-radius:6px;
    margin-bottom:10px;
    text-decoration:none;
    color:#111;
    border:1px solid #ddd;
    font-size:13px;
    font-weight:700;
    background:#fff;
    transition:all 0.3s ease;
}

.eps-call-btn{
    background:#111;
    color:#fff;
    border-color:#111;
}

.eps-call-btn:hover{
    background:#000;
}

.eps-whatsapp-btn{
    background:#25D366;
    color:#fff;
    border-color:#25D366;
}

.eps-whatsapp-btn:hover{
    background:#20ba59;
}

.eps-email-btn:hover,
.eps-callback-btn:hover{
    background:#f5f5f5;
}
.eps-price{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:34px;
    font-weight:800;
    color:#111;
}

.eps-aed-icon{
    width:40px;
    height:auto;
    object-fit:contain;
	filter: brightness(0);
}

/* =========================
VIDEO + MAP
========================= */

.eps-video iframe,
.eps-map iframe{
    border-radius:10px;
    overflow:hidden;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1024px){
    .homez-related-section .homez-property-grid{
        grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    }
}

@media(max-width:900px){

    .eps-layout{
        grid-template-columns:1fr;
    }

    .eps-agent-card{
        position:relative;
        top:auto;
    }

    .eps-amenities-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .eps-gallery{
        grid-template-columns:1fr;
    }

    .eps-gallery-side{
        grid-template-columns:1fr 1fr;
        grid-template-rows:auto;
    }

    .eps-gallery-side img{
        height:180px;
    }
}

@media(max-width:768px){

    .eps-lightbox{
        padding:30px 60px;
    }

    .eps-lightbox-arrow{
        width:48px;
        height:48px;
        font-size:34px;
        line-height:48px;
    }

    .eps-lightbox-prev{
        left:12px;
    }

    .eps-lightbox-next{
        right:12px;
    }

    .eps-lightbox-close{
        top:15px;
        right:15px;
    }

    .eps-gallery-main img{
        height:340px;
    }

    .eps-title{
        font-size:22px;
    }

    .eps-price{
        font-size:24px;
    }
	.homez-related-section .homez-property-grid{
        grid-template-columns:1fr !important;
    }
}


@media(max-width:600px){

    .eps-gallery-side{
        grid-template-columns:1fr;
    }

    .eps-gallery-side img{
        height:150px;
    }

    .eps-amenities-grid{
        grid-template-columns:1fr;
    }

    .eps-main-arrow{
		width:42px;
		height:42px;
		font-size:28px;
		line-height:1;
	}

    .eps-lightbox{
        padding:20px;
    }
}