/* Book / Show Interest – emerald & gold */
:root{--cm-em:#0b6e4f;--cm-em-d:#064e3b;--cm-gold:#c9a24a;--cm-gold-l:#f3e6c4;--cm-wa:#25d366}
.cmb-root{position:fixed;z-index:3000;right:16px;top:72px;bottom:16px;width:min(400px,calc(100vw - 32px));display:none;pointer-events:none;align-items:flex-start}
.cmb-root.on{display:flex;animation:cmbIn .22s ease-out}
@keyframes cmbIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.cmb-card{position:relative;pointer-events:auto;width:100%;max-height:100%;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
 background:#fff;border-radius:14px;border:1px solid var(--cm-gold);box-shadow:0 10px 34px rgba(6,78,59,.35);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#1d2533}
.cmb-x{position:absolute;top:8px;right:8px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:26px;line-height:34px;cursor:pointer;padding:0;z-index:2}
.cmb-x:hover,.cmb-x:focus-visible{background:rgba(255,255,255,.32)}
.cmb-head{display:flex;align-items:center;gap:10px;padding:12px 50px 12px 14px;background:linear-gradient(135deg,var(--cm-em-d),var(--cm-em));color:#fff;border-bottom:3px solid var(--cm-gold);border-radius:13px 13px 0 0;position:sticky;top:0;z-index:1}
.cmb-head img{width:38px;height:38px;border-radius:50%;border:2px solid var(--cm-gold);background:#fff;flex:0 0 auto}
.cmb-head h2{margin:0;font-size:18px;line-height:1.15;letter-spacing:.2px}
.cmb-head p{margin:2px 0 0;font-size:12px;color:var(--cm-gold-l)}
.cmb-form{display:grid;grid-template-columns:1fr 1fr;gap:9px 10px;padding:12px 14px 14px}
.cmb-w{grid-column:1/-1}
.cmb-f{display:flex;flex-direction:column;gap:3px;font-size:12.5px;font-weight:600;color:var(--cm-em-d);min-width:0}
.cmb-f b{color:#c0392b}
.cmb-f input,.cmb-f select,.cmb-f textarea{font:inherit;font-weight:400;font-size:16px;color:#1d2533;width:100%;padding:8px 10px;border:1px solid #cfd8d3;border-radius:8px;background:#fbfdfc;min-width:0}
.cmb-f textarea{resize:vertical;min-height:44px}
.cmb-f input:focus,.cmb-f select:focus,.cmb-f textarea:focus{outline:none;border-color:var(--cm-em);box-shadow:0 0 0 3px rgba(11,110,79,.18);background:#fff}
.cmb-f .bad{border-color:#c0392b;box-shadow:0 0 0 3px rgba(192,57,43,.15)}
.cmb-err{color:#c0392b;font-size:13px;min-height:0}.cmb-err:empty{display:none}
.cmb-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:0;border-radius:24px;padding:11px 14px;font:inherit;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none;box-sizing:border-box}
.cmb-btn svg{width:22px;height:22px;fill:currentColor}
.cmb-wa{background:var(--cm-wa);color:#fff!important;box-shadow:0 3px 10px rgba(37,211,102,.35)}
.cmb-wa:hover{filter:brightness(.95)}
.cmb-sub{background:#fff;color:var(--cm-em-d);border:1.5px solid var(--cm-gold);font-size:14px;padding:9px 14px}
.cmb-sub:hover{background:var(--cm-gold-l)}
.cmb-sub:disabled{opacity:.6;cursor:wait}
.cmb-fine{margin:0;font-size:11.5px;color:#5b6b64;text-align:center}
.cmb-done{padding:22px 18px 18px;text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}
.cmb-done[hidden],.cmb-form[hidden]{display:none}
.cmb-tick{width:56px;height:56px;border-radius:50%;background:var(--cm-em);color:#fff;font-size:30px;line-height:56px;border:3px solid var(--cm-gold)}
.cmb-done h3{margin:4px 0 0;color:var(--cm-em-d);font-size:18px}
.cmb-done p{margin:0;font-size:13.5px;color:#41514a}
/* phones: bottom sheet, no backdrop – the map above stays visible & usable */
@media (max-width:640px){
 .cmb-root{left:0;right:0;bottom:0;top:auto;width:auto;max-height:60dvh;align-items:flex-end}
 .cmb-root.on{animation:cmbUp .25s ease-out}
 @keyframes cmbUp{from{transform:translateY(100%)}to{transform:none}}
 .cmb-card{border-radius:16px 16px 0 0;border-width:1px 0 0;max-height:60dvh;padding-bottom:env(safe-area-inset-bottom)}
 .cmb-head{border-radius:15px 15px 0 0;padding:10px 50px 10px 12px}
 .cmb-head img{width:32px;height:32px}.cmb-head h2{font-size:17px}
 .cmb-form{gap:7px 8px;padding:9px 12px 12px}
 .cmb-f input,.cmb-f select,.cmb-f textarea{padding:7px 9px}
}
/* full page (book.html) */
.cmb-page{max-width:560px;margin:0 auto;max-height:none;overflow:visible}
.cmb-page .cmb-head{position:static;padding-right:14px}
/* two offers (1 Oct 2026): offer picker, plan box, auto-popup promo */
.cmb-offers{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-radius:10px}
.cmb-offers.bad{box-shadow:0 0 0 3px rgba(192,57,43,.25)}
.cmb-off{display:flex;gap:7px;align-items:flex-start;border:1.5px solid #cfd8d3;border-radius:10px;padding:8px 9px;cursor:pointer;background:#fbfdfc;font-weight:400;color:#1d2533;line-height:1.25}
.cmb-off input{margin:2px 0 0;accent-color:var(--cm-em);flex:0 0 auto;width:16px;height:16px}
.cmb-off b{color:var(--cm-em-d);font-size:13.5px}.cmb-off i{font-style:normal;font-size:12px;color:#55625c;display:block}
.cmb-off small{display:block;font-size:11.5px;color:#7a5b12;margin-top:2px;font-weight:600}
.cmb-off:has(input:checked){border-color:var(--cm-em);background:#eaf6f0;box-shadow:0 0 0 2px rgba(11,110,79,.18)}
.cmb-plan{background:#fbf6e7;border:1px solid var(--cm-gold);border-radius:10px;padding:8px 10px;font-size:13px;color:#3d3420}
.cmb-plan[hidden]{display:none}
.cmb-plan b{color:var(--cm-em-d)}
.cmb-plan table,.cmb-pcard table{width:100%;border-collapse:collapse;margin-top:4px;font-size:12.5px}
.cmb-plan td,.cmb-pcard td{padding:2px 0;border-bottom:1px dashed #e4d8b4}
.cmb-plan td:last-child,.cmb-pcard td:last-child{text-align:right;font-weight:700;white-space:nowrap;padding-left:8px}
.cmb-plan tr:last-child td,.cmb-pcard tr:last-child td{border-bottom:0;color:var(--cm-em-d)}
@media (max-width:380px){.cmb-offers{grid-template-columns:1fr}}
.cmb-pclose{position:absolute;top:10px;right:10px;z-index:2;border:2px solid #fff;background:#c0392b;color:#fff;font:inherit;font-weight:700;font-size:14px;border-radius:18px;padding:5px 12px;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.cmb-pclose:hover,.cmb-pclose:focus-visible{background:#a93226}
.cmb-promo-root .cmb-head{padding-right:96px}
.cmb-promo{padding:12px 14px 14px;display:flex;flex-direction:column;gap:10px}
.cmb-pcard{border:1.5px solid var(--cm-gold);border-radius:12px;padding:10px 12px;background:#fffdf6}
.cmb-pcard h4{margin:0;color:var(--cm-em-d);font-size:16px}
.cmb-psoc{margin:1px 0 2px;font-size:12px;color:#55625c}
.cmb-pbook{margin-top:8px;background:var(--cm-em);color:#fff;padding:9px 12px;font-size:14px}
.cmb-pbook:hover{background:var(--cm-em-d)}
/* map popups */
.cmb-x{background:rgba(255,255,255,.28);border:2px solid rgba(255,255,255,.85)}
/* inquiry mode */
.cmb-pane[hidden]{display:none}
.cmb-ihead{background:linear-gradient(135deg,#0f2d52,#1d4f86)}
.cmb-opt{font-style:normal;font-weight:400;color:#7b8a84}
.cmb-switch{margin:0;font-size:13px;color:#41514a;text-align:center;background:#f4f1e8;border-radius:8px;padding:7px 8px}
.cmb-switch a{color:var(--cm-em-d);font-weight:700}
/* inquiry: I want to Buy / Sell / Rent out / Rent (1 Oct 2026) */
.cmb-iform>*{order:50}
.cmb-iform>.cmb-purp-w{order:0}
.cmb-fld[hidden],.cmb-note[hidden]{display:none}
.cmb-purp{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.cmb-pu{display:block;cursor:pointer;min-width:0}
.cmb-pu input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.cmb-pu span{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1.5px solid #cfd8d3;border-radius:10px;padding:7px 4px;background:#fbfdfc;line-height:1.15;min-height:46px}
.cmb-pu b{color:#0f2d52;font-size:14px}
.cmb-pu small{font-size:11px;color:#5b6b64;font-weight:500;margin-top:1px}
.cmb-pu input:checked+span{border-color:#1d4f86;background:#e8f0fa;box-shadow:0 0 0 2px rgba(29,79,134,.22)}
.cmb-pu input:checked+span b{color:#0f2d52}
.cmb-pu input:focus-visible+span{outline:2px solid #1d4f86;outline-offset:2px}
.cmb-note{margin:0;background:#fbf6e7;border:1px solid var(--cm-gold);border-radius:8px;padding:7px 10px;font-size:13px;font-weight:600;color:#5c4710;text-align:center}
.cmb-sell{display:inline-block;margin-top:4px}
@media (max-width:360px){.cmb-purp{grid-template-columns:1fr 1fr}}
/* Gulberg Greens – premium look (elite clients), inquiry pane only; the booking forms are unchanged */
.cmb-premium .cmb-ihead{background:linear-gradient(135deg,#03241a 0%,#064e3b 60%,#0b5d45 100%);border-bottom:3px solid #c9a24a}
.cmb-premium .cmb-ihead h2{color:#f3e6c4;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.3px}
.cmb-premium .cmb-ihead p{color:#d9bf7a}
.cmb-premium .cmb-ihead img{border-color:#e0c06a}
.cmb-premium .cmb-pu input:checked+span{border-color:#b08a2e;background:#fbf4df;box-shadow:0 0 0 2px rgba(201,162,74,.35)}
.cmb-premium .cmb-pu input:checked+span b{color:#064e3b}
.cmb-premium .cmb-pu b{color:#064e3b}
.cmb-premium .cmb-f{color:#064e3b}
.cmb-premium .cmb-fine{color:#6b5a2a;font-style:italic}
/* Gulberg Greens sizes / types are longer ('Farmhouse 10 Kanal', 'Commercial building / shop / office') – full width so nothing is cut off */
.cmb-premium .cmb-fld:is([data-k=size],[data-k=type],[data-k=ptype],[data-k=possession],[data-k=demand]){grid-column:1/-1}
/* Gulberg Residencia: Society + Area full width so 'D Markaz (Commercial)' isn't cut off */
.cmb-pane-inq[data-society="Gulberg Residencia"] .cmb-fld:is([data-k=society],[data-k=area]){grid-column:1/-1}
/* D Markaz current rent guide (Rent / Rent out) */
.cmb-guide{background:#f2f7f4;border:1px solid #b9d6c6;border-radius:8px;padding:7px 10px;font-size:12.5px;color:#25423a}
.cmb-guide[hidden]{display:none}
.cmb-guide b{color:#064e3b;font-size:12.5px}
.cmb-guide ul{list-style:none;margin:4px 0 0;padding:0}
.cmb-guide li{display:flex;justify-content:space-between;gap:8px;padding:2px 4px;border-radius:5px}
.cmb-guide li span:last-child{font-weight:700;white-space:nowrap}
.cmb-guide li.on{background:#fbf1d2;outline:1px solid #c9a24a}
