/* =====================================================
   Zuri Connect — Theme CSS  v1.4 (Nigeria Edition)
   ===================================================== */

:root {
  --cream: #FFFDF7;
  --charcoal: #1F2937;
  --coral: #B85C00;
  --teal: #006B3C;
  --gold: #D97706;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --muted: #6B7280;
  --teal-light: #E8F5EE;
  --coral-light: #FEF5E7;
  --radius-card: 20px;
  --shadow-card: 0 4px 16px rgba(31,41,55,.05);
  --shadow-hover: 0 10px 28px rgba(31,41,55,.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-bottom: 84px;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 480px) { .container { padding: 0 20px; } }
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 56px 0; } }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.section-title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.section-link  { color: var(--coral); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(255,253,247,.92);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 64px; display: flex; align-items: center; gap: 12px; }
@media (min-width: 768px) { .header-inner { height: 72px; gap: 16px; } }

.logo {
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px;
  letter-spacing: -0.01em; flex-shrink: 1; min-width: 0; max-width: 100%; overflow: hidden;
}
@media (min-width: 480px) { .logo { font-size: 20px; } }
.logo-text {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.logo-badge {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), #00A859);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0,107,60,.28); flex-shrink: 0;
}
@media (min-width: 768px) { .logo-badge { width: 36px; height: 36px; border-radius: 12px; } }

/* Custom uploaded site logo (Customizer) */
.logo-custom { min-width: 0; max-width: 140px; }
@media (min-width: 480px) { .logo-custom { max-width: 180px; } }
.logo-custom .custom-logo-link { display: block; min-width: 0; }
.logo-custom img.custom-logo {
  display: block; height: auto; max-height: 36px; width: auto; max-width: 100%;
  object-fit: contain;
}
@media (min-width: 768px) { .logo-custom img.custom-logo { max-height: 44px; } }

.nav-desktop { display: none; gap: 28px; margin: 0 auto; }
.nav-link {
  background: none; border: none; font-weight: 600; color: #374151;
  padding: 8px 4px; position: relative; font-size: 15px; transition: color .15s;
}
.nav-link:hover { color: var(--charcoal); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 480px) { .header-actions { gap: 10px; } }

/* ── Buttons ── */
.btn {
  border: none; border-radius: 16px; padding: 11px 16px;
  font-weight: 700; font-size: 14px;
  transition: transform .1s ease, box-shadow .2s ease, background .2s;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer;
}
@media (min-width: 480px) { .btn { padding: 12px 18px; font-size: 15px; } }
.btn:active { transform: scale(.97); }
.btn-coral { background: var(--coral); color: white; box-shadow: 0 8px 20px rgba(184,92,0,.22); }
.btn-coral:hover { box-shadow: 0 10px 24px rgba(184,92,0,.32); }
.btn-ghost { background: var(--white); border: 1px solid var(--border); color: var(--charcoal); }
.btn-ghost:hover { background: var(--cream); }
.btn-teal { background: var(--teal); color: white; box-shadow: 0 8px 20px rgba(0,107,60,.22); }
.btn-teal:hover { box-shadow: 0 10px 24px rgba(0,107,60,.32); }

.hamburger {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: white;
  display: grid; place-items: center; flex-shrink: 0;
}
@media (min-width: 768px) { .hamburger { display: none; } }

/* ── Mobile Menu ── */
.mobile-menu {
  overflow: hidden; max-height: 0; transition: max-height .3s ease;
  background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border);
}
.mobile-menu.open { max-height: 460px; }
.mobile-nav { display: grid; padding: 12px 16px 20px; gap: 8px; }
@media (min-width: 480px) { .mobile-nav { padding: 12px 20px 20px; } }
.mobile-nav a, .mobile-nav button {
  text-align: left; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--border);
  background: white; font-weight: 600; font-size: 15px; color: var(--charcoal); display: block;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: var(--cream); }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .hide-mobile { display: inline-flex; }
}
.hide-mobile { display: none; }

/* ── Hero ── */
.hero { padding: 48px 0 24px; text-align: center; }
@media (min-width: 768px) { .hero { padding: 64px 0 32px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--border); padding: 7px 12px;
  border-radius: 999px; font-weight: 600; font-size: 12px; color: #14532D;
  box-shadow: 0 4px 12px rgba(0,0,0,.04); margin-bottom: 14px;
}
@media (min-width: 480px) { .eyebrow { font-size: 13px; padding: 8px 14px; margin-bottom: 16px; } }
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.05; letter-spacing: -0.02em; margin: 16px auto 12px;
  font-weight: 800; max-width: 900px;
}
.hero p { color: var(--muted); font-size: clamp(.95rem, 2.5vw, 1.15rem); margin: 0 auto; max-width: 640px; }

/* ── Search ── */
.search-wrap {
  margin: 28px auto 0; max-width: 860px;
  background: white; border: 1px solid var(--border); border-radius: 20px; padding: 10px;
  box-shadow: 0 16px 40px rgba(31,41,55,.06);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
@media (min-width: 640px) { .search-wrap { padding: 12px; gap: 10px; border-radius: 24px; } }
.search-input {
  flex: 1 1 200px; display: flex; align-items: center; gap: 10px;
  background: var(--cream); border: 1px solid var(--border); border-radius: 14px; padding: 0 12px;
}
@media (min-width: 480px) { .search-input { border-radius: 16px; padding: 0 14px; } }
.search-input input {
  border: none; background: transparent; outline: none; height: 44px; width: 100%;
  font-size: 15px; color: var(--charcoal); font-family: inherit;
}
@media (min-width: 480px) { .search-input input { height: 48px; } }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none;
  background: var(--cream); border: 1px solid var(--border); border-radius: 14px;
  padding: 0 34px 0 12px; height: 46px;
  font-weight: 600; font-size: 13px; color: #374151; min-width: 120px;
  font-family: inherit; cursor: pointer;
}
@media (min-width: 480px) { .select select { border-radius: 16px; padding: 0 36px 0 14px; height: 50px; font-size: 14px; min-width: 140px; } }
.select svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: .7; }

/* ── Pills ── */
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px auto 0; padding: 0 4px; }
@media (min-width: 480px) { .pills { gap: 10px; margin-top: 18px; } }
.pill {
  border: 1px solid var(--border); background: white; padding: 8px 14px;
  border-radius: 999px; font-weight: 600; font-size: 13px; color: #374151; transition: .2s;
  font-family: inherit;
}
@media (min-width: 480px) { .pill { padding: 10px 16px; } }
.pill:hover, .pill.active { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }

/* ── Carousel ── */
.carousel { position: relative; margin-top: 12px; }
.carousel-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
@media (min-width: 480px) { .carousel-track { gap: 16px; } }
.carousel-track::-webkit-scrollbar { display: none; }

.card-snap { flex: 0 0 86%; scroll-snap-align: start; }
@media (min-width: 480px)  { .card-snap { flex-basis: 300px; } }
@media (min-width: 640px)  { .card-snap { flex-basis: 320px; } }

.carousel-arrow {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border);
  background: white; display: none; place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.08); z-index: 2; cursor: pointer;
}
.carousel-arrow.left { left: -8px; }
.carousel-arrow.right { right: -8px; }
@media (min-width: 1024px) { .carousel-arrow { display: grid; } }

/* Carousel dots indicator */
.carousel-dots {
  display: flex; justify-content: center; gap: 6px; margin-top: 12px;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--border);
  transition: background .2s, width .2s; border: none; padding: 0; cursor: pointer;
}
.carousel-dot.active { background: var(--teal); width: 20px; border-radius: 4px; }

/* ── Cards ── */
.feature-card, .business-card, .event-card, .job-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover, .business-card:hover, .event-card:hover, .job-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
}

/* Feature card media — real featured image, neutral fallback if none */
.feature-card-media {
  height: 160px; width: 100%; position: relative; overflow: hidden;
  background: #F1F2F4;
}
.feature-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.feature-card-fallback {
  height: 100%; width: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 800; color: #9AA0A8; background: #F1F2F4;
}
.feature-body { padding: 14px; }
@media (min-width: 480px) { .feature-body { padding: 16px; } }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feature-name { font-weight: 800; font-size: 16px; margin: 0; }
@media (min-width: 480px) { .feature-name { font-size: 17px; } }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.location-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 12px; color: #064E3B; background: var(--teal-light);
  padding: 5px 9px; border-radius: 999px; font-weight: 600;
}
@media (min-width: 480px) { .location-tag { font-size: 13px; padding: 6px 10px; } }

/* ── Business Grid — 2-col mobile, 3-col wide ── */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px)  { .business-grid { gap: 16px; } }
@media (min-width: 960px)  { .business-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ── Business Card — text-only, no logo/avatar ── */
.business-card {
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  position: relative; border-top: 3px solid var(--teal);
}
@media (min-width: 480px) { .business-card { padding: 20px; gap: 12px; } }

/* Category + verified row */
.bc-meta-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.bc-cat {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--teal); background: var(--teal-light);
  padding: 4px 9px; border-radius: 999px;
}
@media (min-width: 480px) { .bc-cat { font-size: 11px; padding: 4px 10px; } }
.bc-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: white;
  background: var(--teal); padding: 4px 8px; border-radius: 999px;
}
@media (min-width: 480px) { .bc-verified { font-size: 11px; } }

.badge { font-size: 11px; font-weight: 700; color: var(--teal); background: var(--teal-light); padding: 4px 8px; border-radius: 999px; }
@media (min-width: 480px) { .badge { font-size: 12px; padding: 5px 10px; } }

.bc-name { font-weight: 800; margin: 2px 0 0; font-size: 14px; line-height: 1.25; }
@media (min-width: 480px) { .bc-name { font-size: 16px; } }
.bc-name a { color: inherit; }
.bc-name a:hover { color: var(--teal); }

.bc-location {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--muted);
}
@media (min-width: 480px) { .bc-location { font-size: 13px; } }

.bc-desc {
  color: var(--muted); font-size: 12px; margin: 0; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; flex: 1;
}
@media (min-width: 480px) { .bc-desc { font-size: 13px; } }

.bc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
@media (min-width: 480px) { .bc-actions { gap: 8px; } }
.btn-wa {
  background: #F0FDF4; color: var(--teal); border: 1px solid #A7F3D0;
  border-radius: 12px; font-size: 11px; padding: 8px 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-weight: 700;
}
@media (min-width: 480px) { .btn-wa { border-radius: 14px; font-size: 13px; padding: 10px 12px; } }
.btn-wa:hover { background: var(--teal-light); }
.btn-view {
  background: white; border: 1px solid var(--border); color: #374151;
  border-radius: 12px; font-size: 11px; padding: 8px 8px; text-align: center; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (min-width: 480px) { .btn-view { border-radius: 14px; font-size: 13px; padding: 10px 12px; } }
.btn-view:hover { background: var(--cream); color: var(--teal); border-color: var(--teal); }

/* ── Save Button ── */
.save-btn {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--border); background: white;
  display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
@media (min-width: 480px) { .save-btn { top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; } }
.save-btn:hover, .save-btn.saved { background: var(--teal-light); border-color: var(--teal); }

/* ── Verified Badge ── */
.verified-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: white;
}

/* ── Events ── */
.events-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px;
}
@media (min-width: 480px) { .events-track { gap: 16px; } }
.events-track::-webkit-scrollbar { display: none; }
.event-card { min-width: 280px; flex: 0 0 auto; display: flex; scroll-snap-align: start; }
@media (min-width: 480px) { .event-card { min-width: 300px; } }
.event-date {
  width: 80px; flex-shrink: 0;
  background: linear-gradient(180deg, #FFFBF5, #FFF7ED);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-right: 1px solid var(--border);
}
@media (min-width: 480px) { .event-date { width: 92px; } }
.event-day { font-size: 26px; font-weight: 800; color: var(--coral); line-height: 1; }
@media (min-width: 480px) { .event-day { font-size: 28px; } }
.event-mon { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: #92400E; }
.event-body { padding: 12px 14px; flex: 1; display: flex; gap: 10px; align-items: center; }
.event-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
@media (min-width: 480px) { .event-img { width: 64px; height: 64px; border-radius: 14px; } }
.event-info { flex: 1; }
.event-title { font-weight: 700; margin: 0 0 4px; font-size: 14px; }
.event-title a { color: inherit; }
.event-loc { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* ── Jobs ── */
.jobs-list { display: grid; gap: 10px; }
@media (min-width: 480px) { .jobs-list { gap: 12px; } }
.job-card { padding: 14px; display: flex; align-items: center; gap: 12px; }
@media (min-width: 480px) { .job-card { padding: 16px; gap: 14px; } }
.job-avatar {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--teal-light); color: var(--teal);
  display: grid; place-items: center; font-weight: 800; flex-shrink: 0;
}
@media (min-width: 480px) { .job-avatar { width: 48px; height: 48px; border-radius: 14px; } }
.job-main { flex: 1; min-width: 0; }
.job-role { font-weight: 800; margin: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 480px) { .job-role { font-size: 16px; } }
.job-role a { color: inherit; }
.job-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (min-width: 480px) { .job-meta { font-size: 13px; } }
.job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.job-tag { font-size: 10px; font-weight: 700; padding: 5px 8px; border-radius: 999px; background: #EEF2FF; color: #4338CA; }
@media (min-width: 480px) { .job-tag { font-size: 11px; padding: 6px 10px; } }
.job-tag.remote { background: #ECFDF5; color: #047857; }
.job-tag.hybrid { background: #FFF7ED; color: #C2410C; }
.job-tag.onsite, .job-tag.on-site { background: #EEF2FF; color: #4338CA; }
.job-salary { font-weight: 800; color: #111827; font-size: 13px; }
@media (min-width: 480px) { .job-salary { font-size: 14px; } }

/* ── About Section ── */
.about {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 20px;
  display: grid; gap: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
@media (min-width: 480px) { .about { padding: 24px; gap: 24px; } }
@media (min-width: 900px) {
  .about.two-col { grid-template-columns: 1.1fr .9fr; padding: 36px; align-items: center; }
}
.about h3 { font-size: 1.5rem; margin: 0 0 10px; font-weight: 800; letter-spacing: -0.01em; }
@media (min-width: 480px) { .about h3 { font-size: 1.6rem; } }
.about p { color: #4B5563; margin: 0 0 14px; }
.about-points { display: grid; gap: 10px; margin-top: 12px; }
.about-point { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; }
.about-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: #f3f4f6; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Footer ── */
.site-footer { margin-top: 48px; background: white; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .site-footer { margin-top: 56px; } }
.footer-inner { padding: 32px 16px 20px; display: grid; gap: 28px; }
@media (min-width: 480px) { .footer-inner { padding: 40px 20px 24px; } }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .logo { margin-bottom: 10px; }
.footer-logo.logo-custom { max-width: 180px; }
.footer-logo.logo-custom img.custom-logo { max-height: 40px; }
.footer-desc { color: var(--muted); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-col h5 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #9CA3AF; font-weight: 800; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links button {
  background: none; border: none; text-align: left; padding: 0;
  color: #374151; font-weight: 600; font-size: 15px; cursor: pointer;
}
.footer-links a:hover, .footer-links button:hover { color: var(--teal); }
.socials { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.social {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--border);
  display: grid; place-items: center; background: var(--cream); transition: background .2s;
}
.social:hover { background: var(--teal-light); }
.copy { border-top: 1px solid var(--border); padding: 14px 16px; text-align: center; color: #6B7280; font-size: 13px; }
@media (min-width: 480px) { .copy { padding: 16px 20px; } }

/* ── Bottom Nav ── */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-around;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { .bottom-nav { display: none; } }
.bn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 10px; border-radius: 12px; color: #6B7280;
  font-size: 10px; font-weight: 700; border: none; background: none; cursor: pointer;
  text-decoration: none; transition: color .15s, background .15s; flex: 1; max-width: 80px;
}
@media (min-width: 360px) { .bn-item { font-size: 11px; padding: 7px 10px; } }
.bn-item svg { width: 22px; height: 22px; }
.bn-item.active, .bn-item:hover { color: var(--teal); background: var(--teal-light); }

/* ── Dialog / Modal ── */
dialog { border: none; padding: 0; background: transparent; max-width: 100vw; }
dialog::backdrop { background: rgba(17,24,39,.45); backdrop-filter: blur(6px); }
.modal {
  width: min(560px, 94vw); background: white; border: 1px solid var(--border);
  border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.25); overflow: hidden; margin: auto;
}
@media (min-width: 640px) { .modal { border-radius: 24px; } }
dialog[open] .modal { animation: pop .24s ease; }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: white; z-index: 1;
}
@media (min-width: 480px) { .modal-head { padding: 18px 20px; } }
.modal-title { font-weight: 800; font-size: 17px; margin: 0; }
.modal-close {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--cream);
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
}
.modal-body { padding: 16px; max-height: 72vh; overflow: auto; }
@media (min-width: 480px) { .modal-body { padding: 20px; } }

/* ── Forms ── */
.field { display: grid; gap: 5px; margin-bottom: 12px; }
@media (min-width: 480px) { .field { gap: 6px; margin-bottom: 14px; } }
.field label { font-weight: 700; font-size: 12px; color: #374151; }
@media (min-width: 480px) { .field label { font-size: 13px; } }
.input, .textarea, select.input {
  width: 100%; border: 1px solid var(--border); background: var(--cream);
  border-radius: 12px; padding: 11px 12px; font-size: 15px;
  outline: none; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
@media (min-width: 480px) { .input, .textarea, select.input { border-radius: 14px; padding: 12px 14px; } }
.input:focus, .textarea:focus, select.input:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,107,60,.12); background: white;
}
.textarea { min-height: 100px; resize: vertical; }
.form-grid { display: grid; gap: 10px; }
@media (min-width: 480px) { .form-grid { gap: 12px; } }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }

/* ── Toast ── */
.toast {
  position: fixed; left: 50%; bottom: 94px; transform: translateX(-50%) translateY(20px);
  background: #111827; color: white; padding: 12px 18px; border-radius: 12px;
  font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; z-index: 60;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); white-space: nowrap; max-width: 90vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 768px) { .toast { bottom: 24px; } }

/* ── Star Picker ── */
.star-picker { display: flex; gap: 4px; flex-wrap: wrap; }
@media (min-width: 480px) { .star-picker { gap: 6px; } }
.star-btn { background: none; border: none; font-size: 26px; color: #D1D5DB; cursor: pointer; transition: color .15s, transform .1s; padding: 0; }
@media (min-width: 480px) { .star-btn { font-size: 28px; } }
.star-btn.active, .star-btn:hover { color: var(--gold); transform: scale(1.1); }

/* ── Pagination ── */
.zuri-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
@media (min-width: 480px) { .zuri-pagination { gap: 8px; margin-top: 40px; } }
.zuri-pagination a, .zuri-pagination span {
  display: inline-flex; align-items: center; padding: 8px 14px;
  border-radius: 10px; border: 1px solid var(--border); background: white;
  font-weight: 700; font-size: 13px; color: var(--charcoal); transition: background .15s;
}
@media (min-width: 480px) { .zuri-pagination a, .zuri-pagination span { padding: 10px 16px; border-radius: 12px; font-size: 14px; } }
.zuri-pagination a:hover { background: var(--cream); color: var(--teal); border-color: var(--teal); }
.zuri-pagination .current { background: var(--teal); color: white; border-color: var(--teal); }

/* ── Empty State ── */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 48px 20px; color: var(--muted); }
@media (min-width: 480px) { .empty-state { gap: 16px; padding: 60px 24px; } }
.empty-state p { margin: 0; font-size: 14px; }
@media (min-width: 480px) { .empty-state p { font-size: 15px; } }

/* ── Loading Spinner ── */
.zuri-loading { display: flex; justify-content: center; padding: 40px; }
.zuri-spinner {
  width: 32px; height: 32px; border: 3px solid var(--border);
  border-top-color: var(--teal); border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Accessibility ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ══════════════════════════════════════════════
   LOGIN PAGE
   ══════════════════════════════════════════════ */
.login-page {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
}
.login-card {
  width: 100%; max-width: 440px; background: white;
  border: 1px solid var(--border); border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.08); overflow: hidden;
}
.login-tabs {
  display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border);
}
.login-tab {
  padding: 16px; font-weight: 700; font-size: 15px; color: var(--muted);
  border: none; background: none; cursor: pointer; transition: color .15s, background .15s;
  font-family: inherit;
}
.login-tab.active { color: var(--teal); border-bottom: 2px solid var(--teal); background: var(--teal-light); }
.login-body { padding: 24px; }
.login-logo { text-align: center; margin-bottom: 20px; }
.login-error {
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: 12px;
  padding: 12px 16px; margin-bottom: 16px; color: #B91C1C; font-size: 14px; font-weight: 600;
}
.login-success {
  background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px;
  padding: 12px 16px; margin-bottom: 16px; color: #166534; font-size: 14px; font-weight: 600;
}

/* ══════════════════════════════════════════════
   BUSINESS DASHBOARD
   ══════════════════════════════════════════════ */
.dashboard-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 24px;
}
@media (min-width: 480px) { .dashboard-header { margin-bottom: 28px; gap: 16px; } }

/* Stats row */
.dashboard-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px;
}
@media (min-width: 640px) { .dashboard-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: white; border: 1px solid var(--border); border-radius: 18px;
  padding: 16px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-card);
}
.stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.stat-card.green .stat-value { color: var(--teal); }
.stat-card.amber .stat-value { color: var(--coral); }
.stat-card.gold  .stat-value { color: #D97706; }
.stat-card.blue  .stat-value { color: #2563EB; }

.dashboard-tabs {
  display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
@media (min-width: 480px) { .dashboard-tabs { margin-bottom: 24px; } }

/* Notices */
.notice {
  border-radius: 14px; padding: 12px 16px; margin-bottom: 16px;
  font-weight: 600; font-size: 14px;
}
.notice-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.notice-error   { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }

/* ─── Listing row ─── */
.listings-table { display: grid; gap: 10px; }
@media (min-width: 480px) { .listings-table { gap: 12px; } }

.listing-row {
  background: white; border: 1px solid var(--border); border-radius: 18px;
  padding: 14px; display: flex; flex-direction: column;
  gap: 12px; box-shadow: var(--shadow-card); transition: box-shadow .2s;
}
@media (min-width: 480px) { .listing-row { padding: 16px 18px; } }
@media (min-width: 768px) { .listing-row { flex-direction: row; align-items: center; border-radius: 20px; } }
.listing-row:hover { box-shadow: var(--shadow-hover); }

.listing-row-info { display: flex; gap: 12px; align-items: center; flex: 1; min-width: 0; }
@media (min-width: 480px) { .listing-row-info { gap: 14px; } }

.listing-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.ltag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.ltag-cat { color: var(--teal);   background: var(--teal-light); }
.ltag-loc { color: var(--muted);  background: #F3F4F6; }
.ltag-v   { color: var(--teal);   background: var(--teal-light); }
.ltag-f   { color: #92400E;       background: #FFF7ED; }

.listing-row-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
}
@media (min-width: 768px) { .listing-row-footer { flex-shrink: 0; } }
.listing-row-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.listing-row-actions { display: flex; gap: 6px; flex-wrap: nowrap; }
.status-pill {
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; white-space: nowrap;
}

/* ══════════════════════════════════════════════
   SINGLE BUSINESS  (styles injected in template)
   ══════════════════════════════════════════════ */
.sb-container { padding-top: 28px; padding-bottom: 80px; max-width: 1000px; }
@media (min-width: 480px) { .sb-container { padding-top: 36px; } }
@media (min-width: 768px) { .sb-container { padding-top: 40px; } }

/* Business identity banner — featured image, neutral fallback if none */
.sb-identity-banner {
  border-radius: 20px; overflow: hidden; margin-bottom: 24px;
  border: 1px solid var(--border); position: relative;
  height: 160px; display: flex; align-items: center; justify-content: center;
  background: #F1F2F4;
}
@media (min-width: 640px) { .sb-identity-banner { height: 200px; } }

.sb-identity-banner img {
  width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0;
}
.sb-identity-fallback {
  font-size: 4rem; font-weight: 800; color: #9AA0A8; letter-spacing: -2px;
  position: relative; z-index: 1;
}

/* ── Map ── */
.sb-map {
  width: 100%; height: 220px; border-radius: 14px;
  overflow: hidden; border: 1px solid var(--border); display: block;
}
@media (min-width: 480px) { .sb-map { height: 260px; border-radius: 16px; } }
@media (min-width: 640px) { .sb-map { height: 300px; } }

/* ── Map links ── */
.sb-map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (min-width: 480px) { .sb-map-links { gap: 10px; margin-top: 14px; } }
.map-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  color: #374151; padding: 7px 12px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--cream); transition: background .15s, color .15s, border-color .15s;
}
@media (min-width: 480px) { .map-link { font-size: 13px; padding: 8px 14px; border-radius: 12px; } }
.map-link:hover { background: var(--teal-light); color: var(--teal); border-color: var(--teal); }
.map-link-directions { background: var(--teal-light); color: var(--teal); border-color: var(--teal); }
.map-link-directions:hover { background: #BBF7D0; }

/* ── Contact rows ── */
.contact-row {
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  color: #374151; text-decoration: none; padding: 9px 10px; border-radius: 10px;
  border: 1px solid var(--border); transition: background .15s;
}
@media (min-width: 480px) { .contact-row { gap: 12px; font-size: 14px; padding: 10px 12px; border-radius: 12px; } }
.contact-row:hover { background: var(--cream); color: var(--charcoal); }
.contact-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center; flex-shrink: 0;
}
@media (min-width: 480px) { .contact-icon { width: 34px; height: 34px; border-radius: 10px; } }
