*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

:root{
  --green:#16a34a;
  --green-dark:#08783a;
  --dark:#07152f;
  --black:#111827;
  --text:#172033;
  --muted:#6b7280;
  --border:#e3e7ec;
  --white:#fff;
}

html{
  scroll-behavior:auto;
}

body{
  font-family:"Inter",sans-serif;
  color:var(--text);
  background:#fff;
  overflow-x:hidden;
}

body.no-scroll{
  overflow:hidden;
}

button,
input,
select{
  font-family:inherit;
}

button{
  cursor:pointer;
}

button:disabled{
  cursor:not-allowed;
  opacity:.65;
}

a{
  text-decoration:none;
  color:inherit;
}


/* ================= HEADER ================= */

.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid #edf0f3;
}

.header-inner{
  width:min(1400px,100%);
  min-height:78px;
  margin:auto;
  padding:10px 22px;

  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:78px;
  flex-shrink:0;
  display:flex;
  justify-content:center;
}

.logo img{
  width:68px;
  height:52px;
  object-fit:contain;
}

.menu-btn{
  width:46px;
  height:46px;

  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;

  border:0;
  border-radius:12px;
  background:#f4f5f7;
}

.menu-btn span{
  width:21px;
  height:2px;
  background:#172033;
  border-radius:10px;
}

.top-location{
  height:46px;
  min-width:46px;

  display:none;
  align-items:center;
  justify-content:center;
  gap:5px;

  border:1px solid #e5e9ed;
  border-radius:12px;

  background:#f8faf9;
  color:var(--green);
}

.top-location svg{
  width:22px;
  height:22px;

  fill:none;
  stroke:var(--green);
  stroke-width:2;
}

.top-location span{
  display:none;
  max-width:110px;

  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;

  font-size:10px;
  font-weight:700;
}

.search-box{
  height:48px;
  flex:1;

  display:flex;
  align-items:center;

  padding:0 15px;

  border:1px solid #e2e6eb;
  border-radius:14px;

  background:#f7f8fa;

  transition:.2s;
}

.search-box:focus-within{
  background:#fff;
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(22,163,74,.08);
}

.search-box svg{
  width:20px;
  height:20px;

  fill:none;
  stroke:#687382;
  stroke-width:2;

  flex-shrink:0;
}

.search-box input{
  width:100%;

  border:0;
  outline:0;

  background:transparent;

  padding-left:10px;

  font-size:13px;
}

.login-link{
  font-size:13px;
  font-weight:600;
  padding:12px 9px;
}

.post-btn{
  padding:13px 19px;

  border-radius:11px;

  background:var(--green);
  color:#fff;

  font-size:12px;
  font-weight:700;

  white-space:nowrap;

  transition:.2s;
}

.post-btn:hover{
  background:var(--green-dark);
  transform:translateY(-1px);
}


/* ================= HERO ================= */

.hero{
  height:390px;
  position:relative;
  overflow:hidden;
  background:var(--dark);
}

.hero-slider,
.hero-slide{
  position:absolute;
  inset:0;
}

.hero-slide{
  opacity:0;
  transition:opacity .7s ease;
}

.hero-slide.active{
  opacity:1;
}

.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-slide:after{
  content:"";
  position:absolute;
  inset:0;

  background:linear-gradient(
    90deg,
    rgba(3,13,31,.86),
    rgba(3,13,31,.42),
    rgba(3,13,31,.12)
  );
}

.hero-overlay{
  position:relative;
  z-index:2;

  height:100%;

  display:flex;
  align-items:center;
}

.hero-content{
  width:min(1200px,calc(100% - 40px));
  margin:auto;
  color:#fff;
}

.vip-label{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:7px 12px;

  border:1px solid rgba(255,255,255,.2);
  border-radius:25px;

  background:rgba(22,163,74,.16);

  font-size:10px;
  font-weight:700;
  letter-spacing:1.2px;
}

.vip-label span{
  width:7px;
  height:7px;

  border-radius:50%;
  background:#21c866;
  box-shadow:0 0 10px #21c866;
}

.hero h1{
  margin-top:15px;

  font-size:clamp(38px,5.5vw,68px);
  line-height:1;

  letter-spacing:-2.5px;
  font-weight:800;
}

.hero h1 em{
  color:#20b458;
  font-style:normal;
}

.hero p{
  max-width:600px;
  margin-top:15px;

  color:rgba(255,255,255,.84);

  font-size:14px;
  line-height:1.65;
}

.hero-dots{
  position:absolute;
  z-index:5;

  left:50%;
  bottom:20px;

  transform:translateX(-50%);

  display:flex;
  gap:7px;
}

.hero-dots button{
  width:7px;
  height:7px;

  border:0;
  border-radius:20px;

  background:rgba(255,255,255,.5);
  transition:.25s;
}

.hero-dots button.active{
  width:25px;
  background:#fff;
}


/* ================= CATEGORY ================= */

.category-strip-section{
  background:var(--dark);

  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.category-strip{
  width:min(1200px,calc(100% - 40px));
  min-height:68px;
  margin:auto;

  display:flex;
  align-items:center;
  gap:16px;
}

.category-strip-label{
  min-width:105px;
  flex-shrink:0;
}

.category-strip-label span{
  display:block;

  color:#7f8ba0;

  font-size:8px;
  font-weight:700;
  letter-spacing:1.2px;
}

.category-strip-label strong{
  color:#fff;
  font-size:13px;
}

.category-pills{
  flex:1;
  min-width:0;

  display:flex;
  gap:7px;

  overflow-x:auto;
  overflow-y:hidden;

  scroll-behavior:smooth;

  scrollbar-width:none;

  padding:7px 2px;
}

.category-pills::-webkit-scrollbar{
  display:none;
}

.category-pill{
  position:relative;

  flex:0 0 auto;

  padding:7px 12px;

  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;

  background:rgba(255,255,255,.05);

  color:#b9c2d0;

  font-size:10px;
  font-weight:600;

  transition:.25s;
}

.category-pill.active{
  background:var(--green);
  border-color:var(--green);
  color:#fff;

  box-shadow:0 0 0 1px rgba(22,163,74,.25);
}

.category-pill.active:after{
  content:"";

  position:absolute;

  left:50%;
  bottom:-7px;

  width:20px;
  height:3px;

  transform:translateX(-50%);

  border-radius:20px;

  background:#20c466;
}


/* ================= MAIN ================= */

.container{
  width:min(1200px,calc(100% - 40px));
  margin:auto;
}

.page-heading{
  padding:35px 0 20px;

  display:flex;
  align-items:end;
  justify-content:space-between;

  gap:20px;
}

.eyebrow{
  color:var(--green);

  font-size:10px;
  font-weight:800;
  letter-spacing:1.3px;
}

.page-heading h2{
  margin-top:4px;
  font-size:28px;
  letter-spacing:-.6px;
}

.page-heading p{
  margin-top:3px;

  color:#89919c;
  font-size:11px;
}

.sort-select{
  min-width:165px;
  height:42px;

  border:1px solid var(--border);
  border-radius:10px;

  background:#fff;
  padding:0 12px;

  outline:0;

  font-size:11px;
  font-weight:600;
}


/* ================= FILTER ================= */

.filter-section{
  margin-bottom:25px;
}

.filter-bar{
  display:flex;
  align-items:stretch;
  gap:8px;

  overflow-x:auto;
  scrollbar-width:none;

  padding-bottom:2px;
}

.filter-bar::-webkit-scrollbar{
  display:none;
}

.filter-main-btn,
.quick-filter,
.clear-filter{
  flex:0 0 auto;

  min-height:43px;
  padding:0 14px;

  border-radius:10px;

  display:flex;
  align-items:center;
  justify-content:center;

  gap:7px;

  font-size:11px;
  font-weight:700;

  white-space:nowrap;
}

.filter-main-btn,
.quick-filter{
  border:1px solid #111827;
  background:#111827;
  color:#fff;

  transition:.2s;
}

.filter-main-btn:hover,
.quick-filter:hover{
  background:#1f2937;
  transform:translateY(-1px);
}

.filter-main-btn svg{
  width:17px;
  height:17px;

  fill:none;
  stroke:currentColor;
  stroke-width:2;
}

.filter-main-btn b{
  min-width:19px;
  height:19px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:var(--green);
  color:#fff;

  font-size:9px;
}

.quick-filter b{
  color:#aeb6c2;
}

.clear-filter{
  border:1px solid #e0e4e8;
  background:#fff;
  color:#555e6d;

  transition:.2s;
}

.clear-filter:hover{
  border-color:#cbd1d8;
  background:#f8f9fa;
}


/* ================= LISTINGS ================= */

.marketplace{
  padding-bottom:65px;
}

.listing-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.listing-card{
  overflow:hidden;

  background:#fff;

  border:1px solid #e7eaee;
  border-radius:15px;

  transition:.2s ease;
}

.listing-card:hover{
  transform:translateY(-3px);

  box-shadow:
    0 12px 30px rgba(16,24,40,.1);
}

.card-image{
  height:195px;

  position:relative;
  overflow:hidden;

  background:#eef1f3;
}

.card-image img{
  width:100%;
  height:100%;
  object-fit:cover;

  transition:.35s;
}

.listing-card:hover .card-image img{
  transform:scale(1.04);
}

.vip-badge{
  position:absolute;

  top:9px;
  left:9px;

  padding:5px 8px;

  border-radius:6px;

  background:#111827;
  color:#fff;

  font-size:8px;
  font-weight:800;
}

.verified-badge{
  position:absolute;

  top:9px;
  right:9px;

  width:26px;
  height:26px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:#fff;
  color:var(--green);

  font-size:13px;

  box-shadow:0 3px 10px rgba(0,0,0,.12);
}

.card-body{
  padding:13px;
}

.card-category{
  color:var(--green);

  font-size:8px;
  font-weight:800;

  text-transform:uppercase;
  letter-spacing:.6px;
}

.card-title{
  margin-top:4px;

  font-size:14px;
  font-weight:700;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.card-price{
  margin-top:6px;

  font-size:16px;
  font-weight:800;
}

.card-meta{
  margin-top:7px;

  display:flex;
  justify-content:space-between;

  color:#7b8490;
  font-size:9px;
}

.empty-state{
  grid-column:1/-1;

  text-align:center;

  padding:55px 20px;

  border:1px dashed #d8dde4;
  border-radius:15px;

  color:#7b8490;
}


/* ================= LOCATION ================= */

.location-overlay{
  position:fixed;
  inset:0;

  z-index:3000;

  display:none;

  align-items:center;
  justify-content:center;

  padding:18px;

  background:rgba(4,12,26,.62);
}

.location-overlay.show{
  display:flex;
}

.location-modal{
  width:min(610px,100%);
  max-height:90vh;

  overflow:auto;

  background:#fff;
  border-radius:20px;

  box-shadow:0 30px 80px rgba(0,0,0,.25);
}

.location-modal-head{
  padding:18px 20px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  border-bottom:1px solid #edf0f3;
}

.location-brand{
  display:flex;
  align-items:center;
  gap:11px;
}

.location-icon-large{
  width:43px;
  height:43px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:12px;
  background:#ecfdf3;
}

.location-icon-large svg{
  width:22px;
  height:22px;

  fill:none;
  stroke:var(--green);
  stroke-width:2;
}

.location-brand span{
  color:var(--green);

  font-size:8px;
  font-weight:800;
  letter-spacing:1px;
}

.location-brand h3{
  font-size:18px;
}

.location-close,
.close-drawer,
.help-head button{
  width:36px;
  height:36px;

  border:0;
  border-radius:50%;

  background:#f2f4f6;
  color:#374151;

  font-size:23px;

  transition:.2s;
}

.location-close:hover,
.close-drawer:hover,
.help-head button:hover{
  background:#e5e7eb;
}

.location-body{
  padding:20px;
}

.current-location-btn{
  width:100%;

  padding:13px;

  display:flex;
  align-items:center;
  gap:11px;

  text-align:left;

  border:1px solid #d8f1e1;
  border-radius:12px;

  background:#f0fdf4;
}

.current-location-btn svg{
  width:25px;
  height:25px;

  fill:none;
  stroke:var(--green);
  stroke-width:1.8;
}

.current-location-btn strong{
  display:block;

  color:#166534;
  font-size:12px;
}

.current-location-btn small{
  display:block;

  color:#6b7280;
  font-size:9px;
}

.location-divider{
  display:flex;
  align-items:center;
  gap:9px;

  margin:18px 0;

  color:#9aa1aa;

  font-size:8px;
  font-weight:700;
  letter-spacing:1px;
}

.location-divider:before,
.location-divider:after{
  content:"";
  height:1px;
  flex:1;
  background:#e8ebef;
}

.location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}

.location-grid select,
#distanceFilter{
  width:100%;
  height:45px;

  border:1px solid #dfe3e8;
  border-radius:10px;

  background:#fff;
  padding:0 10px;

  outline:0;

  color:#273244;
  font-size:10px;
}

.location-grid select:focus,
#distanceFilter:focus{
  border-color:var(--green);

  box-shadow:
    0 0 0 3px rgba(22,163,74,.08);
}

.location-apply{
  width:100%;
  height:46px;

  margin-top:13px;

  border:0;
  border-radius:10px;

  background:var(--green);
  color:#fff;

  font-size:12px;
  font-weight:700;

  transition:.2s;
}

.location-apply:hover{
  background:var(--green-dark);
}


/* ================= DRAWER ================= */

.filter-backdrop{
  position:fixed;
  inset:0;

  z-index:1900;

  background:rgba(3,10,25,.55);

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transition:.25s;
}

.filter-backdrop.show{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.filter-drawer{
  position:fixed;

  z-index:2000;

  top:0;
  right:0;

  width:min(420px,94vw);
  height:100vh;

  background:#fff;

  transform:translateX(105%);
  transition:transform .28s ease;

  display:flex;
  flex-direction:column;

  box-shadow:-20px 0 50px rgba(0,0,0,.16);
}

.filter-drawer.open{
  transform:translateX(0);
}

.drawer-header{
  flex:0 0 auto;

  padding:18px 20px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  border-bottom:1px solid #edf0f3;

  background:#fff;
}

.drawer-label{
  color:var(--green);

  font-size:8px;
  font-weight:800;
  letter-spacing:1.2px;
}

.drawer-header h3{
  font-size:21px;
}

.drawer-body{
  flex:1 1 auto;
  min-height:0;

  overflow-y:auto;

  padding:5px 20px 25px;

  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.filter-group{
  border-bottom:1px solid #edf0f3;
}

.filter-title{
  width:100%;
  min-height:54px;

  border:0;
  background:#fff;

  display:flex;
  align-items:center;
  justify-content:space-between;

  color:#182235;

  font-size:13px;
  font-weight:700;

  text-align:left;
}

.filter-title b{
  color:#8b94a0;
  transition:.2s;
}

.filter-title.open b{
  transform:rotate(180deg);
}

.filter-content{
  display:none;
  padding-bottom:14px;
}

.filter-content.open{
  display:block;
}

.category-all,
.category-item{
  width:100%;
  min-height:37px;

  margin-bottom:5px;
  padding:0 11px;

  border:0;
  border-radius:8px;

  background:#f5f6f8;

  text-align:left;

  font-size:11px;
  font-weight:600;

  color:#344054;

  transition:.2s;
}

.category-all.active,
.category-item.active{
  background:#111827;
  color:#fff;
}

.category-all:hover,
.category-item:hover{
  background:#e9edf1;
}

.category-all.active:hover,
.category-item.active:hover{
  background:#1f2937;
}

.drawer-location-btn{
  width:100%;
  min-height:45px;

  border:1px solid #dfe3e8;
  border-radius:9px;

  background:#fff;

  display:flex;
  align-items:center;
  gap:7px;

  padding:0 11px;

  color:#344054;

  font-size:11px;
  font-weight:600;

  text-align:left;
}

.drawer-location-btn svg{
  width:18px;
  height:18px;

  fill:none;
  stroke:var(--green);
  stroke-width:2;

  flex-shrink:0;
}

.range-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.range-row input{
  width:100%;
  height:41px;

  border:1px solid #dfe3e8;
  border-radius:8px;

  padding:0 9px;

  outline:0;

  font-size:11px;
}

.range-row input:focus{
  border-color:var(--green);

  box-shadow:
    0 0 0 3px rgba(22,163,74,.07);
}

.check-option{
  min-height:35px;

  display:flex;
  align-items:center;

  gap:8px;

  color:#4b5563;
  font-size:11px;
}

.check-option input{
  width:15px;
  height:15px;
  accent-color:var(--green);
}

.filter-apply-note{
  margin-top:18px;
  margin-bottom:5px;

  padding:12px;

  display:flex;
  align-items:flex-start;

  gap:9px;

  border:1px solid #d8f1e1;
  border-radius:10px;

  background:#f0fdf4;
}

.filter-apply-note > span{
  width:22px;
  height:22px;

  display:flex;
  align-items:center;
  justify-content:center;

  flex-shrink:0;

  border-radius:50%;

  background:var(--green);
  color:#fff;

  font-size:11px;
  font-weight:800;
}

.filter-apply-note strong{
  display:block;

  color:#166534;
  font-size:10px;
}

.filter-apply-note small{
  display:block;

  margin-top:2px;

  color:#6b7280;

  font-size:8px;
  line-height:1.5;
}

.drawer-footer{
  flex:0 0 auto;

  padding:13px 20px
    calc(13px + env(safe-area-inset-bottom));

  display:grid;
  grid-template-columns:90px 1fr;

  gap:9px;

  border-top:1px solid #e8ebef;

  background:#fff;

  box-shadow:0 -8px 20px rgba(0,0,0,.06);
}

.drawer-clear,
.apply-btn{
  height:48px;

  border-radius:9px;

  font-size:11px;
  font-weight:700;

  transition:.2s;
}

.drawer-clear{
  border:0;
  background:#f3f4f6;
  color:#374151;
}

.drawer-clear:hover{
  background:#e5e7eb;
}

.apply-btn{
  border:0;

  background:var(--green);
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  gap:7px;

  box-shadow:0 6px 16px rgba(22,163,74,.22);
}

.apply-btn:hover{
  background:var(--green-dark);
  transform:translateY(-1px);
}

.apply-btn span{
  font-size:13px;
}


/* ================= HELP MODAL ================= */

.help-overlay{
  position:fixed;
  inset:0;

  z-index:4000;

  display:none;

  align-items:center;
  justify-content:center;

  padding:18px;

  background:rgba(4,12,26,.62);
}

.help-overlay.show{
  display:flex;
}

.help-modal{
  width:min(440px,100%);

  background:#fff;
  border-radius:18px;

  overflow:hidden;

  box-shadow:0 30px 80px rgba(0,0,0,.25);
}

.help-head{
  padding:18px 20px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  border-bottom:1px solid #edf0f3;
}

.help-head span{
  color:var(--green);

  font-size:8px;
  font-weight:800;

  letter-spacing:1px;
}

.help-head h3{
  font-size:19px;
}

.help-body{
  padding:18px 20px;
}

.help-item{
  padding:12px 0;

  border-bottom:1px solid #edf0f3;
}

.help-item:last-child{
  border-bottom:0;
}

.help-item strong{
  display:block;

  font-size:12px;
  color:#172033;
}

.help-item p{
  margin-top:4px;

  color:#6b7280;

  font-size:10px;
  line-height:1.6;
}

.help-close-btn{
  width:calc(100% - 40px);
  height:44px;

  margin:0 20px 20px;

  border:0;
  border-radius:9px;

  background:var(--green);
  color:#fff;

  font-size:11px;
  font-weight:700;
}


/* ================= FOOTER ================= */

.footer{
  background:var(--dark);
  color:#fff;
}

.footer-inner{
  width:min(1200px,calc(100% - 40px));

  margin:auto;

  padding:45px 0;

  display:grid;
  grid-template-columns:2fr 1fr 1fr;

  gap:40px;
}

.footer-logo{
  display:flex;
  align-items:center;
  gap:7px;
}

.footer-logo img{
  width:52px;
  height:40px;
  object-fit:contain;
}

.footer-logo strong{
  font-size:16px;
  letter-spacing:1px;
}

.footer-about p{
  max-width:400px;

  margin-top:12px;

  color:#aeb8c7;

  font-size:10px;
  line-height:1.8;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-column h4{
  margin-bottom:4px;
  font-size:12px;
}

.footer-column a{
  color:#aeb8c7;
  font-size:10px;
}

.footer-column a:hover{
  color:#fff;
}

.copyright{
  border-top:1px solid rgba(255,255,255,.08);

  padding:15px;

  text-align:center;

  color:#8995a8;
  font-size:9px;
}


/* ================= MOBILE NAV ================= */

.mobile-nav{
  display:none;
}


/* ================= TABLET ================= */

@media(max-width:900px){

  .header-inner{
    min-height:70px;
    padding:9px 14px;
  }

  .menu-btn,
  .top-location{
    display:flex;
  }

  .logo{
    width:62px;
  }

  .logo img{
    width:58px;
    height:45px;
  }

  .login-link,
  .post-btn{
    display:none;
  }

  .listing-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .hero{
    height:350px;
  }

}


/* ================= MOBILE ================= */

@media(max-width:650px){

  body{
    padding-bottom:72px;
  }

  .header{
    position:relative;
  }

  .header-inner{
    gap:7px;
    padding:9px 10px;
  }

  .menu-btn{
    width:43px;
    height:43px;
    flex-shrink:0;
  }

  .top-location{
    width:43px;
    height:43px;
    flex-shrink:0;
  }

  .top-location svg{
    width:20px;
    height:20px;
  }

  .logo{
    width:52px;
    flex-shrink:0;
  }

  .logo img{
    width:50px;
    height:42px;
  }

  .search-box{
    height:43px;
    min-width:0;
    padding:0 9px;
    border-radius:11px;
  }

  .search-box svg{
    width:18px;
    height:18px;
  }

  .search-box input{
    font-size:10px;
    padding-left:7px;
  }

  .hero{
    height:300px;
  }

  .hero-content{
    width:calc(100% - 28px);
  }

  .vip-label{
    padding:6px 9px;
    font-size:8px;
  }

  .hero h1{
    font-size:38px;
    letter-spacing:-1.8px;
  }

  .hero p{
    font-size:11px;
    max-width:390px;
  }

  .category-strip{
    width:calc(100% - 24px);
    min-height:61px;
    gap:8px;
  }

  .category-strip-label{
    min-width:68px;
  }

  .category-strip-label span{
    font-size:7px;
  }

  .category-strip-label strong{
    font-size:11px;
  }

  .category-pill{
    padding:6px 9px;
    font-size:8px;
  }

  .container{
    width:calc(100% - 24px);
  }

  .page-heading{
    padding:26px 0 15px;

    align-items:flex-start;
    flex-direction:column;
  }

  .page-heading h2{
    font-size:23px;
  }

  .page-heading p{
    font-size:10px;
  }

  .sort-select{
    width:100%;
    height:40px;
  }

  .filter-bar{
    gap:6px;
  }

  .filter-main-btn,
  .quick-filter,
  .clear-filter{
    min-height:41px;
    padding:0 11px;
    font-size:10px;
  }

  .listing-grid{
    grid-template-columns:repeat(2,1fr);
    gap:9px;
  }

  .card-image{
    height:145px;
  }

  .card-body{
    padding:10px;
  }

  .card-title{
    font-size:12px;
  }

  .card-price{
    font-size:14px;
  }

  .card-meta{
    font-size:8px;
  }

  .location-grid{
    grid-template-columns:1fr;
  }

  .footer-inner{
    grid-template-columns:1fr;
    gap:25px;
    padding:35px 0;
  }

  .mobile-nav{
    position:fixed;
    z-index:2500;

    display:flex;

    left:0;
    right:0;
    bottom:0;

    height:72px;

    background:#fff;

    border-top:1px solid #e5e7eb;

    align-items:center;
    justify-content:space-around;

    box-shadow:0 -8px 25px rgba(0,0,0,.08);
  }

  .mobile-nav-item{
    width:20%;
    height:100%;

    border:0;
    background:transparent;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:4px;

    color:#697383;

    font-size:8px;
    font-weight:600;
  }

  .mobile-nav-item svg{
    width:21px;
    height:21px;

    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
  }

  .sell-nav{
    width:60px;
    height:60px;

    margin-top:-28px;

    border-radius:50%;

    background:var(--green);
    color:#fff;

    border:5px solid #fff;

    box-shadow:0 7px 22px rgba(22,163,74,.3);

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;
  }

  .sell-nav strong{
    font-size:25px;
    line-height:20px;
  }

  .sell-nav span{
    font-size:8px;
    font-weight:700;
  }

}


/* ================= SMALL MOBILE ================= */

@media(max-width:400px){

  .menu-btn,
  .top-location{
    width:39px;
    height:39px;
  }

  .logo{
    width:46px;
  }

  .logo img{
    width:45px;
  }

  .hero{
    height:285px;
  }

  .hero h1{
    font-size:34px;
  }

  .search-box input{
    font-size:9px;
  }

  .filter-drawer{
    width:96vw;
  }

  .drawer-header{
    padding-left:15px;
    padding-right:15px;
  }

  .drawer-body{
    padding-left:15px;
    padding-right:15px;
  }

  .drawer-footer{
    padding-left:15px;
    padding-right:15px;
  }

}


/* ================= HEIGHT SAFETY ================= */

@media(max-width:650px) and (max-height:650px){

  .drawer-header{
    padding-top:12px;
    padding-bottom:12px;
  }

  .drawer-header h3{
    font-size:18px;
  }

  .filter-title{
    min-height:48px;
  }

  .drawer-footer{
    padding-top:9px;
    padding-bottom:9px;
  }

  .drawer-clear,
  .apply-btn{
    height:44px;
  }

}
.drawer-footer {
  flex: 0 0 auto;
  position: relative;
  z-index: 20;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -5px 15px rgba(7, 21, 47, 0.06);
}

.apply-btn {
  flex: 1;
  min-height: 44px;
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.apply-btn span {
  font-size: 15px;
}

.apply-btn:hover {
  background: var(--green-dark);
}

.drawer-clear {
  width: 82px;
  min-width: 82px;
  height: 44px;
  min-height: 44px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 650px) {
  .drawer-footer {
    bottom: 72px;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  }

  .apply-btn,
  .drawer-clear {
    height: 42px;
    min-height: 42px;
  }
}

/* ================= MOBILE CATEGORY MENU ================= */
.mobile-menu-overlay{
  position:fixed; inset:0; z-index:4000;
  background:rgba(3,10,25,.58); opacity:0; visibility:hidden;
  pointer-events:none; transition:.25s ease;
}
.mobile-menu-overlay.show{opacity:1;visibility:visible;pointer-events:auto;}
.mobile-menu{
  position:fixed; top:0; left:0; bottom:0; z-index:4100;
  width:min(390px,88vw); background:#fff;
  transform:translateX(-105%); transition:transform .28s ease;
  display:flex; flex-direction:column; box-shadow:20px 0 50px rgba(0,0,0,.16);
}
.mobile-menu.open{transform:translateX(0);}
.mobile-menu-header{
  min-height:92px; padding:18px 22px; display:flex; align-items:center;
  justify-content:space-between; border-bottom:1px solid #edf0f3;
}
.mobile-brand{display:flex;align-items:center;gap:12px;}
.mobile-brand img{width:54px;height:46px;object-fit:contain;}
.mobile-brand strong{font-size:23px;color:#111827;}
.mobile-menu-header button{
  width:46px;height:46px;border:0;border-radius:50%;background:#f3f5f7;
  color:#111827;font-size:32px;line-height:1;
}
.mobile-menu-user{
  margin:18px 22px 12px;padding:18px;display:flex;align-items:center;gap:14px;
  border-radius:16px;background:#effdf4;border:1px solid #dcf7e5;
}
.mobile-user-icon{
  width:54px;height:54px;display:flex;align-items:center;justify-content:center;
  border-radius:14px;background:#fff;flex-shrink:0;
}
.mobile-user-icon svg{width:30px;height:30px;fill:none;stroke:var(--green);stroke-width:1.8;}
.mobile-menu-user strong{display:block;font-size:14px;}
.mobile-menu-user span{display:block;margin-top:5px;color:#7b8490;font-size:10px;}
.mobile-category-title{padding:10px 22px 8px;}
.mobile-category-title h3{margin-top:3px;font-size:18px;}
.mobile-category-list{
  flex:1;min-height:0;overflow-y:auto;padding:4px 14px 18px;
  -webkit-overflow-scrolling:touch;
}
.mobile-category-list a{
  display:flex;align-items:center;gap:13px;padding:11px 10px;margin:2px 0;
  border-radius:10px;color:#172033;font-size:12px;font-weight:650;
}
.mobile-category-list a img{width:27px;height:27px;object-fit:contain;flex-shrink:0;}
.mobile-category-list a:hover,.mobile-category-list a.active{background:#f0fdf4;color:var(--green);}
.mobile-menu-bottom{
  padding:14px 22px 20px;border-top:1px solid #edf0f3;display:grid;gap:10px;
}
.mobile-menu-bottom a{
  min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:11px;
  background:#111827;color:#fff;font-size:12px;font-weight:800;
}
.mobile-menu-bottom a:last-child{background:var(--green);}
@media(min-width:701px){.mobile-menu,.mobile-menu-overlay{display:none!important;}}
@media(max-width:700px){
  .menu-btn{display:flex;}
  .header-inner{padding:8px 12px;gap:7px;}
}


/* ================= GETTOSELL MAIN MOBILE SIDEBAR ================= */

.mobile-side-nav{
  flex:1;
  min-height:0;
  overflow-y:auto;
  padding:18px 22px;
  display:flex;
  flex-direction:column;
  gap:4px;
  -webkit-overflow-scrolling:touch;
}

.mobile-side-nav a{
  min-height:55px;
  display:flex;
  align-items:center;
  gap:17px;
  padding:0 8px;
  border-radius:10px;
  color:#172033;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:.2s ease;
}

.mobile-side-nav a span{
  width:22px;
  min-width:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--green);
  font-size:20px;
  line-height:1;
  font-weight:500;
}

.mobile-side-nav a:hover{
  background:#f0fdf4;
  color:var(--green);
}

.mobile-side-nav a:active{
  background:#eaf9ef;
}

@media (min-width:701px){
  .mobile-menu,
  .mobile-menu-overlay{
    display:none!important;
  }
}

@media (max-width:700px){
  .menu-btn{
    display:flex;
  }

  .header-inner{
    padding:8px 12px;
    gap:7px;
  }
}

@media (max-width:430px){
  .mobile-menu{
    width:min(390px,88vw);
  }

  .mobile-menu-header{
    min-height:92px;
    padding:18px 22px;
  }

  .mobile-menu-user{
    margin:18px 22px 12px;
  }

  .mobile-side-nav{
    padding:18px 22px;
  }

  .mobile-side-nav a{
    min-height:55px;
    font-size:14px;
  }
}

/* ================= SIDEBAR SCROLL FIX ================= */

@media (max-width:700px){

  /* Page ko background mein scroll nahi hone dena */
  html.sidebar-open{
    overflow:hidden !important;
    overscroll-behavior:none !important;
  }

  body.sidebar-open{
    overflow:hidden !important;
    overscroll-behavior:none !important;

    /* IMPORTANT:
       position:fixed nahi lagana,
       warna page khud neeche/jump kar sakta hai */
    position:relative !important;

    width:100% !important;
  }

  /* Sidebar fixed rahega */
  .mobile-menu{
    position:fixed !important;

    top:0 !important;
    left:0 !important;
    bottom:0 !important;

    width:min(390px,88vw) !important;

    height:100dvh !important;
    max-height:100dvh !important;

    display:flex !important;
    flex-direction:column !important;

    overflow:hidden !important;

    overscroll-behavior:none !important;

    /* Sidebar ke andar vertical touch scrolling */
    touch-action:pan-y !important;
  }

  /*
    SIRF YE AREA SCROLL HOGA
    Header + user area + bottom buttons fixed rahenge
  */
  .mobile-side-nav{
    flex:1 1 auto !important;
    min-height:0 !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;

    -webkit-overflow-scrolling:touch !important;

    overscroll-behavior:contain !important;

    touch-action:pan-y !important;

    scrollbar-width:auto !important;
  }

  /* Overlay khud scroll nahi hoga */
  .mobile-menu-overlay{
    touch-action:none !important;
    overscroll-behavior:none !important;
  }
}


/* ================= SIDEBAR LINKS ================= */

.mobile-side-nav a{
  flex-shrink:0;
}


/* ================= DESKTOP SAFETY ================= */

@media (min-width:701px){

  .mobile-menu,
  .mobile-menu-overlay{
    display:none !important;
  }
}
/* =========================================================
   PROPERTY PURPOSE BUTTONS
   Buy / Rent sit above the sorting control
========================================================= */
.heading-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}

.purpose-buttons{
  display:flex;
  align-items:center;
  gap:8px;
}

.purpose-btn{
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  min-height:40px;
  padding:0 18px;
  border-radius:10px;
  font:600 14px "Inter",sans-serif;
  cursor:pointer;
  transition:.18s ease;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}

.purpose-btn:hover{
  border-color:var(--green);
  color:var(--green-dark);
}

.purpose-btn.active{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}

@media (max-width:700px){
  .heading-actions{
    width:100%;
    align-items:stretch;
  }

  .purpose-buttons{
    width:100%;
  }

  .purpose-btn{
    flex:1;
  }

  .heading-actions .sort-select{
    width:100%;
  }
}
