/* Propzero quick search on /search — same design as the homepage search (home.css "SEARCH"),
   scoped to .pzsb so the list page's own styles are not touched */
.pzsb{--pzsb-accent:#4C5CEC;--pzsb-ink:#1F2348;--pzsb-line:#E1E3F6;position:relative;z-index:20;margin-top:-55px;margin-bottom:1rem;font-family:'Poppins',sans-serif}
.pzsb .container{position:relative;z-index:20}
.pzsb *,.pzsb *::before,.pzsb *::after{box-sizing:border-box}
.pzsb label{margin:0;font-weight:inherit;cursor:default}
.pzsb button{font-family:inherit;cursor:pointer}
.pzsb-ico{flex:none;overflow:visible;vertical-align:-.125em}

.pzsb-form{background:#fff;border-radius:28px;padding:18px 20px;box-shadow:0 18px 44px rgba(31,35,72,.14);display:flex;flex-direction:column;gap:16px;margin:0}
.pzsb-tabs{display:inline-flex;align-self:flex-start;gap:4px;padding:4px;background:#F1F2FB;border-radius:999px}
.pzsb-tabs button{min-height:44px;padding:0 26px;border-radius:999px;border:0;background:transparent;color:var(--pzsb-accent);font-size:13px;font-weight:700;line-height:1;transition:background .2s,color .2s}
.pzsb-tabs button.is-on{background:var(--pzsb-accent);color:#fff;box-shadow:0 6px 14px rgba(76,92,236,.3)}
.pzsb-tabs button:focus{outline:none}
.pzsb-tabs button:focus-visible{outline:2px solid var(--pzsb-accent);outline-offset:2px}

.pzsb-grid-wrap{position:relative}
.pzsb-grid{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr)) auto;gap:1.5px;background:var(--pzsb-line);border:1.5px solid var(--pzsb-line);border-radius:20px;overflow:hidden}
.pzsb-form[data-tab="sell"] .pzsb-grid{grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)) auto}
.pzsb-grid>label,.pzsb-btn{background:#fff;min-width:0}
.pzsb-loc{display:flex;align-items:center;gap:14px;padding:0 22px;min-height:64px}
.pzsb-field{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pzsb-flabel{font-size:10.5px;font-weight:600;letter-spacing:1px;color:#8A90B8;line-height:1.4}
.pzsb-qwrap{position:relative;display:flex;min-width:0}
.pzsb-qwrap input{flex:1;min-width:0;width:100%;border:0;background:transparent;padding:0;margin:0;font-size:14px;font-weight:500;line-height:1.5;color:var(--pzsb-ink);outline:none;box-shadow:none;font-family:inherit}
.pzsb-qwrap input.has-location{color:var(--pzsb-accent);font-weight:600}
.pzsb-hint{position:absolute;inset:0;display:flex;align-items:center;pointer-events:none;overflow:hidden;white-space:nowrap;font-size:14px;font-weight:500;color:#8A90B8}
.pzsb-hint[hidden]{display:none}
.pzsb-hint>span{display:inline-flex;gap:5px;animation:pzsbRot 2.6s ease both}
.pzsb-hint b{color:var(--pzsb-accent);font-weight:600}
@keyframes pzsbRot{0%{opacity:0;transform:translateY(8px)}12%,85%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-8px)}}
.pzsb-sel{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:0 22px;min-height:64px}
.pzsb-sel[hidden]{display:none}
.pzsb-sel select{border:0;background-color:transparent;padding:0;margin:0 0 0 -3px;height:auto;font-size:14px;font-weight:600;line-height:1.5;color:var(--pzsb-ink);outline:none;box-shadow:none;cursor:pointer;width:100%;text-overflow:ellipsis;font-family:inherit}
.pzsb-grid input:focus,.pzsb-grid input:focus-visible,.pzsb-grid select:focus,.pzsb-grid select:focus-visible{outline:none;box-shadow:none}
.pzsb-btn{padding:6px;display:flex}
.pzsb-btn button{flex:1;justify-content:center;min-height:52px;padding:0 28px;border:0;border-radius:16px;background:var(--pzsb-accent);color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;gap:12px;white-space:nowrap}
.pzsb-btn button:hover{background:#3F4FDC}

.pzsb-foot{display:flex;justify-content:flex-end;padding-top:14px;border-top:1.5px solid #DADAE6}
.pzsb-adv-wrap{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-left:auto}
.pzsb-adv-wrap[hidden],.pzsb .pv-search-chips[hidden],.pzsb .pzsb-adv[hidden]{display:none}
.pzsb .pv-search-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.pzsb-adv{background:none;border:0;padding:0;margin:0;font-size:13px;font-weight:700;letter-spacing:.5px;color:var(--pzsb-accent)!important;display:inline-flex;align-items:center;gap:8px;min-height:30px}

/* suggestions (same look as the homepage) */
.pzsb-sugg{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:40;background:#f8f8fe;border-radius:18px;box-shadow:0 12px 32px rgba(37,45,114,.16);max-height:min(460px,60vh);overflow-y:auto;overscroll-behavior:contain;text-align:left}
.pzsb-sugg[hidden]{display:none}
.pzsb-sugg::-webkit-scrollbar{width:7px}
.pzsb-sugg::-webkit-scrollbar-thumb{background:#d7daf7;border-radius:999px}
.pzsb-sugg button{-webkit-appearance:none;appearance:none;font-family:inherit;outline:none;box-shadow:none}
.pzsb-sugg-all{display:block;width:100%;border:0;border-bottom:1px solid #e6e7f0;background:#fff;color:#3c405c;padding:14px 20px;text-align:left;font-size:15px;font-weight:600;position:sticky;top:0;z-index:2;overflow-wrap:anywhere}
.pzsb-sugg-all span{color:#4b5feb}
.pzsb-sugg-all:hover,.pzsb-sugg-all:focus-visible{background:#f1f2ff}
.pzsb-sugg-head{display:block;padding:12px 20px 10px;background:#fff;color:#999caf;font-size:12.5px;line-height:1.3;font-weight:700;letter-spacing:.025em;border-top:1px solid #eff0f8;border-bottom:1px solid #e8eaf4}
.pzsb-sugg-item{display:flex;width:100%;gap:15px;align-items:flex-start;padding:11px 20px;border:0;border-bottom:1px solid #ededf7;border-radius:0;background:#f8f8fe;color:#54586f;text-align:left;font-size:14px;line-height:1.35;transition:background-color .15s ease}
.pzsb-sugg-item:last-child{border-bottom:0}
.pzsb-sugg-item:hover,.pzsb-sugg-item.is-active,.pzsb-sugg-item:focus-visible{background:#ecedff}
.pzsb-sugg-copy{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:3px}
.pzsb-sugg-title{display:block;color:#444a64;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pzsb-sugg-item.is-loc .pzsb-sugg-title{color:#4b5feb;font-weight:700}
.pzsb-sugg-addr{display:block;color:#777c98;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pzsb-sugg-type{flex:0 0 auto;max-width:32%;margin-top:1px;border:1px solid #aeb6fc;border-radius:999px;padding:3px 10px;color:#4b5feb;background:#fff;font-size:11.5px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pzsb-sugg-status{padding:17px 20px;color:#8a8da6;font-size:13.5px;background:#f8f8fe}

@media (max-width:1000px){
  .pzsb-grid,.pzsb-form[data-tab="sell"] .pzsb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pzsb-loc,.pzsb-btn{grid-column:1 / -1}
}
@media (max-width:768px){
  .pzsb-form{padding:16px 14px;border-radius:24px}
  .pzsb-sugg{border-radius:15px;max-height:min(430px,58vh)}
  .pzsb-sugg-all{padding:13px 14px;font-size:14px}
  .pzsb-sugg-head{padding:11px 14px 9px;font-size:12px}
  .pzsb-sugg-item{padding:11px 14px;gap:8px}
  .pzsb-sugg-type{max-width:37%;padding:3px 7px;font-size:10.5px}
  .pzsb-sugg-title{font-size:13.5px}
  .pzsb-sugg-addr{font-size:11.5px}
  /* iPhone zooms the page when a field under 16px is tapped */
  .pzsb-qwrap input,.pzsb-sel select{font-size:16px}
  .pzsb-sel{gap:0;padding-top:8px;padding-bottom:8px}
  .pzsb-sel select{min-height:34px}
}
@media (max-width:600px){
  .pzsb-form{padding:12px;gap:12px;border-radius:20px}
  .pzsb-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .pzsb-tabs button{padding:0 6px;font-size:12px;white-space:nowrap}
  .pzsb-grid,.pzsb-form[data-tab="sell"] .pzsb-grid{grid-template-columns:minmax(0,1fr);border-radius:16px}
  .pzsb-grid>label{min-height:58px;padding:0 16px}
  .pzsb-loc{gap:12px}
  .pzsb-btn{padding:8px}
  .pzsb-hint{font-size:13px}
}
@media (prefers-reduced-motion:reduce){.pzsb-hint>span{animation:none!important}}

/* phones: short search (location + Search); type / price / status stay in ADVANCE SEARCH */
@media (max-width:768px){
.pzsb:not(.is-home) .pzsb-form .pzsb-sel{display:none!important}
}
/* jackyproperty: SELL & LEASE (/landlord) */
.pzsb-form.is-sell #pz-status-wrap,.pzsb-form.is-sell #pz-adv-wrap{display:none!important}
.pzsb-sell-note{display:inline-flex;align-items:center;gap:10px;min-height:30px;margin-left:auto;font-size:14px;color:#B3AEE6}
.pzsb-sell-note[hidden]{display:none}
.pzsb-sell-note span{width:20px;height:20px;border-radius:50%;background:var(--pzsb-accent,#4C5CEC);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
/* agent homepage: under the profile, not pulled up over it */
.pzsb.is-home{margin-top:16px}
/* agent homepage: lower half of the card sits on the blue band below (like before) */
.pzsb.is-home{margin-bottom:0;background:linear-gradient(180deg,transparent 55%,#4654C1 55%)}
/* SELL & LEASE: link to the agent's WhatsApp, Google place suggestions */
a.pzsb-sell-note{color:#B3AEE6!important;text-decoration:none!important;cursor:pointer}
a.pzsb-sell-note:hover{color:var(--pzsb-accent,#4C5CEC)!important}
.pzsb-sugg-google{display:flex;justify-content:flex-end;padding:8px 14px 6px}
.pzsb-sugg-google img{height:16px;width:auto}
