*{
  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:1200;
  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;
}

.search-submit{
  flex:0 0 auto; min-height:34px; padding:0 16px; border:0; border-radius:9px;
  background:var(--green); color:#fff; font-size:12px; font-weight:800; white-space:nowrap;
}
.search-submit:hover{background:var(--green-dark);}


.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;
  display:block;
}

.hero-dots{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(7,21,47,.62);
  backdrop-filter:blur(8px);
}

.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;
}

/* ================= HERO INFORMATION TAB ================= */

.hero-info-section{
  background:#0b1730;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.hero-info{
  width:min(1200px,calc(100% - 40px));
  min-height:142px;
  margin:auto;
  padding:24px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  position:relative;
  overflow:hidden;
}

.hero-info:before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-70px;
  top:-100px;
  border-radius:50%;
  background:rgba(22,163,74,.12);
  pointer-events:none;
}

.hero-info-main{
  min-width:0;
  position:relative;
  z-index:1;
}

.hero-info .vip-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(22,163,74,.13);
  color:#bdeecf;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.1px;
}

.hero-info .vip-label span{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#27c96b;
  box-shadow:0 0 9px rgba(39,201,107,.8);
}

.hero-info h1{
  margin-top:8px;
  color:#fff;
  font-size:clamp(25px,3vw,38px);
  line-height:1.05;
  letter-spacing:-1.2px;
  font-weight:800;
}

.hero-info h1 em{
  color:#25c468;
  font-style:normal;
}

.hero-info p{
  max-width:700px;
  margin-top:8px;
  color:#aeb9c9;
  font-size:12px;
  line-height:1.55;
}

.hero-info-action{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  min-width:170px;
  min-height:50px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:#142342;
  color:#fff;
  font-size:11px;
  font-weight:800;
  transition:.2s ease;
}

.hero-info-action strong{
  color:#2bd06f;
  font-size:20px;
  line-height:1;
}

.hero-info-action:hover{
  background:#192c50;
  border-color:rgba(43,208,111,.4);
  transform:translateY(-1px);
}

/* ================= 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;
  direction:ltr;
  flex-direction:row;
  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:700px){

  .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;
  }
}
/* ================= HERO INFO MOBILE ================= */
@media (max-width:700px){
  .hero{
    height:270px;
  }

  .hero-dots{
    bottom:12px;
    padding:7px 9px;
  }

  .hero-info{
    width:100%;
    min-height:0;
    padding:18px 16px;
    align-items:stretch;
    flex-direction:column;
    gap:14px;
  }

  .hero-info h1{
    font-size:27px;
  }

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

  .hero-info-action{
    width:100%;
    min-height:46px;
  }
}

@media (max-width:400px){
  .hero{
    height:245px;
  }

  .hero-info{
    padding:16px 14px;
  }

  .hero-info h1{
    font-size:24px;
  }
}

/* =========================================================
   SEPARATE PAID / SPONSORED BANNER
   Category content stays completely separate below it.
========================================================= */
.paid-ad-section{
  width:min(1380px,calc(100% - 32px));
  margin:18px auto 0;
  position:relative;
}

.paid-ad-label{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 8px 3px;
  color:#7f8ba0;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.4px;
}

.paid-ad-label span{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#20c86a;
  box-shadow:0 0 9px rgba(32,200,106,.6);
}

.paid-ad-banner{
  height:310px;
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#07152f;
  box-shadow:0 18px 45px rgba(4,12,28,.18),0 0 0 1px rgba(8,24,50,.08);
}

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

.paid-ad-banner .hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.paid-ad-banner .hero-dots{
  bottom:13px;
}

/* The old category hero is intentionally no longer used as the ad container. */
.hero{
  display:none;
}

.hero-info-section{
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
}

@media (max-width:700px){
  .paid-ad-section{
    width:100%;
    margin:10px 0 0;
  }

  .paid-ad-label{
    margin:0 14px 6px;
    font-size:8px;
  }

  .paid-ad-banner{
    height:205px;
    border-radius:0;
    box-shadow:none;
  }

  .paid-ad-banner .hero-dots{
    bottom:10px;
  }

  .hero-info-section{
    margin-top:12px;
  }
}

@media (max-width:400px){
  .paid-ad-banner{
    height:190px;
  }
}


/* =========================================================
   MOBILE & ACCESSORIES DESCRIPTION
   ========================================================= */
.mobile-category-description{
    margin: 54px auto 0;
    padding: 0 0 58px;
}

.mobile-category-description-inner{
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 38px;
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 24px;
    background: linear-gradient(135deg,#f8fafc 0%,#ffffff 55%,#f0fdf4 100%);
    box-shadow: 0 18px 50px rgba(15,23,42,.08);
}

.mobile-category-description .section-eyebrow{
    color: #159447;
    font-weight: 800;
    letter-spacing: 1.8px;
    font-size: 11px;
}

.mobile-category-description h2{
    margin: 9px 0 12px;
    color: #0f172a;
    font-size: clamp(24px,3vw,36px);
    line-height: 1.15;
    font-weight: 900;
}

.mobile-category-description p{
    max-width: 980px;
    margin: 8px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}

@media (max-width:700px){
    .mobile-category-description{
        margin-top: 34px;
        padding-bottom: 32px;
    }
    .mobile-category-description-inner{
        margin: 0 16px;
        padding: 24px 20px;
        border-radius: 20px;
    }
    .mobile-category-description h2{
        font-size: 25px;
    }
    .mobile-category-description p{
        font-size: 13px;
        line-height: 1.7;
    }
}

/* =========================================================
   MOBILE FILTER POPUP FIX
   Filter mobile par side drawer ke bajaye premium popup/bottom-sheet
   ki tarah khulega. Bottom navigation visible rahegi.
========================================================= */
@media (max-width:700px){
  .filter-backdrop{
    z-index:3000 !important;
    background:rgba(5,12,25,.48) !important;
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
  }

  .filter-drawer{
    z-index:3100 !important;
    top:auto !important;
    right:auto !important;
    left:50% !important;
    bottom:84px !important;
    width:calc(100vw - 24px) !important;
    max-width:520px !important;
    height:min(78dvh,650px) !important;
    max-height:calc(100dvh - 104px) !important;
    border-radius:22px !important;
    overflow:hidden !important;
    transform:translate(-50%,110%) !important;
    transition:transform .28s ease, opacity .22s ease !important;
    opacity:0 !important;
    box-shadow:0 24px 70px rgba(0,0,0,.28) !important;
  }

  .filter-drawer.open{
    transform:translate(-50%,0) !important;
    opacity:1 !important;
  }

  .drawer-header{
    padding:16px 18px !important;
    background:linear-gradient(135deg,#ffffff,#f8fafc) !important;
  }

  .drawer-body{
    padding:4px 18px 18px !important;
  }

  .drawer-footer{
    position:relative !important;
    bottom:auto !important;
    z-index:20 !important;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
  }

  /* Bottom navigation apni jagah par hamesha rahe */
  .mobile-nav{
    z-index:3200 !important;
  }

  /* Popup ke neeche content ko lock rakho, lekin page jump na kare */
  html.no-scroll,
  body.no-scroll{
    overflow:hidden !important;
    overscroll-behavior:none !important;
  }
}

@media (max-width:400px){
  .filter-drawer{
    width:calc(100vw - 16px) !important;
    bottom:80px !important;
    height:min(80dvh,620px) !important;
    max-height:calc(100dvh - 94px) !important;
    border-radius:20px !important;
  }
}

/* =========================================================
   DESKTOP FILTER POPUP + HEADER VISIBILITY FIX
   Desktop par filter side se nahi niklega.
   Header ki Login / Post Ad line hamesha visible rahegi.
========================================================= */
@media (min-width:701px){
  .filter-backdrop{
    z-index:900 !important;
    background:rgba(3,10,25,.42) !important;
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
  }

  .filter-drawer{
    z-index:1050 !important;
    top:92px !important;
    right:auto !important;
    left:50% !important;
    bottom:30px !important;
    width:min(540px,calc(100vw - 48px)) !important;
    height:min(760px,calc(100vh - 122px)) !important;
    max-height:calc(100vh - 122px) !important;
    border-radius:20px !important;
    overflow:hidden !important;
    transform:translate(-50%,-18px) scale(.98) !important;
    opacity:0 !important;
    transition:transform .25s ease,opacity .2s ease !important;
    box-shadow:0 24px 70px rgba(0,0,0,.22) !important;
  }

  .filter-drawer.open{
    transform:translate(-50%,0) scale(1) !important;
    opacity:1 !important;
  }

  /* Header ko overlay se upar rakho */
  .header{
    z-index:1200 !important;
  }

  /* Header ke Login + Post Ad buttons kabhi hide na hon */
  .header .login-link,
  .header .post-btn{
    display:block !important;
    visibility:visible !important;
  }

  .header .post-btn{
    display:flex !important;
    align-items:center;
    justify-content:center;
  }
}


/* =========================================================
   FINAL SIDEBAR FIX — MOBILE + DESKTOP
   Only the side menu behavior is changed.
   Login / Create Account stay at the bottom and remain visible.
========================================================= */
.mobile-menu{
  display:flex;
  flex-direction:column;
  height:100dvh;
  max-height:100dvh;
  overflow:hidden;
}
.mobile-side-nav{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}
.mobile-menu-bottom{
  flex:0 0 auto !important;
  position:relative !important;
  z-index:30 !important;
  background:#fff !important;
}

/* Desktop: the same side menu is available and fills the full height. */
@media (min-width:701px){
  .menu-btn{
    display:flex !important;
  }
  .mobile-menu-overlay{
    display:block !important;
  }
  .mobile-menu{
    display:flex !important;
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    bottom:0 !important;
    width:min(420px,88vw) !important;
    height:100dvh !important;
    max-height:100dvh !important;
    z-index:4100 !important;
  }
  .mobile-menu-bottom{
    padding-bottom:22px !important;
  }
}

/* Small screens: keep the original full-height drawer behavior. */
@media (max-width:700px){
  .mobile-menu{
    height:100dvh !important;
    max-height:100dvh !important;
  }
}


/* Keep the search action visible on narrow screens; preserve horizontal category order. */
@media (max-width:600px){
 .header-inner{gap:7px;padding:9px 10px;flex-wrap:nowrap;}
 .search-box{min-width:0;flex:1 1 0;height:44px;padding:0 7px 0 10px;gap:4px;}
 .search-box input{min-width:0;width:100%;font-size:12px;padding-left:5px;}
 .search-submit{min-height:32px;padding:0 9px;font-size:11px;}
 .category-pills{direction:ltr;flex-direction:row;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;}
}
