/* AgriZameen — /buy-land/ and the area pages (R18 Part A, 11 Nov 2026).
   Listings first: one count line, one search row, chips, cards, pager.
   Colours come from the theme tokens the rest of the site uses; the fallbacks are the original palette. */
.bl-page main.bl-main{padding-top:14px;padding-bottom:30px}
/* R20: the banner is the site's .pg-hero (theme colours, shared height); here only the gap under it */
.bl-hero{margin-bottom:12px}
:where(.pg-hero.bl-hero){background:linear-gradient(160deg,var(--th-0f2419-bg,#0F2419),var(--th-1a3c2a-bg,#1A3C2A));color:var(--th-f5f0e6-tx,#F5F0E6)}
/* the same band the static pages draw (their own stylesheet), at zero specificity, so a theme's own .pg-hero rule wins as it does there */
:where(.pg-hero.bl-hero) h1{color:inherit}
html{overflow-x:clip}

/* the search row */
.bl-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px}
.bl-bar input[type=search]{flex:1 1 220px;min-width:0;height:44px;box-sizing:border-box;font:inherit;font-size:16px;padding:0 14px;
  border:1px solid var(--th-0f2419a18-bd,rgba(15,36,25,.25));border-radius:12px;background:var(--th-ffffff-bg,#fff);color:var(--th-0f2419-tx,#0F2419)}
.bl-btn{display:inline-flex;align-items:center;gap:8px;height:44px;box-sizing:border-box;padding:0 14px;border-radius:12px;cursor:pointer;
  font:700 14px/1 'DM Sans','AZ FF Fallback',system-ui,sans-serif;white-space:nowrap;text-decoration:none;
  border:1px solid var(--th-1a3c2a-bd,#1A3C2A);background:var(--th-ffffff-bg,#fff);color:var(--th-1a3c2a-tx,#1A3C2A)}
.bl-btn:hover{background:var(--th-f5f0e6-bg,#F5F0E6)}
.bl-btn b{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:100px;font-size:12px;
  background:var(--th-1a3c2a-bg,#1A3C2A);color:#fff}
.bl-btn b:empty{display:none}
.bl-dots{padding:0;width:44px;justify-content:center}
.bl-sort{height:44px;box-sizing:border-box;font:600 14px/1 'DM Sans','AZ FF Fallback',system-ui,sans-serif;padding:0 10px;border-radius:12px;max-width:190px;
  border:1px solid var(--th-0f2419a18-bd,rgba(15,36,25,.25));background:var(--th-ffffff-bg,#fff);color:var(--th-0f2419-tx,#0F2419)}
.bl-view{display:inline-flex;height:44px;border-radius:12px;overflow:hidden;border:1px solid var(--th-1a3c2a-bd,#1A3C2A)}
.bl-view button{border:0;margin:0;padding:0 14px;cursor:pointer;font:700 14px/1 'DM Sans','AZ FF Fallback',system-ui,sans-serif;
  background:var(--th-ffffff-bg,#fff);color:var(--th-1a3c2a-tx,#1A3C2A)}
.bl-view button[aria-pressed=true]{background:var(--th-1a3c2a-bg,#1A3C2A);color:#fff}
.bl-more{position:relative;display:inline-flex}
/* R32: Belt Map, beside the List / Map switch */
a.bl-belt{text-decoration:none;white-space:nowrap}
@media(min-width:641px) and (max-width:1000px){.bl-bar[role=search] input[type=search]{flex-basis:140px}.bl-bar .bl-sort{max-width:150px}}
.bl-menu{position:absolute;right:0;top:50px;z-index:30;min-width:230px;padding:6px;border-radius:12px;
  background:var(--th-ffffff-bg,#fff);border:1px solid var(--th-0f2419a18-bd,rgba(15,36,25,.25));box-shadow:0 10px 30px rgba(0,0,0,.18)}
.bl-menu[hidden]{display:none}
.bl-menu button{display:block;width:100%;text-align:left;border:0;background:none;cursor:pointer;padding:12px;border-radius:8px;
  font:600 14px/1.3 'DM Sans','AZ FF Fallback',system-ui,sans-serif;color:var(--th-0f2419-tx,#0F2419)}
.bl-menu button:hover{background:var(--th-f5f0e6-bg,#F5F0E6)}
@media(max-width:640px){
  .bl-bar[role=search] input[type=search]{order:1;flex:1 1 0}
  .bl-bar[role=search] .bl-more{order:2}
  .bl-bar[role=search]>a.bl-belt{order:2;padding:0 10px;gap:6px}   /* R32: a phone has no room on the switch row; it sits on the search row */
  .bl-bar[role=search]>.bl-btn,.bl-bar[role=search] .bl-sort,.bl-bar[role=search] .bl-view{order:3}
  .bl-bar[role=search]::after{content:"";order:2;flex-basis:100%;height:0;margin:-4px 0}
  .bl-bar .bl-sort{flex:1 1 0;min-width:0;max-width:none}
  .bl-btn,.bl-view button{padding:0 12px}
}

/* chips */
.bl-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.bl-chips[hidden]{display:none}
.bl-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border-radius:100px;cursor:pointer;
  font:600 13px/1.2 'DM Sans','AZ FF Fallback',system-ui,sans-serif;border:1px solid var(--th-c8a951a50-bd,rgba(200,169,81,.7));
  background:var(--th-f5f0e6-bg,#F5F0E6);color:var(--th-0f2419-tx,#0F2419)}
.bl-chip i{font-style:normal;font-size:16px;line-height:1}
.bl-chip-all{background:none;border-color:transparent;text-decoration:underline;color:var(--th-1a3c2a-tx,#1A3C2A)}

/* the one filter panel: bottom sheet on phones, side panel from 701px */
.bl-page .azf-sheet{display:none}
.bl-page .azf-sheet.is-open{display:block;position:fixed;z-index:1200;overflow:auto;box-sizing:border-box;
  background:var(--th-ffffff-bg,#fff);padding:0 16px;left:0;right:0;bottom:0;max-height:86vh;border-radius:18px 18px 0 0;
  box-shadow:0 -10px 40px rgba(0,0,0,.25)}
.bl-page .azf-scrim{position:fixed;inset:0;z-index:1199;background:rgba(20,12,8,.55)}
.bl-page .azf-sheet.is-open .azf-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:2;
  background:var(--th-ffffff-bg,#fff);padding:14px 0 10px;margin:0 0 6px;border-bottom:1px solid var(--th-0f2419a18-bd,rgba(15,36,25,.15))}
.bl-page .azf-head h2{margin:0;font:700 18px/1.2 'Playfair Display','AZ FF Fallback',Georgia,serif;color:var(--th-0f2419-tx,#0F2419)}
.bl-page .azf-x{width:44px;height:44px;border:0;background:none;font-size:26px;line-height:1;cursor:pointer;color:var(--th-0f2419-tx,#0F2419)}
.bl-page .azf-sheet.is-open .azf-foot{display:flex;gap:10px;position:sticky;bottom:0;z-index:2;background:var(--th-ffffff-bg,#fff);
  padding:10px 0 calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--th-0f2419a18-bd,rgba(15,36,25,.15))}
.bl-page .azf-clear,.bl-page .azf-done{height:48px;border-radius:12px;cursor:pointer;font:700 15px/1 'DM Sans','AZ FF Fallback',system-ui,sans-serif}
.bl-page .azf-clear{flex:0 0 auto;padding:0 18px;background:none;border:1px solid var(--th-1a3c2a-bd,#1A3C2A);color:var(--th-1a3c2a-tx,#1A3C2A)}
.bl-page .azf-done{flex:1;border:0;background:var(--th-1a3c2a-bg,#1A3C2A);color:#fff}
.bl-page .azf-sheet .azl-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end;margin:0 0 12px}
.bl-page .azf-sheet .azl-f{min-width:0}
.bl-page .azf-sheet .azl-f label{display:block;font:600 12.5px/1.35 'DM Sans','AZ FF Fallback',system-ui,sans-serif;margin:0 0 4px;color:var(--th-6b4f3a-tx,#6B4F3A)}
.bl-page .azf-sheet .azl-f select{width:100%;height:44px;box-sizing:border-box;font:inherit;font-size:15px;padding:0 10px;border-radius:10px;
  border:1px solid var(--th-0f2419a18-bd,rgba(15,36,25,.25));background:var(--th-ffffff-bg,#fff);color:var(--th-0f2419-tx,#0F2419)}
.bl-page .azf-sheet .bl-f-chk .fchk{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;color:var(--th-0f2419-tx,#0F2419);margin:0}
.bl-page .azf-sheet .bl-f-chk .fchk input{width:20px;height:20px}
html.azf-lock{overflow:hidden}
@media(min-width:701px){
  .bl-page .azf-sheet.is-open{left:auto;top:0;bottom:0;right:0;width:420px;max-height:none;border-radius:0;box-shadow:-10px 0 40px rgba(0,0,0,.25)}
}

/* list and map */
.bl-body{display:block}
.bl-map{position:relative}
.bl-map[hidden]{display:none}
.bl-page #azMap{height:70vh!important;min-height:360px;margin:0!important;border-radius:14px}
.bl-key{position:absolute;left:10px;bottom:10px;z-index:500;max-width:calc(100% - 92px);box-sizing:border-box;padding:8px 10px;border-radius:10px;
  background:rgba(255,255,255,.94);box-shadow:0 2px 10px rgba(0,0,0,.2);display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.bl-key .azmap-key{margin:0;font-size:12px;color:#222;gap:4px 10px}
.bl-mapi{width:26px;height:26px;border-radius:50%;cursor:pointer;font:700 14px/1 Georgia,serif;font-style:italic;
  border:1px solid var(--th-1a3c2a-bd,#1A3C2A);background:#fff;color:var(--th-1a3c2a-tx,#1A3C2A)}
.bl-mapnote{flex-basis:100%;margin:2px 0 0;font-size:12px;line-height:1.45;color:#222;max-width:340px}
.bl-mapnote[hidden]{display:none}
@media(max-width:1023px){ .bl-body[data-view=map] .bl-list{display:none} }
@media(min-width:1024px){
  .bl-body[data-view=map]{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,42%);gap:20px;align-items:start}
  .bl-body[data-view=map] .bl-map{position:sticky;top:108px}
  .bl-page .bl-body[data-view=map] #azMap{height:calc(100vh - 124px)!important}
  .bl-body[data-view=map] .grid{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}
}
.bl-after{margin:16px 0;text-align:center;max-width:none}

/* cards: one line each for badge, place, area, land type, price */
.bl-page .grid{gap:16px}
.bl-page .lst-card{padding:0;gap:0;overflow:hidden}
.bl-page .azc-tl{white-space:nowrap}
.bl-page .azc-tl br{display:none}
.bl-page .azc-tier-at{display:inline;margin-left:6px;font-weight:600}
.bl-page .azc-over{display:flex;flex-wrap:nowrap;align-items:baseline;gap:0;white-space:nowrap;overflow:hidden}
.bl-page .azc-over .azc-v{margin:0;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:17px;line-height:1.3}
.bl-page .azc-over .azc-loc{margin:0;flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:13.5px;line-height:1.3}
.bl-page .azc-over .azc-loc:not(:empty)::before{content:", "}
.bl-page .azc-grid{display:block;padding:10px 14px 0;margin:0;background:none;border:0}
.bl-page .azc-cell{background:none;margin:0;display:flex;gap:8px;align-items:baseline;white-space:nowrap;overflow:hidden;font-size:14.5px;line-height:1.6;padding:0;border:0}
.bl-page .azc-cell .azc-k{flex:0 0 78px;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--th-6b4f3a-tx,#6B4F3A)}
.bl-page .azc-cell .azc-val{min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:700}
.bl-page .azc-val .azu-second{display:inline;font-weight:500;font-size:13px}
.bl-page .azc-val .azu-second::before{content:" · "}
.bl-page .azc-gmap,.bl-page .azc-nomap,.bl-page .lst-tech,.bl-page .azc-lf,.bl-page .azc-map{display:none!important}
.bl-page .azc-bar{display:flex;align-items:center;gap:10px;padding:8px 14px 12px;margin:0;border:0}
.bl-page .azc-priceblk{display:block;flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}
.bl-page .azc-priceblk>span{display:inline}
.bl-page .azc-priceblk .azc-total{font-size:16px;font-weight:800}
.bl-page .azc-priceblk .azc-rate{font-size:13px;font-weight:600}
.bl-page .azc-priceblk .azc-rate::after{content:" · "}
.bl-page .azc-priceblk .azc-sd{display:none}
.bl-page .azc-price{flex:1 1 auto;white-space:nowrap}
.bl-page .azc-acts{flex:0 0 auto;display:flex;gap:6px}
.bl-page .azc-flag{margin:6px 14px 0;font-size:12.5px}
/* heart and compare: small, together, top right of the photo */
.bl-page .azc-photo .azc-heart,.bl-page .azc-photo .azc-cmp{position:absolute;top:8px;width:30px;height:30px;min-width:0;min-height:0;padding:0;
  border-radius:50%;display:inline-grid;place-items:center;font-size:15px;line-height:1;z-index:3}
.bl-page .azc-photo .azc-heart{right:8px;left:auto}
.bl-page .azc-photo .azc-cmp{right:44px;left:auto}
.bl-page .azc-photo .azc-cmp svg{width:15px;height:15px}

/* one-time compare tip */
.bl-tip{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--azcmp-h,64px) + 84px);z-index:1300;width:max-content;max-width:min(92vw,420px);padding:12px 16px;border-radius:12px;
  font:600 14px/1.4 'DM Sans','AZ FF Fallback',system-ui,sans-serif;background:#1c1c1c;color:#fff;box-shadow:0 8px 30px rgba(0,0,0,.3)}

/* the alert sheet */
.bl-sheet-wrap{position:fixed;inset:0;z-index:1250;background:rgba(20,12,8,.55);display:flex;align-items:flex-end;justify-content:center}
.bl-sheet-wrap[hidden]{display:none}
.bl-sheet{width:100%;max-width:460px;max-height:90vh;overflow:auto;box-sizing:border-box;padding:0 16px calc(16px + env(safe-area-inset-bottom,0px));
  background:var(--th-ffffff-bg,#fff);border-radius:18px 18px 0 0;color:var(--th-0f2419-tx,#0F2419)}
@media(min-width:701px){ .bl-sheet-wrap{align-items:center} .bl-sheet{border-radius:18px} }
.bl-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:12px 0 6px}
.bl-sheet-head h2{margin:0;font:700 18px/1.25 'Playfair Display','AZ FF Fallback',Georgia,serif}
.bl-sheet-x{width:44px;height:44px;border:0;background:none;font-size:26px;line-height:1;cursor:pointer;color:inherit}
.bl-sheet .f{display:block;margin:0 0 10px;font:600 12.5px/1.35 'DM Sans','AZ FF Fallback',system-ui,sans-serif;color:var(--th-6b4f3a-tx,#6B4F3A)}
.bl-sheet .f select,.bl-sheet .f input{display:block;width:100%;height:46px;box-sizing:border-box;margin-top:4px;font:inherit;font-size:16px;padding:0 12px;
  border-radius:10px;border:1px solid var(--th-0f2419a18-bd,rgba(15,36,25,.25));background:var(--th-ffffff-bg,#fff);color:var(--th-0f2419-tx,#0F2419)}
.bl-sheet .az-ga-hp{position:absolute;left:-9999px}
.bl-sheet .az-ga-ok{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.5;margin:4px 0 12px}
.bl-sheet .az-ga-ok input{flex:none;width:20px;height:20px;margin-top:2px}
.bl-sheet-act{display:flex;align-items:center;gap:14px;margin:0 0 8px}
.bl-sheet-p,.bl-sheet .hint{font-size:13.5px;line-height:1.5;margin:0 0 10px}
.bl-sheet .azss-msg{font-size:13.5px;line-height:1.5;margin:8px 0 0}
.bl-sheet .azss-msg.is-err{color:var(--th-c6543f-tx,#A63A28)}

.bl-sheet .azm-btn.primary{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 26px;border:0;border-radius:12px;cursor:pointer;
  font:700 15px/1 'DM Sans','AZ FF Fallback',system-ui,sans-serif;background:var(--th-1a3c2a-bg,#1A3C2A);color:#fff}
.bl-page .azc-dates{margin:2px 0 0;padding:0 14px;border:0;font-size:12px;line-height:1.5;white-space:normal;overflow:visible;text-overflow:clip;color:var(--th-6b4f3a-tx,#6B4F3A)}   /* R25: wraps, never cut */
.bl-menu .bl-menu-a{display:block;padding:12px;border-radius:8px;text-decoration:none;font:600 14px/1.3 'DM Sans','AZ FF Fallback',system-ui,sans-serif;color:var(--th-0f2419-tx,#0F2419)}
.bl-menu .bl-menu-a:hover{background:var(--th-f5f0e6-bg,#F5F0E6)}
.bl-chip-n{display:inline-flex;align-items:center;min-height:32px;padding:0 4px 0 0;font:700 13.5px/1.2 'DM Sans','AZ FF Fallback','Noto Sans Devanagari',system-ui,sans-serif;color:var(--th-0f2419-tx,#0F2419)}

/* R21: the Land Report link in the Buy Land banner */
.pg-hero.bl-hero .bl-lr{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
/* R26: the Free Land Report link sits just below the banner, not inside it */
.bl-lr-row{margin:12px 0 0;font:600 14px/1.4 "DM Sans",'AZ FF Fallback',system-ui,sans-serif}
.bl-lr-row .bl-lr{color:var(--th-1a3c2a-tx,#1A3C2A);font-weight:700;text-decoration:underline;text-underline-offset:3px}
