
/* ── RESET & ROOT ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:        #F97316;
  --orange-hover:  #EA6C0A;
  --orange-light:  #FFF4ED;
  --orange-mid:    #FFEDD5;
  --orange-border: #FED7AA;
  --dark:          #111827;
  --dark-2:        #1F2937;
  --gray:          #6B7280;
  --gray-light:    #9CA3AF;
  --border:        #E5E7EB;
  --bg:            #F9FAFB;
  --white:         #FFFFFF;
  --green:         #25D366;
  --font-display:  'Syne', sans-serif;
  --font-body:     'Plus Jakarta Sans', sans-serif;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     14px;
  --radius-xl:     20px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }

/* ── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-fadeup { animation: fadeUp .5s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* ── TOP ANNOUNCEMENT BAR ────────────────────────────────────────────────── */
.announcement-bar {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  padding: 7px 16px;
  font-weight: 500;
  letter-spacing: .01em;
}
.announcement-bar span { color: var(--orange); }
.announcement-bar a { color: var(--orange); text-decoration: underline; margin-left: 6px; }

/* ── NAVBAR ──────────────────────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand span { color: var(--dark); }

.nav-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  max-width: 560px;
}
.nav-search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.nav-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--dark);
  outline: none;
}
.nav-search input::placeholder { color: var(--gray-light); }
.nav-search-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.nav-search-btn:hover { background: var(--orange-hover); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-sell {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-light);
  color: var(--orange);
  border: 1.5px solid var(--orange-border);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: all .2s;
}
.btn-sell:hover { background: var(--orange); color: var(--white); }
.btn-login {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.btn-login:hover { background: var(--dark-2); }
.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: 15px;
  transition: all .2s;
  position: relative;
}
.nav-icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.nav-badge {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px;
  background: var(--orange); color: var(--white);
  border-radius: 50%; font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── CATEGORY TABS ───────────────────────────────────────────────────────── */
.cat-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.cat-tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-tabs-inner::-webkit-scrollbar { display: none; }
.cat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
  cursor: pointer;
}
.cat-tab i { font-size: 13px; }
.cat-tab:hover { color: var(--orange); }
.cat-tab.active { color: var(--orange); border-bottom-color: var(--orange); font-weight: 600; }

/* ── CONTAINER ───────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HERO SECTION ────────────────────────────────────────────────────────── */
.hero {
  background: var(--white);
  padding: 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 0;
  min-height: 380px;
  align-items: stretch;
}
.hero-content {
  padding: 52px 40px 52px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-mid);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  width: fit-content;
  animation: fadeUp .5s ease forwards;
}
.hero-tag i { font-size: 11px; }
.hero-title {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -.03em;
  animation: fadeUp .5s ease .1s both;
}
.hero-title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  opacity: .3;
}
.hero-sub {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 420px;
  animation: fadeUp .5s ease .2s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  animation: fadeUp .5s ease .3s both;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(249,115,22,.3);
}
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,.4); }
.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.hero-stats {
  display: flex;
  gap: 28px;
  animation: fadeUp .5s ease .4s both;
}
.hero-stat-item { }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.hero-stat-label { font-size: 11px; color: var(--gray); margin-top: 2px; }
.hero-stat-divider { width: 1px; background: var(--border); align-self: stretch; }

.hero-visual {
  background: linear-gradient(135deg, #FFF4ED 0%, #FFEDD5 50%, #FED7AA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 32px;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(249,115,22,.1);
  border-radius: 50%;
  top: -80px; right: -80px;
}
.hero-visual::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(249,115,22,.07);
  border-radius: 50%;
  bottom: -60px; left: -40px;
}
.hero-cards-stack {
  position: relative;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}
.hero-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 200px;
  overflow: hidden;
}
.hero-card-img {
  height: 130px;
  background: linear-gradient(135deg, #FFE0C4 0%, #FFD0A0 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.hero-card-body { padding: 12px; }
.hero-card-price { font-size: 16px; font-weight: 800; color: var(--orange); }
.hero-card-title { font-size: 11px; color: var(--dark); font-weight: 600; margin-top: 2px; }
.hero-card-loc { font-size: 10px; color: var(--gray); margin-top: 2px; }

.hero-card-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-card-float.top-right {
  top: 20px; right: -20px;
  animation: slideIn .6s ease .6s both;
}
.hero-card-float.bottom-left {
  bottom: 30px; left: -30px;
  animation: slideIn .6s ease .8s both;
}
.float-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.float-text-main { font-size: 11px; font-weight: 700; color: var(--dark); }
.float-text-sub  { font-size: 10px; color: var(--gray); }

/* ── BANNER AD ───────────────────────────────────────────────────────────── */
.banner-ad-wrap { padding: 16px 0; }
.banner-ad {
  background: linear-gradient(90deg, #111827 0%, #1F2937 100%);
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #374151;
}
.banner-ad-left { display: flex; align-items: center; gap: 12px; }
.banner-ad-icon {
  width: 38px; height: 38px;
  background: rgba(249,115,22,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 16px;
  flex-shrink: 0;
}
.banner-ad-text { color: var(--white); font-size: 13px; }
.banner-ad-text strong { color: var(--orange); }
.banner-ad-tag {
  font-size: 9px; color: #6B7280;
  background: rgba(255,255,255,.07);
  padding: 2px 8px; border-radius: 10px;
  margin-left: 8px;
}
.banner-ad-cta {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.banner-ad-cta:hover { background: var(--orange-hover); }

/* ── SECTION HEADER ──────────────────────────────────────────────────────── */
.section-wrap { padding: 32px 0; }
.section-wrap + .section-wrap { padding-top: 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title-group {}
.section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
}
.section-subtitle { font-size: 12px; color: var(--gray); margin-top: 2px; }
.section-link {
  font-size: 13px; font-weight: 600; color: var(--orange);
  display: flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.section-link:hover { gap: 8px; }

/* ── CATEGORIES GRID ─────────────────────────────────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.cat-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(249,115,22,.12);
  transform: translateY(-2px);
}
.cat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: transform .2s;
}
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-name { font-size: 12px; font-weight: 600; color: var(--dark); }
.cat-count { font-size: 10px; color: var(--gray); }

/* ── PERSONALISED BAR ────────────────────────────────────────────────────── */
.personal-bar {
  background: var(--white);
  border: 1.5px solid var(--orange-border);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.personal-icon {
  width: 34px; height: 34px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 14px;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.personal-text { flex: 1; }
.personal-text-main { font-size: 13px; font-weight: 600; color: var(--dark); }
.personal-text-sub { font-size: 11px; color: var(--gray); margin-top: 1px; }
.personal-badge {
  font-size: 10px; font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid var(--orange-border);
  flex-shrink: 0;
}
.personal-change {
  font-size: 11px; color: var(--orange);
  border: none; background: none;
  cursor: pointer; text-decoration: underline;
  font-family: var(--font-body);
  flex-shrink: 0;
}

/* ── PRODUCT CARDS GRID ──────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .22s;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  border-color: #D1D5DB;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: transform .3s;
}
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}
.badge-premium { background: var(--orange); color: var(--white); }
.badge-new { background: #D1FAE5; color: #065F46; }
.badge-used { background: #F3F4F6; color: #6B7280; }

.product-card-save {
  position: absolute;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 13px;
  transition: all .2s;
  opacity: 0;
}
.product-card:hover .product-card-save { opacity: 1; }
.product-card-save:hover { color: #EF4444; }
.product-card-save.saved { color: #EF4444; opacity: 1; }

.product-card-body { padding: 12px; }
.product-price { font-size: 15px; font-weight: 800; color: var(--orange); margin-bottom: 3px; font-family: var(--font-display); }
.product-title {
  font-size: 12px; font-weight: 600; color: var(--dark);
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-desc {
  font-size: 11px; color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-loc {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: var(--gray);
}
.product-time { font-size: 10px; color: var(--gray-light); }

/* ── SECOND BANNER ────────────────────────────────────────────────────────── */
.banner-ad-green {
  background: linear-gradient(90deg, #064E3B 0%, #065F46 100%);
  border-color: #047857;
}
.banner-ad-green .banner-ad-icon { background: rgba(37,211,102,.2); color: var(--green); }
.banner-ad-green .banner-ad-tag { color: #6EE7B7; }
.banner-ad-green .banner-ad-cta { background: var(--green); }
.banner-ad-green .banner-ad-cta:hover { background: #1EB85A; }

/* ── HOW IT WORKS ────────────────────────────────────────────────────────── */
.how-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 36px 32px;
  margin: 0 0 32px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.how-item { text-align: center; }
.how-num {
  width: 44px; height: 44px;
  background: var(--orange-light);
  border: 2px solid var(--orange-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800; color: var(--orange);
  margin: 0 auto 14px;
}
.how-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.how-desc { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* ── TRENDING SEARCHES ───────────────────────────────────────────────────── */
.trending-wrap { margin-bottom: 32px; }
.trending-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.trending-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px; font-weight: 500; color: var(--dark);
  cursor: pointer;
  transition: all .2s;
}
.trending-chip:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.trending-chip i { font-size: 11px; color: var(--orange); }

/* ── TRUST BAR ───────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 0;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 42px; height: 42px;
  background: var(--orange-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 18px;
  flex-shrink: 0;
}
.trust-text-main { font-size: 13px; font-weight: 700; color: var(--dark); }
.trust-text-sub { font-size: 11px; color: var(--gray); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #374151;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  color: var(--orange); margin-bottom: 12px;
}
.footer-about { font-size: 12px; color: #9CA3AF; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  background: #374151; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #9CA3AF; font-size: 14px;
  transition: all .2s;
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #D1D5DB; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 12px; color: #9CA3AF; transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #6B7280;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #6B7280; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ── SEARCH AUTOCOMPLETE ─────────────────────────────────────────────────── */
.autocomplete-wrap { position: relative; flex: 1; max-width: 560px; }
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
  display: none;
}
.autocomplete-dropdown.open { display: block; animation: fadeIn .15s ease; }
.autocomplete-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  cursor: pointer; font-size: 13px;
  transition: background .15s;
}
.autocomplete-item:hover { background: var(--bg); }
.autocomplete-item i { color: var(--gray); width: 14px; text-align: center; }
.autocomplete-item span b { color: var(--orange); }
.autocomplete-section { font-size: 10px; font-weight: 700; color: var(--gray-light); padding: 8px 14px 4px; text-transform: uppercase; letter-spacing: .05em; }
.autocomplete-divider { height: 1px; background: var(--border); }

/* ── SKELETON LOADING ────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
  background-size: 400px 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding: 40px 0; }
  .hero-title { font-size: 36px; }
  .cats-grid { grid-template-columns: repeat(5, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-inner { gap: 10px; }
  .btn-sell span, .btn-login span { display: none; }
  .hero-title { font-size: 28px; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 480px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 18px; }
}

:root {
    --primary: #cc5500; 
    --primary-dark: #a84400;
    --light: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #777;
    --gray-dark: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--gray-light);
}

/* NAVBAR */
.navbar {
    background: var(--light);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex: 1;
}

.navbar .nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
    font-size: 15px;
}

.navbar .nav-links li a:hover {
    color: var(--primary);
}

.navbar .post-btn {
    background: var(--primary);
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.navbar .post-btn:hover {
    background: var(--primary-dark);
}

/* HERO SEARCH */
.hero-search {
    background: var(--light);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.search-bar {
    width: 100%;
    max-width: 900px;
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.search-bar input[type="text"] {
    flex: 2;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    min-width: 0;
}

.location-select-wrap {
    flex: 1;
    position: relative;
}

.search-bar select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    cursor: pointer;
    background: #fff;
}

/* LOCATION DROPDOWN CARD */
.location-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 350px;
    max-width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 6px;
    display: none;
    padding: 10px;
    z-index: 1000;
}

.location-dropdown input {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.location-dropdown .states {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 10px;
}

.location-dropdown .states div {
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.location-dropdown .states div:hover {
    background: var(--primary);
    color: white;
}

/* LOGIN CARD SECTION */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary);
}

.login-card p {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
}

.forgot-password {
    text-align: right;
    font-size: 13px;
    margin-bottom: 20px;
}

.forgot-password a {
    text-decoration: none;
    color: var(--primary);
}

.forgot-password a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: var(--primary-dark);
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.signup-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* TABLET */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo button"
            "nav nav";
        align-items: center;
        gap: 12px;
    }

    .navbar .logo {
        grid-area: logo;
    }

    .navbar .post-btn {
        grid-area: button;
    }

    .navbar .nav-links {
        grid-area: nav;
        justify-content: center;
        gap: 12px;
    }

    .hero-search {
        padding: 15px;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar input[type="text"],
    .location-select-wrap,
    .search-bar select {
        width: 100%;
    }

    .location-dropdown {
        width: 100%;
    }

    .location-dropdown .states {
        grid-template-columns: repeat(2, 1fr);
    }

    .login-card {
        padding: 30px 20px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .navbar {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "button"
            "nav";
        text-align: center;
    }

    .navbar .logo {
        font-size: 20px;
    }

    .navbar .post-btn {
        width: 100%;
        text-align: center;
    }

    .navbar .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar .nav-links li a {
        font-size: 14px;
    }

    .hero-search {
        padding: 12px;
    }

    .search-bar input[type="text"],
    .search-bar select {
        font-size: 15px;
        padding: 11px 12px;
    }

    .location-dropdown .states {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 24px 16px;
    }
}

@media (max-width: 768px) {
  .announcement-bar {
    font-size: 11px;
    line-height: 1.4;
    padding: 8px 12px;
  }

  .nav-inner {
    height: auto;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "search search";
    align-items: center;
    gap: 12px;
  }

  .nav-brand {
    grid-area: brand;
    font-size: 20px;
    min-width: 0;
  }

  .nav-actions {
    grid-area: actions;
    justify-self: end;
    gap: 8px;
  }

  .autocomplete-wrap {
    grid-area: search;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nav-search {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nav-search input {
    min-width: 0;
    width: 100%;
  }

  .nav-search-btn {
    padding: 10px 14px;
    flex-shrink: 0;
  }

  .btn-sell {
    padding: 8px 12px;
  }

  .btn-sell span {
    display: inline;
  }

  .autocomplete-dropdown {
    left: 0;
    right: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 10px 12px;
    gap: 10px;
  }

  .nav-brand {
    font-size: 18px;
  }

  .nav-search input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .nav-search-btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .btn-sell {
    padding: 8px 10px;
    font-size: 12px;
  }

  .btn-sell span {
    display: none;
  }
}

html, body {
  overflow-x: hidden;
}

.navbar,
.nav-inner,
.autocomplete-wrap,
.nav-search,
.container {
  max-width: 100%;
}

@media (max-width: 768px) {
  .btn-sell span {
    display: inline;
  }

  .btn-sell {
    font-size: 12px;
    padding: 8px 12px;
    gap: 4px;
  }

  .btn-sell span::after {
    content: " Selling";
  }
}

@media (max-width: 768px) {
  .btn-sell span {
    display: inline;
  }

  .btn-sell span {
    font-size: 0; /* hide original text */
  }

  .btn-sell span::after {
    content: "Start Selling";
    font-size: 12px;
  }

  .btn-sell {
    padding: 8px 12px;
  }
}

.cat-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.cat-tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.cat-tabs-inner::-webkit-scrollbar {
  height: 6px;
}

.cat-tabs-inner::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

.cat-tabs-inner::-webkit-scrollbar-track {
  background: transparent;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}

.cat-tab i {
  font-size: 13px;
}

.cat-tab:hover {
  color: var(--orange);
}

.cat-tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
  font-weight: 600;
}

@media (max-width: 768px) {
  .cat-tabs-inner {
    padding: 0 14px;
  }

  .cat-tab {
    padding: 11px 14px;
    font-size: 12px;
  }

  .cat-tab i {
    font-size: 12px;
  }
}
