:root{
    --green:#07951b;
    --dark:#10292f;
    --text:#5d686c;
    --border:#e5eeee;
}

*{
    box-sizing:border-box;
}

body{
    overflow-x:hidden;
}

.property-view-page{
    background:#fff;
    padding:26px 0 70px;
}

.property-container{
    max-width:1460px;
    margin:auto;
    padding:0 34px;
}

.property-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    font-size:14px;
    margin-bottom:26px;
}

.property-breadcrumb a,
.property-breadcrumb span{
    color:#718086;
    text-decoration:none;
}

.property-breadcrumb strong{
    color:var(--dark);
}

.property-top{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-end;
    margin-bottom:18px;
}

.sale-badge{
    display:inline-flex;
    background:#e8f8ec;
    color:var(--green);
    padding:5px 11px;
    border-radius:5px;
    font-size:13px;
    font-weight:900;
    margin-bottom:12px;
}

.property-top h1{
    color:var(--dark);
    font-size:36px;
    line-height:1.15;
    font-weight:900;
    margin:0 0 10px;
    letter-spacing:-.8px;
}

.property-top p{
    display:flex;
    align-items:center;
    gap:8px;
    color:#44565d;
    font-size:15px;
    margin:0;
}

.property-top p svg{
    width:18px;
    height:18px;
    stroke:var(--green);
}

.property-actions{
    display:flex;
    gap:12px;
}

.property-actions button{
    height:42px;
    padding:0 18px;
    border:1px solid var(--border);
    border-radius:7px;
    background:#fff;
    color:#34464b;
    font-size:14px;
    font-weight:800;
    display:flex;
    align-items:center;
    gap:8px;
}

.property-actions svg{
    width:16px;
    height:16px;
}

.property-main-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 430px;
    gap:34px;
}

.property-left{
    min-width:0;
}

.gallery-main{
    position:relative;
    height:420px;
    border-radius:12px;
    overflow:hidden;
    background:#f4f8f7;
}

.gallery-main img{
    width:100%;
    height:100%;
    object-fit:cover;
    cursor:pointer;
    display:block;
}

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:46px;
    height:46px;
    border:0;
    border-radius:50%;
    background:#fff;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 20px rgba(0,0,0,.1);
}

.gallery-arrow.left{
    left:22px;
}

.gallery-arrow.right{
    right:22px;
}

.gallery-arrow svg{
    width:22px;
    height:22px;
}

.image-count{
    position:absolute;
    right:16px;
    top:16px;
    background:rgba(16,41,47,.75);
    color:#fff;
    height:34px;
    padding:0 14px;
    border-radius:8px;
    display:flex;
    align-items:center;
    font-size:14px;
    font-weight:800;
}

.thumb-row{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:10px;
    margin-top:10px;
}

.thumb-row img{
    width:100%;
    height:74px;
    object-fit:cover;
    border-radius:7px;
    cursor:pointer;
    border:3px solid transparent;
}

.thumb-row img.active{
    border-color:var(--green);
}

.details-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:26px;
    margin-top:22px;
}

.details-card,
.amenities-card,
.price-card,
.seller-card{
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
    box-shadow:0 8px 24px rgba(16,41,47,.035);
}

.details-card{
    padding:24px;
}

.details-card h3,
.amenities-card h3,
.seller-card h3{
    color:var(--dark);
    font-size:20px;
    font-weight:900;
    margin-bottom:16px;
}

.details-card p{
    color:#52636a;
    font-size:14px;
    line-height:1.8;
    margin-bottom:20px;
}

.check-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.check-grid span{
    color:#52636a;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:8px;
}

.check-grid svg{
    width:16px;
    height:16px;
    stroke:var(--green);
}

.highlight-list p{
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin:0 0 12px;
    color:#657277;
    font-size:14px;
}

.highlight-list b{
    color:#283d44;
}

.amenities-card{
    padding:24px;
    margin-top:22px;
}

.amenities-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.amenities-grid span{
    display:flex;
    align-items:center;
    gap:10px;
    color:#42545a;
    font-size:14px;
    font-weight:700;
}

.amenities-grid svg{
    width:18px;
    height:18px;
    stroke:var(--green);
}

.property-sidebar{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.price-card{
    padding:26px;
}

.price-card h2{
    color:var(--green);
    font-size:32px;
    font-weight:900;
    margin-bottom:4px;
}

.price-card > p{
    color:#66757a;
    font-size:14px;
    margin-bottom:22px;
}

.spec-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-top:1px solid #edf1f1;
    border-bottom:1px solid #edf1f1;
    margin-bottom:22px;
}

.spec-grid div{
    padding:18px 10px;
    text-align:center;
    border-right:1px solid #edf1f1;
    border-bottom:1px solid #edf1f1;
}

.spec-grid div:nth-child(3n){
    border-right:0;
}

.spec-grid div:nth-child(n+4){
    border-bottom:0;
}

.spec-grid svg{
    width:20px;
    height:20px;
    stroke:var(--dark);
    margin-bottom:8px;
}

.spec-grid b{
    display:block;
    color:var(--dark);
    font-size:17px;
    font-weight:900;
}

.spec-grid span{
    color:#66757a;
    font-size:12px;
}

.visit-btn,
.owner-btn{
    width:100%;
    height:48px;
    border-radius:7px;
    font-size:14px;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
}

.visit-btn{
    border:0;
    background:var(--green);
    color:#fff;
    margin-bottom:10px;
}

.owner-btn{
    border:1px solid var(--border);
    background:#fff;
    color:#24383f;
}

.seller-card{
    padding:22px;
}

.seller-info{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:18px;
}

.seller-avatar{
    width:52px;
    height:52px;
    border-radius:50%;
    background:#eef3f3;
    display:flex;
    align-items:center;
    justify-content:center;
}

.seller-avatar svg{
    width:25px;
    height:25px;
    stroke:#9aa5a8;
}

.seller-info h4{
    color:var(--dark);
    font-size:18px;
    font-weight:900;
    margin:0 0 4px;
    display:flex;
    gap:6px;
    align-items:center;
}

.seller-info h4 svg{
    width:16px;
    height:16px;
    stroke:var(--green);
}

.seller-info p{
    color:#66757a;
    margin:0;
    font-size:14px;
}

.seller-card ul{
    list-style:none;
    padding:0;
    margin:0;
}

.seller-card li{
    display:flex;
    align-items:center;
    gap:10px;
    color:#42545a;
    font-size:14px;
    margin-bottom:13px;
}

.seller-card li svg{
    width:17px;
    height:17px;
    stroke:var(--green);
}

.mini-map{
    height:135px;
    border-radius:8px;
    overflow:hidden;
    margin-bottom:12px;
}

.mini-map iframe{
    width:100%;
    height:100%;
    border:0;
}

.map-address{
    color:#52636a;
    font-size:14px;
    margin-bottom:12px;
}

.map-btn{
    height:42px;
    border:1px solid var(--border);
    border-radius:7px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#24383f;
    font-weight:800;
    font-size:14px;
}

/* LIGHTBOX */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
}

.lightbox.active{
    display:flex;
}

.lightbox img{
    max-width:90%;
    max-height:86vh;
    object-fit:contain;
}

.light-close,
.light-nav{
    position:absolute;
    border:0;
    background:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.light-close{
    top:25px;
    right:25px;
    width:42px;
    height:42px;
}

.light-nav{
    width:50px;
    height:50px;
    top:50%;
    transform:translateY(-50%);
}

.light-nav.left{
    left:25px;
}

.light-nav.right{
    right:25px;
}

/* RESPONSIVE */

@media(max-width:1200px){
    .property-main-grid{
        grid-template-columns:1fr;
    }

    .property-sidebar{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .property-sidebar .seller-card:last-child{
        grid-column:1 / -1;
    }
}

@media(max-width:768px){
    .property-container{
        padding:0 18px;
    }

    .property-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .property-top h1{
        font-size:30px;
    }

    .property-actions{
        width:100%;
    }

    .property-actions button{
        flex:1;
        justify-content:center;
    }

    .gallery-main{
        height:280px;
    }

    .thumb-row{
        grid-template-columns:repeat(3,1fr);
    }

    .details-grid{
        grid-template-columns:1fr;
    }

    .check-grid{
        grid-template-columns:1fr;
    }

    .amenities-grid{
        grid-template-columns:1fr;
    }

    .property-sidebar{
        display:flex;
    }

    .spec-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .spec-grid div:nth-child(3n){
        border-right:1px solid #edf1f1;
    }

    .spec-grid div:nth-child(2n){
        border-right:0;
    }

    .spec-grid div:nth-child(n+4){
        border-bottom:1px solid #edf1f1;
    }

    .spec-grid div:nth-child(n+5){
        border-bottom:0;
    }
}