@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sansita:wght@700;800;900&display=swap');

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

:root {
  --ink:        #0f0f0f;
  --ink-2:      #3a3a3a;
  --ink-3:      #6b7280;
  --ink-4:      #9ca3af;
  --bg:         #fafaf8;
  --bg-2:       #f3f3f0;
  --white:      #ffffff;
  --accent:     #C8941B;
  --accent-lt:  #FBF3DC;
  --accent-dk:  #9C700D;
  --green:      #16a34a;
  --green-lt:   #dcfce7;
  --amber:      #d97706;
  --amber-lt:   #fef3c7;
  --red:        #dc2626;
  --red-lt:     #fee2e2;
  --border:     #e5e5e3;
  --border-dk:  #d1d1ce;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 12px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 16px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --r:          8px;
  --r-lg:       14px;
  --r-xl:       20px;
  --always-dark: #0f0f0f;
}

/* ─── DARK THEME ─────────────────────────── */
[data-theme="dark"] {
  --ink:        #f2f1ee;
  --ink-2:      #d4d2cc;
  --ink-3:      #a3a099;
  --ink-4:      #726f68;
  --bg:         #121212;
  --bg-2:       #1b1b1a;
  --white:      #1a1a19;
  --accent:     #E8B23D;
  --accent-lt:  #2c2312;
  --accent-dk:  #F3C868;
  --green:      #4ade80;
  --green-lt:   #0f2b1a;
  --amber:      #fbbf24;
  --amber-lt:   #2b2210;
  --red:        #f87171;
  --red-lt:     #2c1414;
  --border:     #2a2a28;
  --border-dk:  #3b3a37;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.25);
  --shadow:     0 4px 14px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.3);
  --shadow-lg:  0 16px 44px rgba(0,0,0,.5), 0 4px 14px rgba(0,0,0,.35);
}
[data-theme="dark"] body { background: var(--bg); }
[data-theme="dark"] .navbar { background: rgba(15,15,15,.86); border-bottom-color: var(--border); }
[data-theme="dark"] .tbl tr:hover td { background: #202020; }
[data-theme="dark"] select.form-control,
[data-theme="dark"] .search-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a099' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

html { font-size: 17px; scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── CONTAINER ─────────────────────────── */
/* Tightened from 1400px/48px so content isn't spread edge-to-edge on wide screens */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,250,248,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 92px;
}
.navbar-brand {
  font-family: 'Sansita', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.navbar-brand .dot { color: var(--accent); }
/* Logo swap: light-theme logo (with black text) hides in dark mode,
   gold-only logo (no black elements) shows instead so it stays visible. */
.navbar-brand .logo-img-dark { display: none; }
[data-theme="dark"] .navbar-brand .logo-img-light { display: none; }
[data-theme="dark"] .navbar-brand .logo-img-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 18px; border-radius: 7px;
  font-size: 1rem; font-weight: 500;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav-links a:hover  { background: var(--bg-2); color: var(--ink); }
.nav-links a.active { background: var(--ink);  color: var(--white); }
.nav-links a.active.nav-pill { background: var(--accent); color: #ffffff; }
.nav-pill {
  padding: 9px 20px; border-radius: 7px;
  font-size: 1rem; font-weight: 600;
  background: var(--accent); color: #ffffff !important;
  transition: background .15s;
}
.nav-pill:hover { background: var(--accent-dk); color: #ffffff !important; }

.nav-right { display: flex; align-items: center; gap: 10px; }

/* ─── THEME TOGGLE ───────────────────────── */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border-dk);
  background: var(--bg-2); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); background: var(--accent-lt); color: var(--accent-dk); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.theme-toggle-dark {
  border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); color: rgba(255,255,255,.8);
}
.theme-toggle-dark:hover { border-color: var(--accent); background: rgba(232,178,61,.16); color: var(--accent); }

/* ─── NAV AUTH (sign in / register / account menu) ───────── */
.nav-auth { display: flex; align-items: center; gap: 8px; }
.nav-auth-link {
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
  text-decoration: none; padding: 8px 10px; border-radius: var(--r);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-auth-link:hover { background: var(--bg-2); color: var(--ink); }

.nav-user-menu { position: relative; }
.nav-user-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-2); border: 1.5px solid var(--border-dk);
  border-radius: 999px; padding: 5px 12px 5px 5px;
  font-family: 'Inter', sans-serif; font-size: .86rem; font-weight: 600;
  color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s;
}
.nav-user-btn:hover { border-color: var(--accent); }
.nav-user-btn svg { color: var(--ink-3); transition: transform .15s; }
.nav-user-menu.open .nav-user-btn svg { transform: rotate(180deg); }
.nav-user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; flex-shrink: 0;
}
.nav-user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.nav-user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 10px; display: none; z-index: 40;
}
.nav-user-menu.open .nav-user-dropdown { display: block; }
.nav-user-email {
  font-size: .78rem; color: var(--ink-3); padding: 4px 8px 10px;
  border-bottom: 1px solid var(--border); margin-bottom: 8px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-user-logout {
  width: 100%; text-align: left; background: none; border: none;
  padding: 8px; border-radius: var(--r); font-family: 'Inter', sans-serif;
  font-size: .86rem; font-weight: 600; color: var(--red); cursor: pointer;
  transition: background .15s;
}
.nav-user-logout:hover { background: var(--red-lt); }
.nav-user-my-listings {
  display: block; width: 100%; text-align: left; background: none; border: none;
  padding: 8px; border-radius: var(--r); font-family: 'Inter', sans-serif;
  font-size: .86rem; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: background .15s; text-decoration: none;
}
.nav-user-my-listings:hover { background: var(--accent-lt); color: var(--accent); }
@media (max-width: 760px) {
  .navbar .inner { height: auto; flex-wrap: wrap; row-gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .navbar-brand img { height: 44px !important; }
  .nav-right { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  .nav-links { flex-wrap: wrap; gap: 4px; }
  .nav-links a { padding: 7px 12px; font-size: .88rem; }
  .nav-pill { padding: 8px 14px; font-size: .88rem; }
  .nav-auth { gap: 6px; }
}
@media (max-width: 720px) {
  .nav-auth-link { padding: 8px 8px; }
  .nav-user-name { display: none; }
}

/* ─── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 24px; border-radius: var(--r); border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
  white-space: nowrap; text-decoration: none;
}
.btn-primary   { background: var(--accent);  color: #fff; }
.btn-primary:hover  { background: var(--accent-dk); }
.btn-dark      { background: var(--always-dark); color: #fff; }
.btn-dark:hover     { background: var(--ink-2); }
.btn-ghost     { background: transparent; color: var(--ink-2); border: 1.5px solid var(--border-dk); }
.btn-ghost:hover    { background: var(--bg-2); border-color: var(--ink-3); }
.btn-success   { background: var(--green);   color: #fff; }
.btn-success:hover  { background: #15803d; }
.btn-danger    { background: var(--red);     color: #fff; }
.btn-danger:hover   { background: #b91c1c; }
.btn-sm  { padding: 7px 14px; font-size: .875rem; }
.btn-lg  { padding: 15px 36px; font-size: 1.1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ─── FORM CONTROLS ──────────────────────── */
.form-control {
  width: 100%; padding: 10px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: .9rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,148,27,.18);
}
.form-control::placeholder { color: var(--ink-4); }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px; cursor: pointer;
}
textarea.form-control { resize: vertical; min-height: 110px; line-height: 1.6; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3);
}
.required { color: var(--red); }

/* ─── BADGES ─────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 20px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
}
.badge-verified  { background: var(--green-lt); color: #166534; }
.badge-pending   { background: var(--amber-lt); color: #92400e; }
.badge-approved  { background: var(--green-lt); color: #166534; }
.badge-rejected  { background: var(--red-lt);   color: #991b1b; }
.badge-cat {
  background: var(--accent-lt); color: var(--accent);
  font-size: .75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
}

/* ─── HERO ───────────────────────────────── */
/* Reduced top/bottom padding from 120px/96px for a less spaced-out feel */
.hero {
  background: var(--always-dark);
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(200,148,27,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200,148,27,.12) 0%, transparent 60%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(232,178,61,.35) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .inner { position: relative; z-index: 1; }
.hero-orb {
  position: absolute; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(232,178,61,.55), rgba(232,178,61,0) 70%);
  filter: blur(2px); pointer-events: none;
}
.hero-orb-1 { width: 340px; height: 340px; top: -120px; right: -60px; opacity: .55; }
.hero-orb-2 { width: 180px; height: 180px; bottom: -40px; right: 22%; opacity: .35; }
.hero-map {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: .85;
  box-shadow: inset 0 0 0 1px rgba(232,178,61,.35);
}
.hero-map svg { width: 100%; height: 100%; display: block; }
@media (max-width: 760px) {
  .hero-map { opacity: .6; }
}
.hero-spark {
  position: absolute; z-index: 1; opacity: .5; pointer-events: none;
  color: #E8B23D;
}
/* extra floating directory-themed icons (search / pin / verified / star / storefront) */
.hero-float {
  position: absolute; z-index: 1; pointer-events: none;
  color: #E8B23D;
}
.hf-inner { animation: heroBob 4.4s ease-in-out infinite; opacity: .6; }
@keyframes heroBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}
.hero-dot {
  position: absolute; z-index: 1; pointer-events: none;
  border-radius: 50%;
  background: #E8B23D;
  opacity: .45;
  animation: heroBob 5s ease-in-out infinite;
}
@media (max-width: 760px) {
  .hero-float, .hero-dot { display: none; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 18px; border-radius: 20px;
  font-size: .95rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
}
.hero-eyebrow-highlight {
  color: #0f0f0f;
  background: #E8B23D;
  padding: 2px 10px;
  margin-left: 2px;
  border-radius: 12px;
  font-weight: 800;
}
.hero h1 {
  font-family: 'Sansita', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.04em;
  max-width: 820px;
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: #E8B23D; }
.hero p {
  font-size: 1.2rem; color: rgba(255,255,255,.65);
  max-width: 520px; margin-bottom: 40px; line-height: 1.7;
}

/* ─── HERO MAP: animated India outline + pin-drop ── */
#indiaDrawIn {
  animation: drawIndia 3.2s ease-out forwards, glowPulse 3s 3.2s ease-in-out infinite;
}
@keyframes drawIndia { to { stroke-dashoffset: 0; } }
@keyframes glowPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #indiaDrawIn { animation: none; stroke-dashoffset: 0; opacity: .8; }
}

/* ambient green glow, bottom-right, blends into the stat strip */
.hero-orb-3 {
  width: 300px; height: 300px; right: -60px; bottom: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(74,222,128,.28), rgba(74,222,128,0) 70%);
  opacity: .55;
}

/* ─── SEARCH BOX ─────────────────────────── */
.search-wrap {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 8px 8px 8px 24px;
  display: flex; gap: 12px; align-items: center;
  max-width: 840px;
  box-shadow: var(--shadow-lg);
}
.search-wrap .keyword-input {
  flex: 1; border: none; outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem; color: var(--ink);
  background: transparent;
}
.search-wrap .keyword-input::placeholder { color: var(--ink-4); }
.search-divider {
  width: 1px; height: 28px; background: var(--border); flex-shrink: 0;
}
.search-wrap select {
  border: none; outline: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1rem; color: var(--ink-2);
  background: transparent; padding: 0 32px 0 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  appearance: none;
}
.search-wrap .btn { flex-shrink: 0; border-radius: 14px; padding: 13px 28px; font-size: 1rem; }

/* ─── STAT STRIP ─────────────────────────── */
.stat-strip {
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 56px; padding: 28px 0 0;
}
.stat-strip .inner { display: flex; gap: 56px; }
.stat-strip .stat-item { text-align: left; }
.stat-strip .stat-num {
  font-family: 'Sansita', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: #fff;
}
.stat-strip .stat-lbl { font-size: .9rem; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ─── SECTION ────────────────────────────── */
/* Reduced from 72px/48px */
.section { padding: 48px 0; }
.section-sm { padding: 32px 0; }
.section-hd { margin-bottom: 32px; }
.section-hd h2 {
  font-family: 'Sansita', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; letter-spacing: -.025em;
  color: var(--ink);
}
.section-hd p { color: var(--ink-3); margin-top: 8px; font-size: .95rem; }
.section-hd-row {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 16px;
}

/* ─── CATEGORY GRID ──────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}
.cat-tile {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 14px 18px;
  text-align: center; cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  display: block; color: var(--ink);
}
.cat-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,148,27,.12), var(--shadow);
  transform: translateY(-2px);
}
.cat-tile .cat-em   { font-size: 2rem; margin-bottom: 10px; display: block; }
.cat-tile .cat-name { font-size: .85rem; font-weight: 600; color: var(--ink); }
.cat-tile .cat-n    { font-size: .75rem; color: var(--ink-4); margin-top: 3px; }

/* ─── BUSINESS CARDS ─────────────────────── */
.biz-list { display: flex; flex-direction: column; gap: 1px; }
.biz-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px; align-items: start;
  transition: box-shadow .15s, border-color .15s;
  text-decoration: none; color: inherit;
  margin-bottom: 10px;
}
.biz-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-dk);
}
.biz-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.biz-card-body h3 {
  font-size: .975rem; font-weight: 700;
  color: var(--ink); margin-bottom: 5px;
  line-height: 1.3;
}
.biz-card-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px; margin-bottom: 8px;
}
.biz-card-meta .loc {
  font-size: .78rem; color: var(--ink-3);
  display: flex; align-items: center; gap: 3px;
}
.biz-card-body p {
  font-size: .82rem; color: var(--ink-3); line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.biz-tag {
  font-size: .72rem; font-weight: 500;
  background: var(--bg-2); color: var(--ink-3);
  padding: 2px 8px; border-radius: 20px;
  border: 1px solid var(--border);
}
.biz-card-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px; min-width: 90px;
}

/* ─── FEATURED CARD GRID (HOME) ─────────── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.feat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .18s, transform .18s, border-color .18s;
  text-decoration: none; color: inherit;
}
.feat-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-dk);
  transform: translateY(-3px);
}
.feat-card-top { display: flex; align-items: flex-start; gap: 13px; }
.feat-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.feat-card-top h3 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.feat-card-top .loc { font-size: .75rem; color: var(--ink-3); }
.feat-card > p { font-size: .8rem; color: var(--ink-3); line-height: 1.6; }
.feat-card-foot {
  margin-top: auto;
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ─── LISTINGS PAGE ──────────────────────── */
.listings-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px; align-items: start;
  padding: 32px 0 56px;
}
.sidebar {
  position: sticky; top: 76px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px;
}
.sidebar-hd {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.sidebar-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 7px; cursor: pointer;
  font-size: .85rem; font-weight: 500; color: var(--ink-2);
  transition: background .12s;
  border: none; background: none; width: 100%; text-align: left;
}
.sidebar-item:hover  { background: var(--bg-2); }
.sidebar-item.active { background: var(--accent-lt); color: var(--accent); font-weight: 600; }
.sidebar-item .sidebar-count {
  font-size: .72rem; color: var(--ink-4);
  background: var(--bg-2); padding: 1px 7px;
  border-radius: 10px;
}
.sidebar-item.active .sidebar-count { background: var(--accent); color: #fff; }
.sidebar-divider { height: 1px; background: var(--border); margin: 14px 0; }

.results-hd {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
  flex-wrap: wrap; gap: 12px;
}
.results-count { font-size: .85rem; color: var(--ink-3); }

.search-bar-inline {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.search-bar-inline .inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 10px; align-items: end;
}
.search-bar-inline .form-group label { color: var(--ink-3); }

/* ─── PAGINATION ─────────────────────────── */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; }
.pag-btn {
  width: 36px; height: 36px; border-radius: 7px;
  border: 1.5px solid var(--border);
  background: var(--white); cursor: pointer;
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  transition: all .12s;
  display: flex; align-items: center; justify-content: center;
}
.pag-btn:hover { border-color: var(--accent); color: var(--accent); }
.pag-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ─── EMPTY STATE ────────────────────────── */
.empty {
  text-align: center; padding: 56px 24px;
  border: 1.5px dashed var(--border);
  border-radius: var(--r-xl);
  background: var(--white);
}
.empty .empty-ico { font-size: 3rem; margin-bottom: 16px; }
.empty h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.empty p  { font-size: .875rem; color: var(--ink-3); margin-bottom: 20px; }

/* ─── BUSINESS DETAIL ────────────────────── */
.detail-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.breadcrumb { font-size: .82rem; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--ink-2); font-weight: 500; }

.detail-hero-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.detail-hero-inner {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px; align-items: start;
}
.detail-logo {
  width: 80px; height: 80px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; flex-shrink: 0;
}
.detail-hero-info h1 {
  font-family: 'Sansita', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; letter-spacing: -.025em; margin-bottom: 8px;
}
.detail-hero-info .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.detail-hero-info .meta-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: .82rem; color: var(--ink-3);
}
.detail-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px; padding: 32px 0 56px;
  align-items: start;
}
.detail-main { display: flex; flex-direction: column; gap: 20px; }
.detail-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
}
.detail-card h2 {
  font-size: .875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); margin-bottom: 14px;
}
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.location-grid .loc-item label {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-4); display: block; margin-bottom: 3px;
}
.location-grid .loc-item span { font-size: .9rem; font-weight: 600; color: var(--ink); }
.map-box {
  background: var(--bg-2); border: 1px dashed var(--border-dk);
  border-radius: var(--r); height: 150px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-4); font-size: .82rem; margin-top: 16px;
}

/* ── Location pin picker (submit / edit forms) ── */
.loc-picker {
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
}
.loc-picker-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px; border-bottom: 1px solid var(--border);
  background: var(--white);
}
.loc-picker-toolbar .form-control {
  flex: 1 1 200px; min-width: 140px;
}
.loc-picker-map {
  width: 100%; height: 260px; background: var(--bg-2);
  /* Establish our own stacking context so Leaflet's internal z-indices
     (controls/panes go up to 1000) are contained inside this box and
     can never climb above the sticky navbar (z-index: 200). */
  position: relative; z-index: 1; isolation: isolate;
}
.loc-picker-map .leaflet-container { font-family: inherit; }
.loc-picker-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  padding: 8px 10px; background: var(--white);
  border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--ink-3);
}
.loc-picker-coords { font-weight: 600; color: var(--ink-2); }
.loc-picker-coords .lp-unset { color: var(--ink-4); font-weight: 500; font-style: italic; }
.loc-picker-hint {
  font-size: .78rem; color: var(--ink-4); margin-top: 8px; line-height: 1.5;
}
.loc-picker-status { font-size: .76rem; margin-top: 4px; min-height: 1em; }
.loc-picker-status.error { color: #dc2626; }
.loc-picker-status.ok { color: #166534; }
.contact-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  position: sticky; top: 76px;
}
.contact-sidebar h2 {
  font-size: .875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); margin-bottom: 16px;
}
.contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.contact-row:last-of-type { border-bottom: none; }
.contact-ic {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.contact-row .label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-4); }
.contact-row a, .contact-row span { font-size: .88rem; font-weight: 600; color: var(--ink); word-break: break-all; }
.contact-row a:hover { color: var(--accent); }
.cta-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.cta-stack .btn { justify-content: center; }

/* ─── SUBMIT FORM ─────────────────────────── */
.submit-page { padding: 44px 0 64px; }
.submit-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.submit-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
}
.submit-card h2 {
  font-family: 'Sansita', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 6px;
}
.submit-card .sub-lbl { color: var(--ink-3); font-size: .9rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-msg {
  padding: 12px 16px; border-radius: var(--r);
  font-size: .875rem; line-height: 1.6;
  display: none;
}
.form-msg.success { background: var(--green-lt);  color: #166534; border: 1px solid #bbf7d0; display: block; }
.form-msg.error   { background: var(--red-lt);    color: #fecaca; border: 1px solid #fecaca;  display: block; }
.form-section-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-4);
  border-top: 1px solid var(--border);
  padding-top: 20px; margin-top: 6px;
  grid-column: 1 / -1;
}

/* ─── AUTH PAGES (sign in / register) ─────── */
.auth-page {
  padding: 64px 0 90px;
  min-height: calc(100vh - 400px);
  display: flex; align-items: center; justify-content: center;
}
.auth-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  width: 100%; max-width: 420px;
}
.auth-card .top-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); margin-bottom: 10px;
}
.auth-card h2 {
  font-family: 'Sansita', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px;
}
.auth-card .sub-lbl { color: var(--ink-3); font-size: .9rem; margin-bottom: 26px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-pwd-wrap { position: relative; }
.auth-pwd-wrap input { padding-right: 44px; }
.auth-pwd-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--ink-4); font-size: .9rem; padding: 4px;
  transition: color .12s;
}
.auth-pwd-toggle:hover { color: var(--ink-2); }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-switch {
  text-align: center; margin-top: 22px;
  font-size: .86rem; color: var(--ink-3);
}
.auth-switch a { color: var(--accent); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-hint { font-size: .78rem; color: var(--ink-4); margin-top: -8px; }

/* ─── AUTH GATE (submit page, signed-out) ─── */
.auth-gate-wrap { display: flex; justify-content: center; padding: 8px 0 24px; }
.auth-gate-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

/* ─── PHOTO UPLOAD (submit form) ─────────── */
.photo-upload-zone {
  border: 1.5px dashed var(--border-dk);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.photo-upload-zone:hover,
.photo-upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-lt);
}
.photo-upload-zone .puz-icon { font-size: 1.8rem; margin-bottom: 8px; }
.photo-upload-zone .puz-title { font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.photo-upload-zone .puz-sub   { font-size: .76rem; color: var(--ink-4); margin-top: 4px; }
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.photo-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-2);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb .pt-remove {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(15,15,15,.65); color: #fff;
  border: none; cursor: pointer; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.photo-thumb .pt-remove:hover { background: var(--red); }
.photo-thumb .pt-cover {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(15,15,15,.65); color: #fff;
  font-size: .64rem; font-weight: 600; text-align: center;
  padding: 2px 0; letter-spacing: .03em; text-transform: uppercase;
}
.photo-upload-hint { font-size: .76rem; color: var(--red); margin-top: 8px; }

/* ─── PHOTO GALLERY (business detail page) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.gallery-grid a {
  display: block; aspect-ratio: 4 / 3;
  border-radius: var(--r); overflow: hidden;
  border: 1.5px solid var(--border);
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .2s;
}
.gallery-grid a:hover img { transform: scale(1.05); }

/* ─── PHOTO THUMB (listing cards) ─────────── */
.biz-row-accent.has-photo,
.grid-icon.has-photo {
  background-size: cover; background-position: center; font-size: 0;
}

.info-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  position: sticky; top: 76px;
}
.info-sidebar h3 { font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.step-list { display: flex; flex-direction: column; gap: 14px; }
.step-item { display: flex; gap: 12px; align-items: flex-start; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.step-item h4 { font-size: .875rem; font-weight: 600; margin-bottom: 3px; }
.step-item p  { font-size: .78rem; color: var(--ink-3); line-height: 1.5; }
.info-note {
  margin-top: 20px; padding: 14px; border-radius: var(--r);
  background: var(--amber-lt); border: 1px solid #fde68a;
  font-size: .78rem; color: #78350f; line-height: 1.6;
}

/* ─── ADMIN LOGIN ─────────────────────────── */
.login-page {
  min-height: 100vh; background: var(--always-dark);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.login-card {
  background: var(--white); border-radius: var(--r-xl);
  padding: 44px 40px; width: 100%; max-width: 400px;
  box-shadow: var(--shadow-lg);
}
.login-logo {
  font-family: 'Sansita', sans-serif;
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); text-align: center; margin-bottom: 8px;
}
.login-logo .dot { color: var(--accent); }
.login-card h2 {
  text-align: center; font-size: .875rem;
  color: var(--ink-3); margin-bottom: 32px; font-weight: 400;
}
.login-card .form-group { margin-bottom: 16px; }
.pwd-wrap { position: relative; }
.pwd-wrap .form-control { padding-right: 44px; }
.pwd-toggle {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--ink-4); font-size: .9rem; padding: 4px;
  transition: color .12s;
}
.pwd-toggle:hover { color: var(--ink-2); }
.login-hint { text-align: center; margin-top: 18px; font-size: .8rem; color: var(--ink-4); }
.login-hint code {
  background: var(--bg-2); padding: 2px 6px;
  border-radius: 4px; font-size: .78rem; color: var(--ink-2);
}

/* ─── ADMIN PANEL ─────────────────────────── */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 60px); }
.admin-sidebar {
  background: #0f0f0f; padding: 24px 0;
  border-right: 1px solid #1e1e1e;
}
.admin-sidebar .brand {
  font-family: 'Sansita', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: #fff; padding: 0 20px 20px;
  border-bottom: 1px solid #1e1e1e;
}
.admin-sidebar .brand .dot { color: var(--accent); }
.admin-sidebar .brand small { display: block; font-family: 'Inter', sans-serif; font-size: .7rem; color: #444; font-weight: 400; margin-top: 3px; }
.admin-nav { padding: 16px 12px 0; }
.admin-nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 7px;
  font-size: .845rem; font-weight: 500;
  color: #777; transition: all .12s;
  margin-bottom: 2px; text-decoration: none;
}
.admin-nav a:hover  { background: #1a1a1a; color: #ccc; }
.admin-nav a.active { background: #1e1e1e; color: #fff; }
.admin-nav .n-badge {
  margin-left: auto; background: var(--accent);
  color: #fff; font-size: .68rem; font-weight: 700;
  padding: 1px 6px; border-radius: 10px;
}
.admin-main { background: var(--bg); padding: 32px; overflow: auto; }
.admin-pg-hd {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 28px;
}
.admin-pg-hd h1 {
  font-family: 'Sansita', sans-serif;
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em;
}

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 28px; }
.stat-box {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  display: flex; align-items: center; gap: 14px;
}
.stat-box .ico {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.ico-blue  { background: var(--accent-lt); }
.ico-green { background: var(--green-lt); }
.ico-amber { background: var(--amber-lt); }
.ico-red   { background: var(--red-lt); }
.stat-box .val { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.stat-box .lbl { font-size: .75rem; color: var(--ink-3); margin-top: 3px; }

/* Table */
.table-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.table-card-hd {
  padding: 16px 20px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.table-card-hd h2 { font-size: .95rem; font-weight: 700; }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  background: var(--bg); padding: 10px 16px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); text-align: left;
  border-bottom: 1px solid var(--border);
}
.tbl td {
  padding: 13px 16px; font-size: .855rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle; color: var(--ink-2);
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #fafafa; }
.tbl td strong { color: var(--ink); font-weight: 600; }
.tbl td small  { color: var(--ink-4); font-size: .75rem; }
.act-row { display: flex; gap: 5px; flex-wrap: wrap; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 1000;
  align-items: center; justify-content: center;
}
.modal-box {
  background: var(--white); border-radius: var(--r-xl);
  padding: 32px; width: 440px; max-width: 90vw;
  box-shadow: var(--shadow-lg);
}
.modal-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.modal-box p  { font-size: .875rem; color: var(--ink-3); line-height: 1.6; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }
.detail-modal-box {
  background: var(--white); border-radius: var(--r-xl);
  padding: 32px; width: 580px; max-width: 92vw;
  margin: 40px auto; box-shadow: var(--shadow-lg);
}
.dm-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dm-hd h3 { font-size: 1.1rem; font-weight: 700; }
.dm-close { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--ink-3); padding: 4px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dg-item label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); display: block; margin-bottom: 3px; }
.dg-item span, .dg-item p { font-size: .875rem; color: var(--ink-2); }
.dg-full { grid-column: 1 / -1; }
.dm-actions { margin-top: 22px; display: flex; gap: 8px; justify-content: flex-end; padding-top: 16px; border-top: 1px solid var(--border); }

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--always-dark); color: rgba(255,255,255,.5);
  padding: 48px 0 24px; margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 32px;
}
footer h4 {
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: rgba(255,255,255,.85); margin-bottom: 14px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul a { font-size: .845rem; color: rgba(255,255,255,.45); transition: color .12s; }
footer ul a:hover { color: rgba(255,255,255,.85); }
.footer-brand {
  font-family: 'Sansita', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: #fff; margin-bottom: 12px;
}
.footer-brand .dot { color: var(--accent); }
footer .footer-desc { font-size: .845rem; line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.55);
  transition: background .15s, color .15s, transform .15s;
}
.footer-social a:hover { background: var(--accent); color: #16130a; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px; font-size: .78rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}

/* ─── DECORATIVE GRAPHICS ─────────────────── */
.dot-grid-bg { position: relative; }
.dot-grid-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(200,148,27,.22) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: auto; display: block; }
[data-theme="dark"] .wave-divider svg path { fill: var(--bg); }

/* ─── UTILITIES ──────────────────────────── */
.hidden { display: none !important; }
.text-muted { color: var(--ink-3); }
.fw-600 { font-weight: 600; }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 960px) {
  .listings-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-hero-inner { grid-template-columns: 64px 1fr; }
  .submit-layout { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-wrap { grid-template-columns: 1fr; }
  .search-bar-inline .inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .hero p { font-size: 1.02rem; }
  .search-wrap { flex-direction: column; align-items: stretch; padding: 12px; border-radius: var(--r-lg); }
  .search-wrap .keyword-input,
  .search-wrap select,
  .search-wrap .btn { width: 100%; }
  .search-divider { display: none; }
  .stat-strip .inner { flex-wrap: wrap; gap: 20px 32px; }
  .biz-card { grid-template-columns: 48px 1fr; }
  .biz-card-right { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .search-bar-inline .inner { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: clamp(1.6rem, 10vw, 2.2rem); }
}