/* Najafabad Property Bridge — responsive UI */
.napb-search,.napb-results,.napb-single{font-family:inherit;box-sizing:border-box}
.napb-search *,.napb-results *,.napb-code-search *,.napb-single *{box-sizing:border-box}
.napb-search{--napb-ink:#142b3b;--napb-muted:#718096;--napb-accent:#0c806f;--napb-line:#e4ebef;background:linear-gradient(135deg,#fff 0%,#f4f8f8 100%);border:1px solid var(--napb-line);border-radius:22px;padding:clamp(18px,3vw,30px);box-shadow:0 14px 42px rgba(19,49,64,.08);margin:24px 0}
.napb-search-heading,.napb-results-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.napb-search h2,.napb-results h2{font-size:clamp(20px,2.4vw,27px);line-height:1.5;color:#142b3b;margin:3px 0 0;font-weight:800}
.napb-eyebrow{font-size:12px;color:#0c806f;font-weight:800;letter-spacing:.02em}
.napb-search-icon{width:48px;height:48px;border-radius:16px;background:#e3f3ef;color:#087765;display:grid;place-items:center;font-size:35px}
.napb-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.napb-tabs label{cursor:pointer;border:1px solid #dce7e7;border-radius:12px;padding:9px 20px;color:#526575;font-weight:700;background:#fff;transition:.2s}
.napb-tabs label.is-active,.napb-tabs label:has(input:checked){background:#e6f5f1;border-color:#9bd3c5;color:#087765}
.napb-tabs input{position:absolute;opacity:0;pointer-events:none}
.napb-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.napb-fields label{display:flex;flex-direction:column;gap:7px;min-width:0}
.napb-fields label>span{font-size:12px;font-weight:700;color:#506373}
.napb-fields input,.napb-fields select{width:100%;min-height:48px;border:1px solid #dce5e9;border-radius:11px;padding:0 13px;background:#fff;color:#203746;font:inherit;font-size:14px;outline:none}
.napb-fields input:focus,.napb-fields select:focus,.napb-code-search input:focus{border-color:#0c806f;box-shadow:0 0 0 3px rgba(12,128,111,.12)}
.napb-submit{align-self:end;min-height:48px;border:0;border-radius:11px;background:linear-gradient(120deg,#087765,#13a18a);color:#fff;font:inherit;font-weight:800;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:14px;transition:transform .2s,box-shadow .2s}
.napb-submit:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(12,128,111,.2)}
.napb-code-search{display:flex;align-items:center;gap:10px;max-width:460px;padding:7px 8px 7px 14px;border:1px solid #e1e9ec;border-radius:14px;background:#fff;box-shadow:0 8px 25px rgba(20,43,59,.06);direction:rtl}
.napb-code-search>span{font-size:26px;color:#0c806f}
.napb-code-search input{min-width:0;flex:1;border:0;outline:0;min-height:42px;background:transparent;font:inherit}
.napb-code-search button{border:0;border-radius:10px;background:#0c806f;color:#fff;padding:11px 17px;font:inherit;font-weight:700;cursor:pointer}
.napb-results{margin:32px 0}
.napb-results-top{margin-bottom:20px}
.napb-result-count{background:#eaf4f2;color:#087765;border-radius:30px;padding:8px 14px;font-size:13px;font-weight:800}
.napb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.napb-card{overflow:hidden;border:1px solid #e6ecef;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(20,43,59,.055);transition:transform .2s,box-shadow .2s}
.napb-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(20,43,59,.11)}
.napb-card-media{height:210px;display:block;position:relative;background:linear-gradient(135deg,#e8f0ef,#f6f8f8);overflow:hidden}
.napb-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.napb-card:hover .napb-card-media img{transform:scale(1.04)}
.napb-no-image{height:100%;display:grid;place-items:center;font-size:70px;color:#9ab7b0}
.napb-badge{position:absolute;top:13px;right:13px;background:#fff;color:#087765;border-radius:8px;padding:6px 11px;font-size:12px;font-weight:800;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.napb-card-body{padding:17px}
.napb-card-location{font-size:12px;color:#0c806f;font-weight:800;margin-bottom:6px}
.napb-card h3{font-size:16px;line-height:1.8;margin:0 0 12px;color:#172e3c}
.napb-card h3 a{color:inherit;text-decoration:none}
.napb-card-specs{display:flex;gap:15px;flex-wrap:wrap;color:#687b87;font-size:12px;padding-bottom:14px;border-bottom:1px solid #edf1f2}
.napb-card-footer{display:flex;justify-content:space-between;gap:8px;align-items:center;padding-top:13px;font-size:12px;font-weight:800;color:#203746}
.napb-code{color:#81919a;font-weight:600;white-space:nowrap}
.napb-empty{text-align:center;border:1px dashed #d7e3e3;border-radius:18px;padding:38px 15px;color:#758792}
.napb-empty>span{font-size:42px;color:#9ab7b0}
.napb-empty h3{margin:8px 0;color:#203746}
.napb-empty p{margin:0}
.napb-pagination ul{display:flex;justify-content:center;gap:7px;list-style:none;padding:0;margin:25px 0}
.napb-pagination a,.napb-pagination span{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #e0e9eb;border-radius:10px;padding:0 10px;text-decoration:none;color:#31505d}
.napb-pagination .current{background:#0c806f;color:#fff;border-color:#0c806f}
.napb-single{margin:24px 0}
.napb-single-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f5f8f8;border:1px solid #e5eded;border-radius:16px;padding:16px;margin-bottom:22px}
.napb-single-details>div{display:flex;flex-direction:column;gap:5px;padding:12px;background:#fff;border-radius:10px}
.napb-single-details span{font-size:12px;color:#7b8b93}
.napb-single-details strong{font-size:14px;color:#203746}
.napb-admin-summary{display:inline-flex;align-items:center;gap:14px;background:#fff;border:1px solid #e2e9ec;border-radius:12px;padding:16px 20px;margin:12px 0}
.napb-admin-summary strong{font-size:26px;color:#087765}
.napb-admin-summary span{color:#526575}
@media(max-width:900px){.napb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.napb-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.napb-grid{grid-template-columns:1fr}.napb-fields{grid-template-columns:1fr}.napb-search{border-radius:16px;padding:17px}.napb-card-media{height:220px}.napb-single-details{grid-template-columns:repeat(2,minmax(0,1fr))}.napb-card-footer{align-items:flex-start;flex-direction:column}.napb-code-search{max-width:none}}
/* v1.3 property detail, gallery and map */
.napb-property-page{max-width:1180px;margin:32px auto;color:#203746}
.napb-property-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 30px;border-radius:22px;background:linear-gradient(120deg,#102f40,#176c67);color:#fff;margin-bottom:22px}
.napb-property-head h1{font-size:clamp(22px,3vw,34px);line-height:1.5;color:#fff;margin:5px 0;font-weight:850}
.napb-property-head p{margin:0;color:#d8eae7}.napb-property-code{white-space:nowrap;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25);padding:12px 17px;border-radius:13px;color:#fff}.napb-property-code b{font-size:19px;margin-right:8px}
.napb-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 26px}.napb-gallery-item{display:block;height:190px;overflow:hidden;border-radius:15px;background:#edf2f2}.napb-gallery-item:first-child{grid-column:span 2;grid-row:span 2;height:392px}.napb-gallery-item img,.napb-hero-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.napb-gallery-item:hover img{transform:scale(1.04)}.napb-hero-image{height:430px;border-radius:18px;overflow:hidden;margin-bottom:25px}
.napb-spec-section,.napb-description,.napb-map-section,.napb-map-wrap{background:#fff;border:1px solid #e5ecee;border-radius:20px;padding:24px;margin:24px 0;box-shadow:0 8px 26px rgba(20,43,59,.045)}.napb-section-title{margin:0 0 17px}.napb-section-title>span{font-size:12px;font-weight:800;color:#0c806f}.napb-section-title h2{font-size:22px;font-weight:850;color:#173443;margin:3px 0}.napb-single-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:transparent;border:0;padding:0;margin:0}.napb-single-details>div{border:1px solid #e7edef;border-right:3px solid #138b78;background:linear-gradient(145deg,#fff,#f7faf9);border-radius:13px;padding:15px 17px;min-height:76px}.napb-single-details span{font-size:12px;color:#71838c}.napb-single-details strong{font-size:16px;color:#1c3947}.napb-description-content{font-size:15px;line-height:2.2;color:#425966}.napb-description-content p:last-child{margin-bottom:0}.napb-map{height:420px;border-radius:15px;overflow:hidden;z-index:1}.napb-map-note{font-size:12px;color:#75858c;margin:10px 2px 0}.napb-map-wrap{margin:0 0 25px}
@media(max-width:760px){.napb-property-head{align-items:flex-start;flex-direction:column;padding:20px}.napb-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.napb-gallery-item{height:140px}.napb-gallery-item:first-child{height:292px}.napb-single-details{grid-template-columns:repeat(2,minmax(0,1fr))}.napb-map{height:320px}.napb-spec-section,.napb-description,.napb-map-section,.napb-map-wrap{padding:17px}}
@media(max-width:420px){.napb-single-details{grid-template-columns:1fr}.napb-gallery-item:first-child{grid-column:span 2;height:230px}.napb-property-code{white-space:normal}}
/* v1.4 compact property imagery: less vertical scrolling */
.napb-card-media{height:165px}
.napb-gallery{gap:9px}
.napb-gallery-item{height:145px}
.napb-gallery-item:first-child{height:299px}
.napb-hero-image{height:320px}
@media(max-width:760px){.napb-card-media{height:155px}.napb-gallery-item{height:118px}.napb-gallery-item:first-child{height:245px}}
@media(max-width:420px){.napb-card-media{height:145px}.napb-gallery-item:first-child{height:205px}.napb-hero-image{height:230px}}
