/* ==========================================================================
   DOPA LEADS - Modern Hyper-Local Search & Schema.org JSON-LD Engine Styles
   Clean Premium Light/White Theme with High-Contrast Typography & Real-Time Spatial Matching
   ========================================================================== */

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Color Palette - Clean Premium White Theme */
  --bg-primary: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-hover: #f1f5f9;

  --border-subtle: #e2e8f0;
  --border-accent: rgba(37, 99, 235, 0.25);
  --border-glow: rgba(37, 99, 235, 0.35);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-subtle: #64748b;

  /* Brand Accents */
  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-secondary: #0284c7;
  --accent-amber: #d97706;
  --accent-emerald: #059669;
  --accent-rose: #e11d48;
  --accent-purple: #7c3aed;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  --gradient-text: linear-gradient(135deg, #1e3a8a 0%, #0284c7 50%, #4338ca 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-hero: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.06) 0%, rgba(2, 132, 199, 0.03) 50%, transparent 80%);

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body.site-body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Top Announcement Banner */
.top-announcement-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  color: #334155;
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-badge-link {
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.top-badge-link:hover {
  color: #ffffff;
}

/* Main Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.1;
}

.logo-highlight {
  color: var(--accent-primary);
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

/* Header Location Pill */
.location-detect-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.location-detect-pill:hover {
  background: #e2e8f0;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.loc-pin {
  color: var(--accent-rose);
  font-size: 1rem;
}

.loc-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.loc-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 700;
}

.loc-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loc-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover {
  color: #ffffff;
}

/* Mobile Header Actions (Hidden on Desktop) */
.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.mobile-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(31, 41, 55, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  max-width: 140px;
}

.mobile-loc-btn i {
  color: var(--accent-rose);
  font-size: 0.85rem;
}

.mobile-loc-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-loc-btn:active {
  transform: scale(0.96);
  background: rgba(49, 46, 129, 0.4);
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-primary);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Slide-In Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: #0f172a;
  border-left: 1px solid var(--border-subtle);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(17, 24, 39, 0.6);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover,
.drawer-close-btn:active {
  background: var(--accent-rose);
  color: #ffffff;
}

.drawer-body {
  padding: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Drawer Location Card */
.drawer-location-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.drawer-loc-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.drawer-loc-pin {
  color: var(--accent-rose);
  font-size: 1.2rem;
}

.drawer-loc-info {
  display: flex;
  flex-direction: column;
}

.drawer-loc-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 700;
}

.drawer-loc-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.drawer-gps-btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 0.45rem;
}

/* Drawer Navigation List */
.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.925rem;
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.drawer-nav-item i {
  width: 20px;
  color: var(--accent-secondary);
  font-size: 1rem;
}

.drawer-nav-item:hover,
.drawer-nav-item:active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #ffffff;
}

/* Drawer Section */
.drawer-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.drawer-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.drawer-city-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-city-chip:hover,
.drawer-city-chip:active {
  background: var(--accent-primary);
  color: #ffffff;
}

.drawer-meta-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-meta-link {
  font-size: 0.82rem;
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
}

.drawer-meta-link:hover {
  color: #ffffff;
}

.drawer-actions {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.drawer-btn-primary {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.95rem;
}

/* Mobile Fixed Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.35rem 0.5rem;
  padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0.35rem));
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  min-width: 54px;
}

.bottom-nav-item i {
  font-size: 1.15rem;
  transition: transform var(--transition-fast);
}

.bottom-nav-item:active i {
  transform: scale(0.9);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: #38bdf8;
}

.bottom-nav-item.bottom-nav-center {
  margin-top: -16px;
}

.center-btn-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.5);
  transition: transform var(--transition-fast);
}

.center-btn-bubble i {
  font-size: 1.15rem;
  color: #ffffff;
}

.bottom-nav-center:active .center-btn-bubble {
  transform: scale(0.92);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-primary);
  color: #ffffff;
}

.btn-action {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-action:hover {
  background: #4338ca;
}

.btn-secondary {
  background: #1f2937;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #374151;
  color: #ffffff;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c7d2fe;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-subtitle code {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Dual Search Box */
.search-box-wrapper {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(79, 70, 229, 0.25);
  margin-bottom: 2rem;
  transition: border-color var(--transition-normal);
}

.search-box-wrapper:focus-within {
  border-color: #818cf8;
  box-shadow: var(--shadow-lg), 0 0 45px rgba(99, 102, 241, 0.4);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  text-align: left;
}

.location-group {
  flex: 1 1 320px;
}

.service-group {
  flex: 2 1 380px;
}

.input-icon {
  font-size: 1.15rem;
  color: var(--accent-secondary);
}

.location-group .input-icon {
  color: var(--accent-rose);
}

.input-field-col {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.input-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.search-input {
  background: transparent;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
}

.search-input::placeholder {
  color: #64748b;
}

.btn-detect-gps {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-detect-gps:hover {
  background: rgba(244, 63, 94, 0.3);
  color: #ffffff;
}

.search-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
  display: none;
}

.btn-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.btn-search-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.6);
}

/* Trending Tags */
.trending-tags-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.8125rem;
}

.trending-label {
  color: var(--text-subtle);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tags-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trending-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.trending-chip:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-primary);
  color: #c7d2fe;
}

/* ==========================================================================
   CATEGORIES SECTION: ONLY QUERY FETCHED
   ========================================================================== */
.categories-section {
  padding: 4.5rem 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  background: var(--bg-surface-elevated);
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.35);
}

.cat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.cat-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.cat-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cat-count {
  font-size: 0.85rem;
  color: var(--accent-secondary);
  font-weight: 600;
}

/* ==========================================================================
   SCHEMA & GEOLOCATION INSPECTOR
   ========================================================================== */
.inspector-section {
  padding: 4rem 0;
  background: #0f1523;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-tag-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-accent {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.pulse-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-ring 1.8s infinite;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.section-desc code {
  color: #38bdf8;
  font-family: var(--font-mono);
}

/* Control Bar */
.inspector-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.control-left,
.control-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sim-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.city-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.btn-city-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-city-pill:hover,
.btn-city-pill.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

/* 3-Card Inspector Grid */
.inspector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.inspector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
}

.card-title-group {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.card-sub {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.schema-code-snippet {
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  overflow-x: auto;
  color: #e2e8f0;
  line-height: 1.5;
}

.code-kw {
  color: #f43f5e;
  font-weight: 600;
}

.code-num {
  color: #f59e0b;
}

.code-cmt {
  color: #64748b;
  font-style: italic;
}

.data-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
}

.data-key {
  color: var(--text-subtle);
  font-weight: 500;
}

.data-val {
  color: var(--text-main);
  font-weight: 600;
}

.highlight-val {
  color: #38bdf8;
  font-weight: 700;
}

.badge-val {
  background: rgba(255, 255, 255, 0.07);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  color: #a5b4fc;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.data-text {
  font-size: 0.8125rem;
  color: #e2e8f0;
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   FEATURED LISTINGS
   ========================================================================== */
.leads-section {
  padding: 4.5rem 0;
  background: #0d121f;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.leads-header-row {
  margin-bottom: 2.5rem;
}

.leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.lead-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.lead-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.lead-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.lead-tag-col {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-timing {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-subtle);
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

.lead-distance-pill {
  background: rgba(6, 182, 212, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lead-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.lead-category {
  font-size: 0.84rem;
  color: var(--accent-secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}

.lead-rating-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.rating-badge {
  background: #059669;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.rating-count {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.lead-price {
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fbbf24;
}

.lead-loc-info {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.lead-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-call {
  flex: 1;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.55rem;
  border-radius: var(--radius-md);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-quote {
  flex: 1;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.55rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 4.5rem 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item[open] {
  border-color: var(--border-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.q-icon {
  color: var(--accent-secondary);
  transition: transform var(--transition-normal);
}

.faq-item[open] .q-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.col-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.schema-status-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.status-indicator-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.status-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.status-sub {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #2563eb;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.footer-badge-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tech-badge {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM (MOBILE-FIRST POLISH)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .location-group,
  .service-group {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  /* Push content above fixed bottom navigation bar */
  body.site-body {
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px));
  }

  /* Show Mobile Bottom Navigation */
  .mobile-bottom-nav {
    display: flex;
  }

  /* Hide Desktop Header Elements & Show Mobile Actions */
  .header-center,
  .header-right {
    display: none;
  }

  .header-mobile-actions {
    display: flex;
  }

  .header-container {
    gap: 0.75rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 2.75rem 0 2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .search-box-wrapper {
    padding: 0.4rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
  }

  .search-input {
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }

  .btn-search-submit {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .trending-tags-row {
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
  }

  .tags-carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
    max-width: 100%;
  }

  .tags-carousel::-webkit-scrollbar {
    display: none;
  }

  .trending-chip {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Categories Section Mobile */
  .categories-section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  /* Geolocation & Schema Inspector Mobile */
  .inspector-section {
    padding: 3rem 0;
  }

  .inspector-control-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .control-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .control-left .btn {
    width: 100%;
  }

  .control-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .city-btn-group {
    width: 100%;
  }

  .inspector-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .schema-code-snippet {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.72rem;
  }

  .schema-code-snippet pre {
    white-space: pre;
  }

  /* Featured Leads Section Mobile */
  .leads-section {
    padding: 3rem 0;
  }

  .leads-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lead-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .lead-name {
    font-size: 1.15rem;
  }

  .lead-actions {
    display: flex;
    gap: 0.6rem;
  }

  .btn-call,
  .btn-quote {
    font-size: 0.82rem;
    padding: 0.6rem 0.5rem;
  }

  /* FAQs Section Mobile */
  .faq-section {
    padding: 3rem 0;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 1.15rem;
  }

  .faq-answer {
    font-size: 0.88rem;
    padding: 0 1.15rem 1rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }

  .footer-badge-group {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Compact Announcement Bar */
  .announcement-right {
    display: none;
  }

  .top-announcement-bar {
    font-size: 0.75rem;
    padding: 0.35rem 0;
  }

  .announcement-text {
    line-height: 1.3;
  }

  /* 2-Column Category Grid on Phones */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .category-card {
    padding: 1.25rem 0.85rem;
    border-radius: var(--radius-md);
  }

  .cat-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .cat-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }

  .cat-count {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  .brand-logo .logo-title {
    font-size: 1.25rem;
  }

  .logo-symbol {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .mobile-loc-btn {
    max-width: 110px;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CATEGORY DETAIL & SUBCATEGORY EXPLORER (Exact Match to User Reference Images)
   ========================================================================== */

.category-detail-page {
  background: #f8fafc;
  min-height: calc(100vh - 80px);
  padding-bottom: 4rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding: 1.5rem 0 1rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  flex-wrap: wrap;
}

.breadcrumb-item a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: #2563eb;
}

.breadcrumb-separator {
  font-size: 0.65rem;
  color: #94a3b8;
}

.breadcrumb-item.active {
  color: #0f172a;
  font-weight: 600;
}

/* TOP HERO CARD: Reference Image 1 */
.cat-hero-card-wrapper {
  padding: 1rem 0 2rem;
}

.cat-hero-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.75rem 2rem 2.25rem;
  text-align: center;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  max-width: 860px;
  margin: 0 auto;
}

.cat-hero-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cat-hero-icon-wrap {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 10px 24px -4px rgba(79, 70, 229, 0.45);
}

.cat-hero-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.cat-hero-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4f46e5;
  margin: 0;
}

/* SUBCATEGORIES SECTION: Reference Image 2 */
.subcategories-section {
  padding: 1.5rem 0 2.5rem;
}

.subcat-header {
  text-align: left;
  margin-bottom: 1.75rem;
}

.subcat-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.subcat-section-desc {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
}

/* 5-Card Responsive Grid */
.subcat-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.subcat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.subcat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.subcat-card-img-wrap {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #f1f5f9;
}

.subcat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.subcat-card:hover .subcat-card-img {
  transform: scale(1.05);
}

.subcat-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.subcat-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.subcat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.subcat-list-item {
  font-size: 0.925rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.4;
}

.subcat-more {
  margin-top: 0.4rem;
}

.subcat-more-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.925rem;
  transition: color 0.15s ease;
}

.subcat-more-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

/* Empty State Card */
.empty-state-card {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  color: #64748b;
}

.empty-icon {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* Database Inspector Box */
.db-inspector-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04);
}

.db-inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.db-inspector-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #334155;
  flex-wrap: wrap;
}

.code-terminal {
  background: #0f172a;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  overflow-x: auto;
  border: 1px solid #1e293b;
}

.code-terminal pre {
  margin: 0;
}

.code-terminal code.sql {
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
}

.db-inspector-footer {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: #475569;
}

.text-success {
  color: #10b981;
}

/* Responsive Category Explorer */
@media (max-width: 1200px) {
  .subcat-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .breadcrumb-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .breadcrumb-list::-webkit-scrollbar {
    display: none;
  }
  .breadcrumb-item {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .subcat-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-hero-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cat-hero-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }
  .cat-hero-badge {
    position: static;
    margin: 0 auto 0.85rem;
    display: inline-flex;
  }
  .cat-hero-icon-wrap {
    width: 58px;
    height: 58px;
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
  }
  .cat-hero-title {
    font-size: 1.4rem;
  }
  .cat-hero-subtitle {
    font-size: 0.95rem;
  }
  .subcat-header {
    margin-bottom: 1.25rem;
  }
  .subcat-section-title {
    font-size: 1.25rem;
  }
  .subcat-section-desc {
    font-size: 0.85rem;
  }
  .subcat-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .subcat-card-img-wrap {
    height: 130px;
  }
  .subcat-list-item {
    font-size: 0.95rem;
  }
  .subcat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0.35rem 0;
  }
  .db-inspector-box {
    padding: 1.15rem 1rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }
  .db-inspector-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .code-terminal {
    padding: 1rem;
    border-radius: 8px;
  }
  .code-terminal code.sql {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .subcat-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Category FAQ Accordion (For Google Rich Results) */
.category-faq-section {
  padding: 1.5rem 0 2rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-question {
  padding: 1.15rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  font-size: 0.8rem;
  color: #64748b;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: #2563eb;
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.text-accent {
  color: #4f46e5;
  margin-right: 0.4rem;
}

/* ==========================================================================
   SUBCATEGORY & ITEM DETAILS DIRECTORY PAGE (Justdial & Google Inspired)
   ========================================================================== */

.subcat-link {
  color: #1e293b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.925rem;
  font-weight: 500;
  width: 100%;
}

.subcat-link:hover {
  color: #2563eb;
  background: #f1f5f9;
  transform: translateX(4px);
}

.subcat-chevron {
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.subcat-link:hover .subcat-chevron {
  color: #2563eb;
  transform: translateX(2px);
}

.subcat-store-count {
  font-size: 0.75rem;
  color: #334155;
  background: #e2e8f0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  margin-left: auto;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.subcat-link:hover .subcat-store-count {
  background: #dbeafe;
  color: #1d4ed8;
}

.subcat-more-link {
  color: #818cf8;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.subcat-more-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Listing Hero Banner */
.listing-hero-banner {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0.6) 80%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.25rem 2rem 1.75rem;
  margin: 1.5rem 0 2rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.listing-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.badge-verified-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-city-pill {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-records-pill {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.listing-header-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.listing-header-subtitle {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 800px;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.listing-header-subtitle code {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* Filter Bar */
.listing-filter-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.filter-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

@media (max-width: 768px) {
  .listing-hero-banner {
    padding: 1.5rem 1rem;
    margin-bottom: 1.25rem;
  }
  .listing-header-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }
  .listing-header-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }
  .filter-pills-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .filter-pills-wrap::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
  }
}

.filter-pill {
  background: rgba(30, 41, 59, 0.7);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: rgba(51, 65, 85, 0.85);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.4);
}

.filter-pill.active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

/* 2-Column Grid Layout */
.listing-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .listing-two-col-grid {
    grid-template-columns: 1fr;
  }
}

/* Store Listing Card */
.store-listing-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  position: relative;
}

.store-listing-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.15);
  transform: translateY(-2px);
}

/* Store Card Header */
.store-card-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .store-listing-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
  }
  .store-card-header {
    flex-direction: row;
    gap: 0.85rem;
    align-items: flex-start;
  }
  .store-photo-wrap {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    border-radius: 10px;
  }
  .badge-store-verified {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
    top: 4px;
    right: 4px;
  }
  .store-name {
    font-size: 1.2rem;
  }
  .store-address {
    font-size: 0.82rem;
  }
}

.store-photo-wrap {
  width: 130px;
  height: 130px;
  min-width: 130px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.store-listing-card:hover .store-photo {
  transform: scale(1.05);
}

.badge-store-verified {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.store-info-block {
  flex: 1;
}

.store-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.store-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.badge-verified-inline {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.store-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.rating-badge {
  background: #16a34a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.review-count {
  color: #94a3b8;
  font-size: 0.85rem;
}

.separator-dot {
  color: #475569;
  font-size: 0.8rem;
}

.badge-top-search {
  color: #38bdf8;
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.store-address {
  color: #cbd5e1;
  font-size: 0.925rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.store-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
}

.tag-status.open {
  color: #34d399;
  font-weight: 600;
}

.tag-timing {
  color: #94a3b8;
}

.tag-price {
  color: #f59e0b;
  font-weight: 500;
}

/* Store Catalog Items Showcase */
.store-products-section {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.store-products-header {
  margin-bottom: 1rem;
}

.products-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.store-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

@media (max-width: 640px) {
  .store-products-section {
    padding: 0.85rem;
    border-radius: 10px;
  }
  .store-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .mini-img-wrap {
    height: 105px;
  }
  .mini-body {
    padding: 0.65rem;
  }
  .mini-title {
    font-size: 0.85rem;
  }
  .price-current {
    font-size: 1rem;
  }
  .price-mrp {
    font-size: 0.75rem;
  }
  .btn-item-inspect {
    font-size: 0.72rem;
  }
}

@media (max-width: 360px) {
  .store-items-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-mini-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.catalog-mini-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(30, 41, 59, 0.75);
  transform: translateY(-2px);
}

.mini-img-wrap {
  width: 100%;
  height: 120px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.catalog-mini-card:hover .mini-img {
  transform: scale(1.05);
}

.mini-discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #f43f5e;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.mini-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mini-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-subcat {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.mini-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: #38bdf8;
}

.price-mrp {
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: line-through;
}

.mini-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.6rem;
}

.stock-indicator {
  font-size: 0.725rem;
  font-weight: 600;
}

.stock-indicator.in {
  color: #34d399;
}

.stock-indicator.out {
  color: #f43f5e;
}

.btn-item-inspect {
  background: transparent;
  border: none;
  color: #818cf8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.btn-item-inspect:hover {
  color: #38bdf8;
  transform: translateX(2px);
}

/* Action CTAs */
.store-card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-action-cta {
  flex: 1;
  min-width: 160px;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
  text-decoration: none;
}

.btn-action-cta.btn-call {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn-action-cta.btn-call:hover {
  background: #15803d;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
  transform: translateY(-2px);
}

.btn-action-cta.btn-whatsapp {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-action-cta.btn-whatsapp:hover {
  background: #0369a1;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
}

.btn-action-cta.btn-quick-lead {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-action-cta.btn-quick-lead:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .store-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .btn-action-cta {
    min-width: 0;
    padding: 0.65rem 0.6rem;
    font-size: 0.84rem;
  }
  .btn-action-cta.btn-quick-lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .store-card-actions {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Widgets */
.sidebar-widget {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.widget-icon-pill {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.widget-subtitle {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

/* Top Picks List */
.top-picks-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.top-pick-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.top-pick-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(99, 102, 241, 0.3);
}

.top-pick-icon {
  width: 38px;
  height: 38px;
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.top-pick-info {
  flex: 1;
}

.top-pick-name {
  font-size: 0.925rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
}

.top-pick-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.3rem;
}

.top-pick-rating {
  color: #f59e0b;
  font-weight: 600;
}

.top-pick-contact a {
  font-size: 0.8rem;
  color: #38bdf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.top-pick-contact a:hover {
  text-decoration: underline;
}

/* Lead Form */
.lead-form .form-group {
  margin-bottom: 0.85rem;
}

.lead-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.lead-form .form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: #ffffff;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.lead-form .form-control:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.btn-submit-lead {
  width: 100%;
  background: var(--gradient-brand);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-submit-lead:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.5);
}

.lead-feedback-msg {
  display: none;
  font-size: 0.8rem;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  margin-top: 0.75rem;
  line-height: 1.4;
}

.lead-feedback-msg.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Custom Modal Backdrop & Box */
.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.5rem;
}

.custom-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  padding: 2rem;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.custom-modal-backdrop.active .custom-modal-box {
  transform: scale(1);
}

.custom-modal-box.modal-box-sm {
  max-width: 480px;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: #cbd5e1;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #f43f5e;
  color: #ffffff;
}

/* Modal Body Layout */
.modal-body-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .modal-body-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .custom-modal-backdrop {
    padding: 0.5rem;
  }
  .custom-modal-box {
    padding: 1.25rem 1rem;
    border-radius: 14px;
    max-height: 92vh;
  }
  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .modal-img-col {
    height: 190px !important;
    border-radius: 10px;
  }
  .modal-item-title {
    font-size: 1.25rem;
  }
  .modal-pricing-box {
    padding: 0.5rem 0.75rem;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  .modal-price-current {
    font-size: 1.35rem;
  }
  .modal-price-mrp {
    font-size: 0.95rem;
  }
  .modal-cta-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .modal-cta-row .btn-action-cta {
    width: 100%;
  }
  .lead-form .form-control,
  .form-control {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }
}

.modal-img-col {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #1e293b;
  height: 320px;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #f43f5e;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.modal-category-breadcrumb {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.modal-item-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.modal-brand-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.modal-brand-tag {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.modal-code-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.775rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.modal-pricing-box {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.modal-price-current {
  font-size: 1.75rem;
  font-weight: 800;
  color: #38bdf8;
}

.modal-price-mrp {
  font-size: 1.1rem;
  color: #64748b;
  text-decoration: line-through;
}

.modal-stock-badge {
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: auto;
}

.modal-stock-badge.in {
  color: #34d399;
}

.modal-stock-badge.out {
  color: #f43f5e;
}

.modal-desc-box {
  margin-bottom: 1.5rem;
}

.modal-desc-box h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.modal-desc-text {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

.modal-store-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.modal-store-name {
  margin-bottom: 0.25rem;
}

.modal-store-name strong {
  color: #ffffff;
}

.modal-cta-row {
  display: flex;
  gap: 0.85rem;
}

.modal-cta-row .btn-action-cta {
  padding: 0.85rem 1.25rem;
}

/* Empty Results Box */
.empty-results-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
}

.empty-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

.empty-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.empty-desc {
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.empty-action-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Image Placeholders (When DB resourcestbl has no primary image) */
.store-logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.25) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 1.75rem;
}

.mini-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 3rem;
}

.top-pick-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Database Metadata Badges */
.badge-biz-type {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.badge-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.badge-gst-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.subcat-card-icon-banner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(99, 102, 241, 0.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #2563eb;
}

/* ==========================================================================
   CITY & CATEGORY SEO EXPLORER PAGES & ANTHROPIC PARENT ORGANISATION
   ========================================================================== */

/* City Hero Card */
.city-hero-card-wrapper {
  margin: 1.5rem 0 2.5rem 0;
}

.city-hero-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.city-hero-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.city-hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.city-hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.city-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.city-quick-pills {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.city-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* Category Grid on City Page */
.city-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0 3rem 0;
}

.city-cat-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.city-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 12px 30px -4px rgba(79, 70, 229, 0.25);
}

.cat-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cat-id-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.cat-text-wrap {
  flex-grow: 1;
  margin-top: 1rem;
}

.city-cat-card h2.cat-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.cat-card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-action-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #818cf8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.city-cat-card:hover .cat-action-text {
  gap: 0.65rem;
  color: #a5b4fc;
}

/* Dynamic FAQs Section */
.dynamic-faq-section {
  margin: 3rem 0;
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.dynamic-faq-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s ease;
}

.dynamic-faq-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.dynamic-faq-question-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #f8fafc;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.dynamic-faq-question-link:hover {
  color: #a5b4fc;
}

.q-icon-wrap {
  color: #6366f1;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.q-title-text {
  flex-grow: 1;
}

.q-arrow-badge {
  color: #64748b;
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.dynamic-faq-question-link:hover .q-arrow-badge {
  color: #38bdf8;
  transform: translate(2px, -2px);
}

.dynamic-faq-body {
  margin-top: 0.85rem;
  padding-left: 2.15rem;
}

.faq-answer-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-sql-preview {
  margin-top: 0.65rem;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
  overflow-x: auto;
}

.faq-sql-preview .sql-label {
  color: #38bdf8;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.faq-action-row {
  margin-top: 0.85rem;
}

/* Anthropic Parent Organisation Card */
.anthropic-parent-section {
  margin: 3.5rem 0;
}

.anthropic-card {
  background: linear-gradient(135deg, rgba(20, 24, 39, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.5);
}

.anthropic-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-parent-org {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #22d3ee;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.anthropic-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.anthropic-sub {
  color: #94a3b8;
  font-size: 0.95rem;
}

.anthropic-site-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.anthropic-site-link:hover {
  text-decoration: underline;
}

.anthropic-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

.anthropic-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.anthropic-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  transition: all 0.2s ease;
}

.anthropic-contact-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.3);
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.icon-sales { background: rgba(99, 102, 241, 0.18); color: #818cf8; }
.icon-care { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.icon-support { background: rgba(6, 182, 212, 0.18); color: #22d3ee; }
.icon-legal { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-role-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.contact-val-link {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-val-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.contact-phone-link {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.phone-primary-highlight {
  color: #34d399;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-time-sub {
  font-size: 0.75rem;
  color: #64748b;
}

/* Footer Anthropic block */
.col-anthropic .footer-sub-text {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.link-anthropic {
  color: #38bdf8;
  text-decoration: none;
}

.link-anthropic:hover {
  text-decoration: underline;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-contact-list i {
  color: #818cf8;
  font-size: 0.8rem;
  width: 14px;
}

.footer-contact-list a {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Category Detail Page Hero */
.cat-detail-hero-wrapper {
  margin: 1.5rem 0 2rem 0;
}

.cat-detail-hero-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
}

.cat-detail-hero-top {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cat-hero-icon-bubble {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #818cf8;
  flex-shrink: 0;
}

.cat-hero-meta-col {
  flex-grow: 1;
}

.cat-tag-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.cat-detail-hero-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.cat-detail-hero-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 800px;
  line-height: 1.6;
}

.cat-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cat-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Subcategories Filter Row */
.subcategories-filter-section {
  margin: 1.5rem 0 2rem 0;
}

.subcat-filter-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.subcat-chips-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.subcat-lvl {
  color: #818cf8;
  font-size: 0.7rem;
}

/* Stores Listing Cards Grid */
.stores-listing-section {
  margin: 2.5rem 0;
}

.stores-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.store-entry-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.store-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.5);
}

.store-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.store-entry-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.store-id-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748b;
}

.store-entry-body {
  flex-grow: 1;
}

.store-entry-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.store-subcat-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.store-tagline-text {
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
  margin-bottom: 0.65rem;
}

.store-about-snippet {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.store-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.825rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.store-contact-meta .meta-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.store-contact-meta i {
  color: #818cf8;
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.store-entry-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.store-entry-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* City store card on city root page */
.city-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.city-store-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.city-store-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.3);
}

.store-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.store-badge-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.store-category-pill {
  font-size: 0.7rem;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.store-card-body {
  flex-grow: 1;
}

.store-name-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.store-address-text {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.store-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.store-card-actions .btn {
  flex: 1;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  justify-content: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .city-hero-card {
    padding: 1.75rem 1.25rem;
  }
  .city-hero-title {
    font-size: 1.85rem;
  }
  .cat-detail-hero-top {
    flex-direction: column;
  }
  .cat-detail-hero-title {
    font-size: 1.75rem;
  }
  .anthropic-header-row {
    flex-direction: column;
  }
  .anthropic-contact-grid {
    grid-template-columns: 1fr;
  }
  .stores-card-grid {
    grid-template-columns: 1fr;
  }
  .city-category-grid {
    grid-template-columns: 1fr;
  }
  .subcat-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SUBCATEGORIES & BUSINESS DRILL-DOWN STYLES (Light / White Theme)
   ========================================================================== */
.subcategories-grid-section {
  margin: 2.5rem 0;
}

.subcat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.subcat-entry-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.15rem;
  text-decoration: none;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.subcat-entry-card:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 10px 20px -3px rgba(37, 99, 235, 0.12), 0 4px 6px -4px rgba(37, 99, 235, 0.08);
}

.subcat-card-thumbnail {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.subcat-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.subcat-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(2, 132, 199, 0.08) 100%);
  color: #2563eb;
  font-size: 1.35rem;
}

.subcat-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.subcat-badge-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.badge-subcat-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.badge-leaf {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.subcat-name-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  transition: color 0.15s ease;
}

.subcat-entry-card:hover .subcat-name-title {
  color: #2563eb;
}

.subcat-action-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.subcat-entry-card:hover .subcat-action-link {
  color: #2563eb;
  transform: translateX(2px);
}

/* Category Hero Thumbnail Image */
.cat-hero-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.cat-thumb-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* ==========================================================================
   GLOBAL LIGHT / WHITE THEME REFINEMENTS
   ========================================================================== */
body.site-body {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

.hero-section,
.categories-section,
.leads-section,
.city-categories-section,
.stores-listing-section,
.category-faq-section,
.anthropic-parent-section {
  background-color: #ffffff !important;
}

.hero-banner-inner {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1px solid #e2e8f0 !important;
}

.category-card,
.city-cat-card,
.store-entry-card,
.city-store-card,
.lead-card,
.anthropic-parent-card,
.dynamic-faq-card,
.cat-detail-hero-card,
.city-hero-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}

.category-card:hover,
.city-cat-card:hover,
.store-entry-card:hover,
.city-store-card:hover,
.lead-card:hover {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 10px 20px -3px rgba(37, 99, 235, 0.12), 0 4px 6px -4px rgba(37, 99, 235, 0.08) !important;
}

.store-entry-title,
.store-name-title,
.lead-name,
.cat-title,
.section-title {
  color: #0f172a !important;
}

.section-desc,
.lead-address,
.store-address-text,
.store-tagline-text,
.cat-detail-hero-subtitle,
.city-hero-subtitle {
  color: #475569 !important;
}

.store-about-snippet {
  color: #334155 !important;
}

.cat-icon-wrap {
  background: #eff6ff !important;
  border: 1px solid #dbeafe !important;
  color: #2563eb !important;
}

.faq-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

.faq-question {
  color: #0f172a !important;
}

.faq-answer {
  color: #334155 !important;
  border-top: 1px solid #f1f5f9 !important;
}

.breadcrumb-nav {
  background: #f8fafc;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumb-item a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #64748b;
  font-weight: 600;
}

.breadcrumb-separator {
  color: #94a3b8;
  font-size: 0.7rem;
}