@media (max-width: 768px) {
  #pillRow.filter-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    overflow: visible !important;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  #pillRow .filter-pill {
    width: 100%;
    min-width: 0;
    min-height: 104px;
    padding: 12px 6px;
    border-radius: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 9px;
    text-align: center;
    white-space: normal;
    line-height: 1.1;
    background:
      radial-gradient(
        circle at top left,
        rgba(37, 99, 235, 0.08),
        transparent 38%
      ),
      var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  }

  #pillRow .filter-pill:hover {
    transform: translateY(-1px);
  }

  #pillRow .filter-pill.active {
    background:
      radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.24),
        transparent 38%
      ),
      linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
  }

  #pillRow .service-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand);
    margin: 0;
    flex: 0 0 52px;
  }

  #pillRow .filter-pill.active .service-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
  }

  #pillRow .service-icon i {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
  }

  #pillRow .service-label {
    display: -webkit-box;
    width: 100%;
    max-width: 100%;
    min-height: 28px;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  html.dark #pillRow .filter-pill {
    background:
      radial-gradient(
        circle at top left,
        rgba(96, 165, 250, 0.1),
        transparent 38%
      ),
      var(--card);
  }

  html.dark #pillRow .filter-pill.active {
    background:
      radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.16),
        transparent 38%
      ),
      linear-gradient(135deg, var(--brand), var(--brand-2));
  }
}

@media (max-width: 380px) {
  #pillRow.filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #pillRow .filter-pill {
    min-height: 98px;
  }

  #pillRow .service-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-basis: 48px;
  }

  #pillRow .service-icon i {
    font-size: 1.4rem;
  }

  #pillRow .service-label {
    font-size: 0.68rem;
  }

  .surface:has(#pillRow) {
    padding: 16px;
    border-radius: 24px;
  }

  #pillRow.filter-row {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    overflow: visible !important;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  #pillRow .filter-pill {
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 9px 4px;
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-align: center;
    white-space: normal;
    line-height: 1.1;
    background:
      radial-gradient(
        circle at top left,
        rgba(37, 99, 235, 0.08),
        transparent 35%
      ),
      var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  }

  #pillRow .filter-pill.active {
    background:
      radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.28),
        transparent 35%
      ),
      linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
  }

  #pillRow .service-icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand);
    margin: 0;
    flex: 0 0 30px;
  }

  #pillRow .filter-pill.active .service-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
  }

  #pillRow .service-icon i {
    display: block;
    font-size: 1rem;
    line-height: 1;
  }

  #pillRow .service-label {
    display: -webkit-box;
    width: 100%;
    max-width: 100%;
    min-height: 22px;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  html.dark #pillRow .filter-pill {
    background:
      radial-gradient(
        circle at top left,
        rgba(37, 99, 235, 0.13),
        transparent 35%
      ),
      var(--card);
    border-color: var(--border);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  }

  html.dark #pillRow .filter-pill.active {
    background:
      radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.1),
        transparent 35%
      ),
      linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-color: transparent;
  }

  html.dark #pillRow .service-icon {
    background: rgba(96, 165, 250, 0.14);
    color: #93c5fd;
  }

  html.dark #pillRow .filter-pill.active .service-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }
}
.service-request-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.1),
      transparent 32%
    ),
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.06));
  border: 1px solid var(--border);
}

.service-request-title {
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.service-request-text {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.service-request-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}

html.dark .service-request-box {
  background:
    radial-gradient(
      circle at top left,
      rgba(96, 165, 250, 0.12),
      transparent 32%
    ),
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
}

@media (max-width: 768px) {
  .service-request-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px;
  }

  .service-request-btn {
    width: 100%;
  }
}
@media (max-width: 380px) {
  #pillRow.filter-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  #pillRow .filter-pill {
    min-height: 74px;
  }

  #pillRow .service-label {
    font-size: 0.64rem;
  }
}
.hero-shell {
  position: relative;
  z-index: 20;
  overflow: visible;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(37, 99, 235, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(124, 58, 237, 0.1),
      transparent 24%
    ),
    linear-gradient(135deg, var(--card) 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(124, 58, 237, 0.08)
  );
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero-shell .row {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 850;
  max-width: 640px;
  margin-bottom: 14px;
  color: var(--text);
}

.hero-sub {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 560px;
}

.hero-panel {
  position: relative;
  z-index: 30;
  overflow: visible;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px 14px;
  min-width: 120px;
}

.hero-stat strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.search-autocomplete-wrap {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.search-box-modern {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 14px;
}

.search-box-modern input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  min-width: 0;
}

.search-box-modern input::placeholder {
  color: var(--muted);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: none;
  flex-shrink: 0;
}

.search-clear:hover {
  background: var(--soft);
  color: var(--text);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 320px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  padding: 8px;
  z-index: 99999;
}

.search-suggestions.show {
  display: block;
}

.suggestion-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text);
  transition: 0.15s ease;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: var(--soft);
}

.suggestion-main {
  min-width: 0;
  flex: 1 1 auto;
}

.suggestion-label {
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.suggestion-meta {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 4px;
}

.suggestion-type {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  padding: 6px 9px;
  line-height: 1;
  text-transform: capitalize;
}

.surface {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.filter-surface {
  position: relative;
  z-index: 3000 !important;
  overflow: visible !important;
}

.filter-surface .search-autocomplete-wrap {
  position: relative;
  z-index: 3001 !important;
}

.filter-surface .search-suggestions {
  z-index: 3002 !important;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title-xl {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--text);
}

.hero-title,
.hero-sub,
.section-title-xl,
.section-caption,
.service-label,
.results-badge,
.provider-name,
.provider-category,
.provider-meta-title,
.suggestion-label,
.suggestion-meta,
.suggestion-type,
.filter-pill,
.selected-filter-chip {
  font-family:
    "SF Pro Text",
    "SF Pro Display",
    "Segoe UI",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    sans-serif;
}

.section-caption {
  color: var(--muted);
  font-size: 0.95rem;
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  transition: 0.15s ease;
  cursor: pointer;
}

.filter-pill:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  background: var(--soft);
}

.filter-pill.active {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(124, 58, 237, 0.1)
  );
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.service-icon {
  width: 20px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.service-label {
  display: inline-block;
  line-height: 1;
}

.results-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.results-badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.82rem;
  background: var(--card);
  color: var(--text);
  font-weight: 700;
}

/* Strong stacking fix for autocomplete dropdowns */
.hero-shell,
.hero-panel,
.search-autocomplete-wrap,
.surface {
  overflow: visible !important;
}

.search-autocomplete-wrap {
  position: relative;
  z-index: 2000 !important;
}

#mukimSuggestions,
#searchSuggestions,
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 999999 !important;
}

.surface:has(#mukimInput),
.surface:has(#searchInput) {
  z-index: 3000 !important;
}

.providers-grid,
.provider-card,
.provider-link {
  position: relative;
  z-index: 1 !important;
}

.selected-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.selected-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1)),
    var(--card);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: 0.16s ease;
}

.selected-filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.1);
}

.selected-filter-chip .chip-remove {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.selected-filter-chip:hover .chip-remove {
  background: #fff;
}

.providers-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  min-height: 0 !important;
  align-content: start !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
}

.providers-grid.row {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
  margin: 0 !important;
}

.providers-grid::before,
.providers-grid::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 768px) {
  .providers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .providers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.providers-grid > .col,
.providers-grid > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  align-self: start !important;
  justify-self: stretch !important;
}

.provider-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.provider-card {
  width: 100%;
  min-height: 190px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: 0.16s ease;
}

.provider-link:hover .provider-card {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.provider-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1 1 auto;
}

.provider-content {
  flex: 1 1 auto;
  min-width: 0;
}

.avatar-box {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.provider-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
  word-break: break-word;
  color: var(--text);
}

.provider-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  max-width: 100%;
}

.provider-meta {
  margin-top: 14px;
}

.provider-meta-title {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.place-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.place-chip {
  font-size: 0.78rem;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  max-width: 100%;
}

.pagination .page-link {
  border-radius: 14px !important;
  border-color: var(--border);
  color: var(--text);
  background: var(--card);
  padding: 0.55rem 0.85rem;
  font-weight: 700;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
}

.skeleton-card {
  height: 190px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, #f8fafc 25%, #eef2f7 37%, #f8fafc 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

html.dark .hero-shell {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(37, 99, 235, 0.16),
      transparent 26%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(124, 58, 237, 0.14),
      transparent 24%
    ),
    linear-gradient(135deg, #23262f 0%, #1f232b 100%);
}

html.dark .hero-label {
  background: rgba(35, 38, 47, 0.88);
}

html.dark .hero-title {
  color: var(--text);
}

html.dark .hero-sub {
  color: var(--muted);
}

html.dark .hero-panel {
  background: var(--card);
  border-color: var(--border);
}

html.dark .surface {
  background: var(--card);
  border-color: var(--border);
}

html.dark .section-title-xl {
  color: var(--text);
}

html.dark .section-caption {
  color: var(--muted);
}

html.dark .results-badge {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
}

html.dark .search-box-modern {
  background: var(--card);
  border-color: var(--border);
}

html.dark .search-box-modern input {
  color: var(--text);
}

html.dark .search-box-modern input::placeholder {
  color: var(--muted);
}

html.dark .search-clear:hover {
  background: #2d3748;
}

html.dark .search-suggestions {
  background: var(--card);
  border-color: var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

html.dark .suggestion-item:hover,
html.dark .suggestion-item.active {
  background: #2d3748;
}

html.dark .suggestion-type {
  background: rgba(37, 99, 235, 0.18);
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.18);
}

html.dark .filter-pill:hover {
  background: #2d3748;
  border-color: #4a5568;
}

html.dark .filter-pill.active {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.22),
    rgba(124, 58, 237, 0.22)
  );
  border-color: #4c51bf;
  color: #fff;
}

html.dark .selected-filter-chip {
  border-color: rgba(99, 102, 241, 0.28);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.24),
    rgba(124, 58, 237, 0.22)
  );
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

html.dark .selected-filter-chip:hover {
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28);
}

html.dark .selected-filter-chip .chip-remove {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

html.dark .provider-link:hover .provider-card {
  border-color: #4a5568;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

html.dark .provider-category {
  background: #2d3748;
}

html.dark .place-chip {
  background: #2d3748;
}

html.dark .avatar-box,
html.dark .avatar-fallback {
  background: linear-gradient(135deg, #2d3748, #23262f);
}

html.dark .pagination .page-item.disabled .page-link {
  background: #2d3748;
  color: var(--muted);
}

html.dark .skeleton-card {
  background: linear-gradient(90deg, #23262f 25%, #2d3748 37%, #23262f 63%);
  background-size: 400% 100%;
}

@media (max-width: 991px) {
  .hero-shell {
    padding: 24px;
  }
}

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

  .hero-shell {
    border-radius: 26px;
    padding: 20px;
  }

  .surface {
    border-radius: 24px;
    padding: 18px;
  }

  .provider-card {
    border-radius: 24px;
    min-height: 180px;
    padding: 16px;
  }

  .avatar-box {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .provider-name {
    font-size: 1.08rem;
  }

  .selected-filter-chip {
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .selected-filter-chip .chip-remove {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }

  .search-box-modern {
    align-items: center;
  }

  .filter-pill {
    align-items: center;
    justify-content: center;
  }

  .search-icon,
  .service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
  }
}
