
:root {
  --bg: #ffffff;
  --bg-soft: #fff8f1;
  --text: #111827;
  --muted: #6b7280;
  --card: rgba(255, 255, 255, 0.82);
  --border: rgba(255, 138, 0, 0.15);
  --orange: #ff8a00;
  --orange2: #ffb347;
  --orange3: #ff6f00;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --shadow: 0 22px 54px rgba(17, 24, 39, 0.08);
  --shadow-glow: 0 0 0 1px rgba(255, 138, 0, 0.08), 0 24px 60px rgba(255, 138, 0, 0.18);
}

[data-theme="dark"] {
  --bg: #09090b;
  --bg-soft: #0f172a;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --card: rgba(15, 23, 42, 0.82);
  --border: rgba(255, 179, 71, 0.2);
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(255, 179, 71, 0.12), 0 24px 60px rgba(255, 138, 0, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(255,138,0,.06), transparent 28%), var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 28px)); margin: 0 auto; }
.hidden-form { display: none; }

.navbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,138,0,.1);
}
[data-theme="dark"] .navbar { background: rgba(9,9,11,.76); }
.navbar-inner { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.navbar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.navbar-body { flex: 1; display: flex; align-items: center; gap: 14px; }
.brand img { width: 170px; height: auto; filter: drop-shadow(0 0 16px rgba(255,138,0,.22)); }
/* Dark mode logo: JS swaps to logo-dark.svg; CSS content swap as fallback for capable browsers */
[data-theme="dark"] .brand img { filter: drop-shadow(0 0 16px rgba(255,138,0,.4)); content: url('../images/logo-dark.svg'); }
.nav-search {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,.9); box-shadow: 0 10px 24px rgba(17,24,39,.05);
}
[data-theme="dark"] .nav-search { background: rgba(15,23,42,.9); }
.nav-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }

.nav-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 16px;
  border: 1px solid var(--border); background: rgba(255,255,255,.9);
  color: var(--text); cursor: pointer; box-shadow: var(--shadow);
}
[data-theme="dark"] .nav-toggle { background: rgba(15,23,42,.92); }
.nav-toggle i { font-size: 1.05rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: 0; border-radius: 999px; padding: .92rem 1.2rem;
  font-weight: 800; cursor: pointer; transition: .25s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange2)); }
.btn-light { color: var(--text); background: rgba(255,255,255,.88); border: 1px solid var(--border); }
[data-theme="dark"] .btn-light { background: rgba(15,23,42,.92); }
.btn-mini {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .72rem .95rem; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,.8); font-weight: 700;
  cursor: pointer; font-size: .88rem; color: var(--text); text-decoration: none;
  transition: .2s ease; white-space: nowrap;
}
.btn-mini:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.btn-mini.btn-share { background: rgba(255,138,0,.1); color: #b45309; border-color: rgba(255,138,0,.3); }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .8rem; border-radius: 999px;
  background: rgba(255,138,0,.09); color: #b45309; font-weight: 800; font-size: .86rem;
}
.glass, .card, .form-card, .page-head {
  background: var(--card); backdrop-filter: blur(18px); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.section { padding: 72px 0; }
.section-title { font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.08; margin: 0; letter-spacing: -.04em; }
.section-sub { margin: .6rem 0 0; color: var(--muted); max-width: 720px; }
.small { font-size: .92rem; color: var(--muted); }

.hero { position: relative; overflow: hidden; padding: 66px 0 30px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(22px); opacity: .6; pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.hero::before { width: 240px; height: 240px; background: radial-gradient(circle, var(--orange), transparent 70%); left: -80px; top: 70px; }
.hero::after { width: 340px; height: 340px; background: radial-gradient(circle, #ffd699, transparent 70%); right: -110px; bottom: -120px; animation-delay: -4s; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; margin: 12px 0 16px; letter-spacing: -.06em; }
.hero p { font-size: 1.04rem; color: var(--muted); max-width: 60ch; }
.hero-art { position: relative; }
.hero-art img { filter: drop-shadow(0 18px 50px rgba(255,138,0,.18)); }
.floating-card { position: absolute; right: 8%; top: 10%; padding: 14px 16px; border-radius: 18px; animation: float 8s ease-in-out infinite; }
.floating-card:nth-child(3) { left: 2%; bottom: 12%; top: auto; animation-delay: -2s; }

.search-panel {
  padding: 18px; border-radius: 28px; background: rgba(255,255,255,.8);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
[data-theme="dark"] .search-panel { background: rgba(15,23,42,.8); }
.search-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.search-field {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(255,138,0,.15);
  background: rgba(255,255,255,.95);
}
[data-theme="dark"] .search-field { background: rgba(2,6,23,.75); }
.search-field input, .search-field select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }

.chips, .keyword-chips, .area-grid, .categories-grid, .stats-grid, .testimonial-grid, .footer-grid {
  display: grid; gap: 14px;
}
.chips { grid-template-columns: repeat(auto-fit, minmax(122px, max-content)); margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1rem;
  border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid var(--border);
  font-weight: 700; transition: .25s ease;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.categories-grid { grid-template-columns: repeat(4, 1fr); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px;
  overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity;
}
.carousel::-webkit-scrollbar { height: 10px; }
.carousel::-webkit-scrollbar-thumb { background: rgba(255,138,0,.25); border-radius: 999px; }
.listing { scroll-snap-align: start; }
.listing img { border-radius: 20px; width: 100%; height: 200px; object-fit: cover; margin-bottom: 14px; background: rgba(255,138,0,.05); }

.card { border-radius: 24px; padding: 18px; position: relative; overflow: hidden; transition: .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.category-card { min-height: 146px; display: flex; flex-direction: column; justify-content: space-between; }
.icon-bubble {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,138,0,.13), rgba(255,179,71,.28)); color: #ea580c; font-size: 1.3rem;
}
.rating, .verified {
  display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .65rem; border-radius: 999px;
  font-weight: 800; font-size: .85rem;
}
.rating { background: rgba(16,185,129,.1); color: #047857; }
.verified { background: rgba(255,138,0,.12); color: #b45309; }

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.area-grid { grid-template-columns: repeat(6, 1fr); }
.area-btn {
  padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.88); border: 1px solid var(--border);
  text-align: center; font-weight: 700; transition: .25s ease;
}
.area-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }

.counter { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 900; letter-spacing: -.05em; }
.lead-banner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center;
  overflow: hidden; background: linear-gradient(135deg, rgba(255,138,0,.08), rgba(255,179,71,.14));
}
.lead-banner img { max-width: 420px; justify-self: end; }

.footer {
  padding: 56px 0 30px; border-top: 1px solid rgba(255,138,0,.1);
}
.footer-grid { grid-template-columns: 1.2fr .8fr .8fr .8fr; }
.footer h4 { margin: 0 0 10px; }
.footer-links { display: grid; gap: 8px; color: var(--muted); }

.modal {
  position: fixed; inset: 0; background: rgba(15,23,42,.58);
  display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100;
}
.modal.open { display: flex; animation: fadeIn .2s ease; }
.modal-card {
  width: min(960px, 100%); border-radius: 30px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.auth-card .modal-left { padding: 28px; background: linear-gradient(180deg, rgba(255,138,0,.12), rgba(255,179,71,.06)); }
.auth-card .modal-right { padding: 28px; }
@media (max-width: 640px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal-card { border-radius: 24px 24px 0 0 !important; grid-template-columns: 1fr !important; max-height: 92vh; overflow-y: auto; width: 100% !important; }
  .auth-card .modal-left { display: none; }
  .auth-card .modal-right { padding: 22px 18px 32px; }
  .tab { font-size: .82rem; padding: 7px 12px; }
  .input, select.input { font-size: 16px; }
}
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tabs { display: flex; gap: 10px; margin: 18px 0 16px; flex-wrap: wrap; }
.tab {
  padding: .72rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: transparent;
  color: var(--text); font-weight: 700; cursor: pointer;
}
.tab.active { background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #fff; border-color: transparent; }
.form-grid { display: grid; gap: 12px; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field-label { font-size: .92rem; font-weight: 700; color: var(--muted); }
.input, textarea.input, select.input {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border);
  background: rgba(255,255,255,.94); color: var(--text); outline: none;
}
[data-theme="dark"] .input, [data-theme="dark"] textarea.input, [data-theme="dark"] select.input { background: rgba(2,6,23,.8); }
textarea.input { resize: vertical; min-height: 120px; }
.form-card { border-radius: 28px; padding: 22px; }
.form-actions, .page-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.page-head {
  border-radius: 28px; padding: 22px; margin-bottom: 20px;
}
.page-head-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-width: 360px; }
.page-head-stats div {
  background: rgba(255,255,255,.55); border: 1px solid var(--border); border-radius: 18px; padding: 14px;
  display: grid; gap: 4px;
}
.page-head-stats strong { font-size: 1.2rem; }
.full-span { grid-column: 1 / -1; }
.alert {
  margin: 16px 0 0; padding: 14px 16px; border-radius: 18px; border: 1px solid transparent;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.alert.success { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.2); color: #065f46; }
.alert.warning { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.2); color: #92400e; }
.alert.error { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.2); color: #991b1b; }
.alert-close { border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: inherit; }

.business-top {
  display: grid; grid-template-columns: 1fr 330px; gap: 18px; align-items: start;
}
.business-hero {
  border-radius: 30px; padding: 22px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,138,0,.1), rgba(255,179,71,.16));
}
.business-hero h1 { margin: 10px 0; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.05em; }
.business-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--border); font-weight: 700;
}
.business-cover {
  border-radius: 28px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 16px;
}
.business-cover img { border-radius: 22px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.otp-info, .auth-message {
  border-radius: 18px; padding: 12px 14px; border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
}
.auth-points { display: grid; gap: 10px; margin-top: 18px; color: var(--muted); }
.auth-points div { display: flex; align-items: center; gap: 10px; }
.otp-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.link-btn { border: 0; background: transparent; color: var(--orange3); font-weight: 800; cursor: pointer; padding: 0; }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,138,0,.22); }

[data-theme="dark"] .glass, [data-theme="dark"] .card, [data-theme="dark"] .chip,
[data-theme="dark"] .area-btn, [data-theme="dark"] .page-head, [data-theme="dark"] .form-card,
[data-theme="dark"] .otp-info, [data-theme="dark"] .auth-message {
  background: rgba(15,23,42,.86);
}
[data-theme="dark"] .page-head-stats div { background: rgba(2,6,23,.35); }

/* Dark theme visibility fixes */
[data-theme="dark"] .btn-mini {
  background: rgba(255,255,255,.1);
  color: var(--text);
  border-color: rgba(255,255,255,.18);
}
[data-theme="dark"] .btn-mini:hover { background: rgba(255,255,255,.18); }
[data-theme="dark"] .btn-mini.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
[data-theme="dark"] .btn-mini.btn-share { background: rgba(255,138,0,.18); color: #ffb347; border-color: rgba(255,138,0,.35); }
[data-theme="dark"] .card h3, [data-theme="dark"] .card h2, [data-theme="dark"] .listing h3 { color: #f1f5f9; }
[data-theme="dark"] .small, [data-theme="dark"] .card .small { color: #94a3b8; }
[data-theme="dark"] .verified { background: rgba(255,138,0,.2); color: #fbbf24; }
[data-theme="dark"] .rating { background: rgba(16,185,129,.18); color: #34d399; }
[data-theme="dark"] .area-btn { color: #f1f5f9; }
[data-theme="dark"] .chip { color: #f1f5f9; }
[data-theme="dark"] .section-title { color: #f8fafc; }
[data-theme="dark"] .section-sub { color: #94a3b8; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1080px) {
  .hero-grid, .lead-banner, .modal-card, .footer-grid, .business-top { grid-template-columns: 1fr; }
  .categories-grid, .testimonial-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .search-row, .form-grid-2, .page-head, .page-head-stats { grid-template-columns: 1fr; }
  .page-head-stats { min-width: 0; }
  .navbar-body { width: 100%; flex-direction: column; align-items: stretch; }
  .nav-search { width: 100%; }
  .nav-actions { width: 100%; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 18px, 1200px); }
  .categories-grid, .testimonial-grid, .grid-4, .area-grid { grid-template-columns: 1fr; }
  .navbar-inner { align-items: stretch; flex-direction: column; gap: 10px; }
  .navbar-top { width: 100%; }
  .nav-toggle { display: inline-flex; }
  .navbar-body { display: none; width: 100%; padding: 12px 0 4px; }
  .navbar.open .navbar-body { display: flex; }
  .nav-actions { flex-direction: column; gap: 10px; }
  .btn { width: 100%; }
  .hero { padding-top: 44px; }
  .section { padding: 56px 0; }
  .business-top { gap: 14px; }
}

/* ── Hero Woman ──────────────────────────────────────────────────────── */
.hero-woman-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-woman-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(255,138,0,.22));
  animation: float 7s ease-in-out infinite;
}
.hero-stat-card {
  position: absolute;
  right: 2%;
  top: 14%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  animation: float 9s ease-in-out infinite;
  min-width: 170px;
}
.hero-stat-card--bottom {
  right: auto;
  left: 0%;
  top: auto;
  bottom: 12%;
  animation-delay: -3s;
}
.hero-stat-icon {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #ffb347);
  display: grid; place-items: center;
  color: #fff; font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-stat-card strong { font-size: 1.2rem; font-weight: 900; }

/* ── New Category Cards ──────────────────────────────────────────────── */
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); margin-bottom: 8px;
}
.categories-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  border-radius: 22px;
  padding: 22px 18px 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: .28s ease;
  overflow: hidden;
  text-decoration: none;
  min-height: 160px;
}
.cat-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: .08;
  transition: .28s ease;
}
.cat-card:hover { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(0,0,0,.13); }
.cat-card:hover::before { opacity: .16; }

/* 6 rotating colour palettes */
.cat-card--0 { background: linear-gradient(135deg,#fff8f0,#ffecdb); border: 1.5px solid #ffd4a8; }
.cat-card--0 .cat-icon { background: linear-gradient(135deg,#ff8a00,#ffb347); }
.cat-card--1 { background: linear-gradient(135deg,#f0f7ff,#dbeeff); border: 1.5px solid #a8d4ff; }
.cat-card--1 .cat-icon { background: linear-gradient(135deg,#2563eb,#60a5fa); }
.cat-card--2 { background: linear-gradient(135deg,#f0fff7,#d1fae5); border: 1.5px solid #6ee7b7; }
.cat-card--2 .cat-icon { background: linear-gradient(135deg,#059669,#34d399); }
.cat-card--3 { background: linear-gradient(135deg,#fdf4ff,#f3e8ff); border: 1.5px solid #d8b4fe; }
.cat-card--3 .cat-icon { background: linear-gradient(135deg,#7c3aed,#a78bfa); }
.cat-card--4 { background: linear-gradient(135deg,#fff1f2,#ffe4e6); border: 1.5px solid #fca5a5; }
.cat-card--4 .cat-icon { background: linear-gradient(135deg,#dc2626,#f87171); }
.cat-card--5 { background: linear-gradient(135deg,#fffbeb,#fef3c7); border: 1.5px solid #fcd34d; }
.cat-card--5 .cat-icon { background: linear-gradient(135deg,#d97706,#fbbf24); }

.cat-icon {
  width: 50px; height: 50px; border-radius: 16px;
  display: grid; place-items: center;
  color: #fff; font-size: 1.3rem;
  flex-shrink: 0; margin-bottom: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.cat-label {
  font-weight: 800; font-size: 1rem; color: #1a1a2e; line-height: 1.25;
}
.cat-desc {
  font-size: .8rem; color: #4b5563; line-height: 1.45; flex: 1;
}
.cat-arrow {
  margin-top: 6px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.06);
  display: grid; place-items: center;
  font-size: .75rem; color: var(--muted);
  transition: .25s ease;
  align-self: flex-end;
}
.cat-card:hover .cat-arrow {
  background: var(--primary); color: #fff;
  transform: translateX(3px);
}

@media(max-width:900px){
  .categories-grid-new { grid-template-columns: repeat(2,1fr); }
  .hero-stat-card { display: none; }
}
@media(max-width:480px){
  .categories-grid-new { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { min-height: 130px; padding: 16px 12px; }
}

/* ── Listing Grid (Search & Category pages) ────────────────────────── */
#listingGrid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  #listingGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  #listingGrid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  /* Horizontal card layout on mobile */
  #listingGrid .listing {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto;
    gap: 0 12px;
    align-items: start;
    padding: 14px;
  }
  #listingGrid .listing img {
    grid-row: 1 / 4;
    width: 90px;
    height: 90px;
    border-radius: 14px;
    margin-bottom: 0;
    object-fit: cover;
  }
  #listingGrid .listing .verified {
    font-size: .7rem;
    margin-bottom: 2px;
  }
  #listingGrid .listing h3 {
    font-size: .92rem;
    margin: 2px 0 3px;
    line-height: 1.3;
  }
  #listingGrid .listing .small {
    font-size: .76rem;
    color: var(--muted);
  }
  #listingGrid .listing .btn-row {
    margin-top: 8px;
    gap: 6px;
  }
  #listingGrid .listing .btn-mini {
    font-size: .78rem;
    padding: 5px 12px;
  }
}

/* ── App Mockup Image — shrink on mobile ────────────────────────────── */
.app-mockup-img {
  max-width: 220px;
  width: 100%;
  display: block;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .app-mockup-img { max-width: 150px; }
  .lead-banner { text-align: center; }
}

/* ── Listing Page Header (Search & Category) ────────────────────────── */
.listing-page-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,138,0,.13) 0%, rgba(255,179,71,.07) 100%);
  border: 1.5px solid rgba(255,138,0,.18);
  margin-bottom: 4px;
}
.listing-page-head__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: grid; place-items: center;
  font-size: 1.3rem; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255,138,0,.28);
}
.listing-page-head__text h1 {
  font-size: 1.25rem; font-weight: 800;
  margin: 0 0 4px; color: var(--text);
  line-height: 1.2;
}
.listing-page-head__text p {
  margin: 0; font-size: .85rem;
  color: var(--muted); line-height: 1.4;
}
.listing-page-head__text p strong {
  color: var(--orange3); font-weight: 800;
}
@media (max-width: 480px) {
  .listing-page-head { padding: 16px; gap: 14px; }
  .listing-page-head__icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; }
  .listing-page-head__text h1 { font-size: 1.1rem; }
}

/* ── WhatsApp Button ─────────────────────────────────────────────────── */
.btn-wa {
  background: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
}
.btn-wa:hover {
  background: #1ebe5d !important;
  box-shadow: 0 4px 14px rgba(37,211,102,.35) !important;
}
.btn-danger {
  background: linear-gradient(135deg, #ef4444, #f87171) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.btn-danger:hover {
  opacity: .88 !important;
  box-shadow: 0 4px 14px rgba(239,68,68,.35) !important;
}
[data-theme="dark"] .btn-danger {
  background: linear-gradient(135deg, #dc2626, #ef4444) !important;
}

/* ── Additional dark theme fixes ──────────────────────────────────────── */
[data-theme="dark"] .otp-info,
[data-theme="dark"] .auth-message { color: var(--text); }

.auth-message.success { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.3); color: #065f46; }
.auth-message.error   { background: rgba(239,68,68,.12);  border-color: rgba(239,68,68,.3);  color: #991b1b; }
.auth-message.warning { background: rgba(245,158,11,.13); border-color: rgba(245,158,11,.3); color: #92400e; }

[data-theme="dark"] .auth-message.success { background: rgba(16,185,129,.18); color: #6ee7b7; border-color: rgba(16,185,129,.35); }
[data-theme="dark"] .auth-message.error   { background: rgba(239,68,68,.18);  color: #fca5a5; border-color: rgba(239,68,68,.35); }
[data-theme="dark"] .auth-message.warning { background: rgba(245,158,11,.18); color: #fcd34d; border-color: rgba(245,158,11,.35); }

/* Modal dark theme */
[data-theme="dark"] .modal-card { background: #0f172a; color: var(--text); }
[data-theme="dark"] .modal-left { background: rgba(255,138,0,.06); }
[data-theme="dark"] .modal-right { background: #0f172a; }
[data-theme="dark"] .input { background: rgba(2,6,23,.8) !important; color: var(--text) !important; }
[data-theme="dark"] .field-label { color: var(--muted); }
[data-theme="dark"] .tabs { border-color: var(--border); }
[data-theme="dark"] .tab { color: var(--muted); }
[data-theme="dark"] .tab.active { color: var(--text); border-bottom-color: var(--primary, #ff8a00); }
[data-theme="dark"] .modal-top strong { color: var(--text); }
[data-theme="dark"] .hero h1 { color: var(--text); }
[data-theme="dark"] select.input option { background: #0f172a; color: var(--text); }

/* Category cards — always light bg, so text must always be dark */
.cat-card .cat-label { color: #1a1a2e !important; }
.cat-card .cat-desc  { color: #4b5563 !important; }
.cat-card .cat-arrow { color: #6b7280 !important; }
[data-theme="dark"] .cat-card--0 { background: linear-gradient(135deg,#fff8f0,#ffecdb); border-color: #ffd4a8; }
[data-theme="dark"] .cat-card--1 { background: linear-gradient(135deg,#f0f7ff,#dbeeff); border-color: #a8d4ff; }
[data-theme="dark"] .cat-card--2 { background: linear-gradient(135deg,#f0fff7,#d1fae5); border-color: #6ee7b7; }
[data-theme="dark"] .cat-card--3 { background: linear-gradient(135deg,#fdf4ff,#f3e8ff); border-color: #d8b4fe; }
[data-theme="dark"] .cat-card--4 { background: linear-gradient(135deg,#fff1f2,#ffe4e6); border-color: #fca5a5; }
[data-theme="dark"] .cat-card--5 { background: linear-gradient(135deg,#fffbeb,#fef3c7); border-color: #fcd34d; }
