
/* =========================================================
   BPP PROJECT DETAIL — EXACT REFERENCE V2
   ========================================================= */
.bpppd2{
    --g:#079754;
    --g2:#0aaa60;
    --deep:#10392d;
    --ink:#18382d;
    --muted:#71857c;
    --line:#dce8e2;
    --soft:#f2f9f5;
    --soft2:#f7fbf9;
    --white:#fff;
    background:#f8fbf9;
    color:var(--ink);
    font-family:inherit;
    padding:14px 0 26px;
}
.bpppd2 *{box-sizing:border-box}
.bpppd2 a{text-decoration:none;color:inherit}
.bpppd2 button,.bpppd2 input,.bpppd2 select,.bpppd2 textarea{font:inherit}
.bpppd2-wrap{width:min(1380px,calc(100% - 40px));margin:0 auto}

/* Remove old generic page-title/breadcrumb hero only on this project detail. */
body:has([data-bpp-project-detail-v2]) .page-title,
body:has([data-bpp-project-detail-v2]) .page-title-area,
body:has([data-bpp-project-detail-v2]) .breadcrumb-area,
body:has([data-bpp-project-detail-v2]) .breadcrumb-section,
body:has([data-bpp-project-detail-v2]) .breadcrumb-wrapper:not(.bpppd2-breadcrumb),
body:has([data-bpp-project-detail-v2]) .page-header:not(header){
    display:none!important;
}

.bpppd2-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#71877d;font-size:12px;white-space:nowrap;overflow:hidden}
.bpppd2-breadcrumb a{color:#547066}
.bpppd2-breadcrumb strong{color:#294a3e;overflow:hidden;text-overflow:ellipsis}

/* Gallery */
.bpppd2-gallery{display:grid;grid-template-columns:1.45fr 1fr;gap:8px;height:398px}
.bpppd2-gallery-main{position:relative;overflow:hidden;border-radius:10px;background:#eaf2ee}
.bpppd2-gallery-main>img{width:100%;height:100%;object-fit:cover;display:block}
.bpppd2-gallery-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:8px}
.bpppd2-gallery-thumb{position:relative;overflow:hidden;padding:0;border:0;border-radius:10px;background:#eaf2ee;cursor:pointer}
.bpppd2-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.bpppd2-new-badge{position:absolute;top:14px;left:14px;z-index:2;padding:7px 12px;border-radius:999px;background:#068d50;color:#fff;font-size:11px;font-weight:800}
.bpppd2-gallery-nav{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#173b2f;font-size:24px;box-shadow:0 6px 20px rgba(0,0,0,.12);transform:translateY(-50%);cursor:pointer}
.bpppd2-gallery-prev{left:13px}.bpppd2-gallery-next{right:13px}
.bpppd2-gallery-count{position:absolute;left:14px;bottom:14px;padding:6px 9px;border-radius:7px;background:rgba(14,43,33,.78);color:#fff;font-size:10px;font-weight:700}
.bpppd2-gallery-open{position:absolute;right:14px;bottom:14px;display:flex;align-items:center;gap:7px;padding:8px 11px;border:0;border-radius:7px;background:rgba(14,43,33,.84);color:#fff;font-size:10px;font-weight:750;cursor:pointer}
.bpppd2-more-photos{position:absolute;inset:0;display:grid;place-items:center;background:rgba(15,46,35,.48);color:#fff;font-size:18px;font-weight:850}

/* Title and actions */
.bpppd2-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start;padding:16px 0 14px}
.bpppd2-title-copy h1{margin:0;font-size:30px;line-height:1.14;font-weight:850;letter-spacing:-.025em}
.bpppd2-location{margin:7px 0 0;color:#5b776c;font-size:13px}
.bpppd2-summary{max-width:800px;margin:9px 0 0;color:#657a72;font-size:12px;line-height:1.55}
.bpppd2-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;padding-top:4px}
.bpppd2-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#264a3c;font-size:11px;font-weight:750;cursor:pointer}
.bpppd2-action-primary{border-color:var(--g);background:var(--g);color:#fff!important;box-shadow:0 8px 20px rgba(7,151,84,.15)}

/* Metrics */
.bpppd2-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:10px;background:linear-gradient(90deg,#f4faf6,#eef8f3)}
.bpppd2-metric{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:8px;padding:11px 14px;border-right:1px solid #dce9e2}
.bpppd2-metric:last-child{border-right:0}
.bpppd2-metric-icon{grid-row:1/3;color:#24885e;font-size:18px}
.bpppd2-metric strong{overflow:hidden;color:#23483b;font-size:14px;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
.bpppd2-metric small{color:#788b83;font-size:9px;line-height:1.15}

/* Tabs */
.bpppd2-tabs{position:sticky;top:0;z-index:20;display:flex;gap:28px;overflow-x:auto;margin:8px 0 14px;border-bottom:1px solid var(--line);background:rgba(248,251,249,.95);backdrop-filter:blur(10px);scrollbar-width:none}
.bpppd2-tabs::-webkit-scrollbar{display:none}
.bpppd2-tabs a{position:relative;flex:0 0 auto;padding:12px 0;color:#70827a;font-size:10px;font-weight:700}
.bpppd2-tabs a.is-active{color:#05854c}
.bpppd2-tabs a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#079754}

/* Main + sidebar */
.bpppd2-content-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(300px,.85fr);gap:12px;align-items:start}
.bpppd2-main{display:grid;gap:12px}
.bpppd2-sidebar{display:grid;gap:10px;position:sticky;top:54px}
.bpppd2-card,.bpppd2-side-card{border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 4px 18px rgba(28,69,54,.035)}
.bpppd2-card{padding:16px}
.bpppd2-side-card{padding:14px}
.bpppd2-card-heading{display:flex;align-items:center;gap:8px;margin:0 0 12px}
.bpppd2-card-heading-between{justify-content:space-between}
.bpppd2-card-heading-between>div{display:flex;align-items:center;gap:8px}
.bpppd2-heading-icon,.bpppd2-side-heading>span{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e4f6eb;color:#07874d;font-size:13px}
.bpppd2-card-heading h2{margin:0;font-size:16px;line-height:1.2;font-weight:800}
.bpppd2-card-heading a{margin-left:auto;color:#07884d;font-size:9px;font-weight:800}
.bpppd2-body-copy{color:#60766d;font-size:11px;line-height:1.55}
.bpppd2-body-copy p{margin:0 0 9px}
.bpppd2-subsection{margin-top:12px;padding-top:12px;border-top:1px solid #edf2ef}
.bpppd2-subsection h3{margin:0 0 10px;font-size:12px}
.bpppd2-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.bpppd2-highlights>div{display:flex;align-items:center;gap:7px;min-height:42px;padding:8px 10px;border-radius:8px;background:var(--soft)}
.bpppd2-highlights span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e0f4e8;color:#07874d;font-size:11px}
.bpppd2-highlights strong{font-size:9px;line-height:1.25;font-weight:650}

/* Amenities */
.bpppd2-amenities{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.bpppd2-amenity{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:72px;padding:8px;border-radius:8px;background:#f4faf6;text-align:center}
.bpppd2-amenity span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#e1f5e9;color:#07884d;font-size:11px;font-weight:800}
.bpppd2-amenity strong{font-size:8px;line-height:1.2}

/* Twin floor/progress */
.bpppd2-twin{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bpppd2-plan-viewer{position:relative;overflow:hidden;border-radius:8px;background:#edf4f0}
.bpppd2-plan-viewer img{display:block;width:100%;height:220px;object-fit:cover}
.bpppd2-plan-arrow{position:absolute;top:50%;display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:#fff;color:#23463a;font-size:20px;transform:translateY(-50%);box-shadow:0 3px 12px rgba(0,0,0,.09)}
.bpppd2-plan-arrow.is-left{left:8px}.bpppd2-plan-arrow.is-right{right:8px}
.bpppd2-caption{margin:7px 0 0;color:#74867f;font-size:9px}
.bpppd2-progress-percent{color:#163d31;font-size:16px}
.bpppd2-progress-track{height:9px;overflow:hidden;border-radius:999px;background:#e1ede6}
.bpppd2-progress-track span{display:block;height:100%;border-radius:inherit;background:#08a45b}
.bpppd2-progress-list{display:grid;gap:8px;margin:13px 0 0;padding:0;list-style:none}
.bpppd2-progress-list li{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:7px;color:#667a72;font-size:9px}
.bpppd2-progress-list span{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#e6eeea;color:#7d8f87;font-style:normal}
.bpppd2-progress-list span.is-done{background:#dff5e8;color:#05884d}
.bpppd2-progress-list strong{font-weight:550}
.bpppd2-progress-list em{font-style:normal;font-weight:650}

/* Units */
.bpppd2-units{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bpppd2-unit{overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#fff}
.bpppd2-unit-photo{position:relative;display:block;height:165px;overflow:hidden}
.bpppd2-unit-photo img{display:block;width:100%;height:100%;object-fit:cover}
.bpppd2-unit-photo span{position:absolute;top:8px;left:8px;padding:5px 8px;border-radius:999px;background:#078c4f;color:#fff;font-size:8px;font-weight:800}
.bpppd2-unit-info{padding:9px}
.bpppd2-unit h3{margin:0 0 5px;font-size:10px;line-height:1.25}
.bpppd2-unit-meta{display:flex;gap:6px;flex-wrap:wrap;color:#71847c;font-size:8px}
.bpppd2-unit-price{display:block;margin:8px 0 7px;color:#183c30;font-size:13px}
.bpppd2-unit-button{display:flex;align-items:center;justify-content:center;min-height:30px;border:1px solid #9ed3b8;border-radius:6px;color:#07894e;font-size:8px;font-weight:800}

/* Nearby */
.bpppd2-nearby{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.bpppd2-nearby>div{display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;column-gap:7px;align-items:center;padding:8px;border:1px solid #e5eee9;border-radius:8px}
.bpppd2-nearby>div>span{grid-row:1/3;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e6f6ed;color:#07884d;font-size:10px}
.bpppd2-nearby strong{font-size:8px}.bpppd2-nearby small{color:#7c8d85;font-size:7px}

/* Related */
.bpppd2-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bpppd2-related article{overflow:hidden;border:1px solid var(--line);border-radius:8px}
.bpppd2-related-photo{display:block;height:118px;overflow:hidden}
.bpppd2-related-photo img{width:100%;height:100%;object-fit:cover}
.bpppd2-related article>div{padding:8px}
.bpppd2-related h3{margin:0;font-size:9px;line-height:1.25}
.bpppd2-related p{overflow:hidden;margin:4px 0;color:#71847c;font-size:7px;white-space:nowrap;text-overflow:ellipsis}
.bpppd2-related-meta{display:flex;gap:6px;flex-wrap:wrap;color:#71847c;font-size:7px}
.bpppd2-related footer{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.bpppd2-related footer strong{font-size:9px}.bpppd2-related footer a{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#079754;color:#fff;font-size:10px}

/* Sidebar */
.bpppd2-price-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.bpppd2-price-top small{display:block;color:#71847c;font-size:9px}
.bpppd2-price-top strong{display:block;margin-top:1px;font-size:22px;line-height:1.05}
.bpppd2-price-top>span{padding:5px 8px;border-radius:999px;background:#e2f6e9;color:#07884d;font-size:7px;font-weight:800;white-space:nowrap}
.bpppd2-side-primary{display:flex;align-items:center;justify-content:center;min-height:38px;margin-top:12px;border-radius:7px;background:#079754;color:#fff!important;font-size:10px;font-weight:800}
.bpppd2-side-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}
.bpppd2-side-buttons button{min-height:34px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#315248;font-size:8px;font-weight:650}
.bpppd2-side-heading{display:flex;align-items:center;gap:8px;margin-bottom:11px}
.bpppd2-side-heading h3{margin:0;font-size:13px}
.bpppd2-enquiry form{display:grid;gap:8px}
.bpppd2-enquiry label>span{display:block;margin-bottom:4px;color:#597269;font-size:8px;font-weight:650}
.bpppd2-enquiry input,.bpppd2-enquiry select,.bpppd2-enquiry textarea{width:100%;padding:9px;border:1px solid #dfe9e4;border-radius:6px;background:#fff;color:#28483d;font-size:9px;outline:0}
.bpppd2-enquiry textarea{resize:vertical}
.bpppd2-enquiry form>button{min-height:36px;border:0;border-radius:6px;background:#079754;color:#fff;font-size:9px;font-weight:800}
.bpppd2-enquiry form>small{color:#89978f;font-size:7px;text-align:center}
.bpppd2-developer-profile{display:flex;align-items:center;gap:9px}
.bpppd2-developer-logo{display:grid;place-items:center;width:46px;height:46px;border-radius:9px;background:#edf4f0;color:#163d31;font-size:19px;font-weight:850}
.bpppd2-developer-profile strong{display:block;font-size:11px}
.bpppd2-developer-profile span{display:inline-block;margin-top:3px;padding:3px 6px;border-radius:999px;background:#e2f6e9;color:#07884d;font-size:7px;font-weight:700}
.bpppd2-developer-card p{color:#71847c;font-size:8px;line-height:1.45}
.bpppd2-developer-card>a{display:flex;justify-content:center;padding:8px;border:1px solid #9fd2b8;border-radius:6px;color:#07884d;font-size:8px;font-weight:800}
.bpppd2-facts{margin:0}
.bpppd2-facts>div{display:grid;grid-template-columns:1fr 1.2fr;gap:8px;padding:6px 0;border-bottom:1px solid #edf2ef}
.bpppd2-facts>div:last-child{border-bottom:0}
.bpppd2-facts dt{color:#788b82;font-size:8px}.bpppd2-facts dd{margin:0;color:#29493e;font-size:8px;font-weight:650;text-align:right}
.bpppd2-map-frame{overflow:hidden;height:220px;border-radius:7px;background:#edf4f0}
.bpppd2-map-frame iframe{width:100%;height:100%;border:0}
.bpppd2-map-link{display:flex;justify-content:center;margin-top:8px;color:#07884d;font-size:8px;font-weight:800}
.bpppd2-side-card>p{margin:7px 0;color:#71847c;font-size:8px;line-height:1.45}

.bpppd2-empty{grid-column:1/-1;padding:24px;border-radius:8px;background:var(--soft);text-align:center}
.bpppd2-empty p{margin:4px 0 0;color:#73867e;font-size:9px}

/* Lightbox */
.bpppd2-lightbox{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:30px;background:rgba(5,23,17,.94)}
.bpppd2-lightbox[hidden]{display:none}
.bpppd2-lightbox img{max-width:94vw;max-height:90vh;border-radius:10px}
.bpppd2-lightbox button{position:absolute;top:18px;right:20px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#173b2f;font-size:26px}

/* Tablet */
@media(max-width:1100px){
    .bpppd2-wrap{width:min(100% - 28px,1080px)}
    .bpppd2-gallery{height:350px}
    .bpppd2-content-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,.85fr)}
    .bpppd2-metrics{grid-template-columns:repeat(3,1fr)}
    .bpppd2-metric:nth-child(-n+3){border-bottom:1px solid #dce9e2}
    .bpppd2-metric:nth-child(3){border-right:0}
    .bpppd2-amenities{grid-template-columns:repeat(4,1fr)}
    .bpppd2-nearby{grid-template-columns:repeat(3,1fr)}
    .bpppd2-unit-photo{height:145px}
}

/* Mobile */
@media(max-width:767px){
    .bpppd2{padding-top:8px;padding-bottom:110px}
    .bpppd2-wrap{width:calc(100% - 18px)}
    .bpppd2-breadcrumb{font-size:9px;margin-bottom:8px}
    .bpppd2-gallery{display:block;height:auto}
    .bpppd2-gallery-main{height:258px;border-radius:10px}
    .bpppd2-gallery-grid{display:flex;gap:6px;overflow-x:auto;margin-top:6px;padding-bottom:2px;scroll-snap-type:x mandatory}
    .bpppd2-gallery-thumb{flex:0 0 92px;height:68px;border-radius:8px;scroll-snap-align:start}
    .bpppd2-new-badge{top:9px;left:9px;padding:5px 8px;font-size:8px}
    .bpppd2-gallery-nav{width:31px;height:31px;font-size:18px}
    .bpppd2-gallery-prev{left:8px}.bpppd2-gallery-next{right:8px}
    .bpppd2-gallery-count{left:9px;bottom:9px;font-size:8px}
    .bpppd2-gallery-open{right:9px;bottom:9px;padding:6px 8px;font-size:8px}
    .bpppd2-title-row{display:block;padding:12px 1px 10px}
    .bpppd2-title-copy h1{font-size:24px}
    .bpppd2-location{font-size:11px}
    .bpppd2-summary{font-size:10px}
    .bpppd2-actions{justify-content:flex-start;margin-top:10px;padding:0}
    .bpppd2-action{min-height:34px;padding:7px 10px;font-size:9px}
    .bpppd2-action-primary{flex:1 0 100%}
    .bpppd2-metrics{grid-template-columns:repeat(3,1fr)}
    .bpppd2-metric{grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:center;padding:8px 3px;text-align:center}
    .bpppd2-metric-icon{grid-row:auto;font-size:14px}
    .bpppd2-metric strong{font-size:10px}
    .bpppd2-metric small{font-size:7px}
    .bpppd2-tabs{top:72px;gap:18px;margin-top:7px}
    .bpppd2-tabs a{padding:10px 0;font-size:9px}
    .bpppd2-content-grid{display:block}
    .bpppd2-main{gap:9px}
    .bpppd2-sidebar{position:static;display:grid;margin-top:9px}
    .bpppd2-card,.bpppd2-side-card{border-radius:9px}
    .bpppd2-card{padding:12px}
    .bpppd2-card-heading h2{font-size:14px}
    .bpppd2-body-copy{font-size:10px}
    .bpppd2-highlights{grid-template-columns:repeat(2,1fr)}
    .bpppd2-highlights strong{font-size:8px}
    .bpppd2-amenities{grid-template-columns:repeat(2,1fr)}
    .bpppd2-amenity{min-height:58px}
    .bpppd2-twin{grid-template-columns:1fr}
    .bpppd2-plan-viewer img{height:180px}
    .bpppd2-units{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
    .bpppd2-unit-photo{height:116px}
    .bpppd2-unit-info{padding:7px}
    .bpppd2-unit h3{font-size:8.5px}
    .bpppd2-unit-meta{font-size:6.8px}
    .bpppd2-unit-price{font-size:10px}
    .bpppd2-unit-button{min-height:27px;font-size:7px}
    .bpppd2-nearby{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory}
    .bpppd2-nearby>div{flex:0 0 42%;scroll-snap-align:start}
    .bpppd2-related{display:flex;gap:7px;overflow-x:auto;scroll-snap-type:x mandatory}
    .bpppd2-related article{flex:0 0 76%;scroll-snap-align:start}
    .bpppd2-side-card{padding:12px}
    .bpppd2-price-top strong{font-size:20px}
    .bpppd2-map-frame{height:190px}
}

/* very small */
@media(max-width:390px){
    .bpppd2-gallery-main{height:235px}
    .bpppd2-title-copy h1{font-size:22px}
    .bpppd2-unit-photo{height:106px}
}
