/**
 * ============================================================================
 * EXPLORE PAGE - APPLE-INSPIRED DESIGN OVERHAUL
 * ============================================================================
 *
 * Design Philosophy:
 * - Clean, high-contrast interfaces
 * - Purposeful whitespace (let content breathe)
 * - Bold, confident typography
 * - Minimal UI chrome - content is the hero
 * - Smooth, purposeful interactions
 * - Premium feel through restraint, not excess
 *
 * Inspired by: Apple.com, Airbnb, Linear, Notion
 * ============================================================================
 */

/* ==========================================================================
   DESIGN TOKENS - Apple-Inspired
   ========================================================================== */
:root {
  /* Typography Scale - Larger, more confident */
  --explore-text-xs: 0.6875rem;    /* 11px */
  --explore-text-sm: 0.8125rem;    /* 13px */
  --explore-text-base: 0.9375rem;  /* 15px */
  --explore-text-lg: 1.0625rem;    /* 17px */
  --explore-text-xl: 1.25rem;      /* 20px */
  --explore-text-2xl: 1.5rem;      /* 24px */
  --explore-text-3xl: 2rem;        /* 32px */

  /* Spacing Scale - Generous whitespace */
  --explore-space-xs: 6px;
  --explore-space-sm: 10px;
  --explore-space-md: 16px;
  --explore-space-lg: 24px;
  --explore-space-xl: 32px;
  --explore-space-2xl: 48px;

  /* Colors - High contrast, minimal palette */
  --explore-bg-primary: #ffffff;
  --explore-bg-secondary: #f5f5f7;  /* Apple gray */
  --explore-bg-tertiary: #fafafa;

  --explore-text-primary: #1d1d1f;   /* Apple black */
  --explore-text-secondary: #6e6e73; /* Apple gray text */
  --explore-text-tertiary: #86868b;

  --explore-border-light: rgba(0, 0, 0, 0.06);
  --explore-border-default: rgba(0, 0, 0, 0.1);
  --explore-border-strong: rgba(0, 0, 0, 0.15);

  /* Accent - Jahaz brand with Apple sensibility */
  --explore-accent: #6366f1;
  --explore-accent-light: #818cf8;
  --explore-accent-subtle: rgba(99, 102, 241, 0.08);

  /* Shadows - Subtle, refined */
  --explore-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --explore-shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --explore-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --explore-shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);

  /* Transitions - Apple-like smoothness */
  --explore-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --explore-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --explore-duration-fast: 150ms;
  --explore-duration-normal: 250ms;
  --explore-duration-slow: 400ms;

  /* Border Radius - Modern, rounded */
  --explore-radius-sm: 8px;
  --explore-radius-md: 12px;
  --explore-radius-lg: 16px;
  --explore-radius-xl: 20px;
  --explore-radius-full: 9999px;
}

/* ==========================================================================
   BASE LAYOUT REFINEMENTS
   ========================================================================== */

/* City Guide Section - Cleaner background */
.city-guide-section {
  background: var(--explore-bg-secondary) !important;
  border-top: 1px solid var(--explore-border-light) !important;
}

/* List Panel - More generous spacing */
.list-panel {
  background: var(--explore-bg-secondary) !important;
  padding: var(--explore-space-lg) !important;
}

/* List Content - Better scroll container */
.list-content {
  padding: var(--explore-space-md) !important;
  background: transparent;
}

/* Desktop sidebar scrolling improvements */
@media (min-width: 1025px) {
  .explore-main.city-view-active .list-content {
    padding: var(--explore-space-lg) !important;
  }
}

/* ==========================================================================
   CATEGORY FILTERS - Refined Pill Design
   ========================================================================== */

/* Filter container - COMPRESSED */
.sidebar-category-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding: 8px 12px !important;
  background: var(--explore-bg-primary) !important;
  border-bottom: none !important;
}

/* Filter chips - COMPRESSED */
.sidebar-category-filters .filter-chip,
.filter-chip {
  flex-shrink: 0;
  padding: 6px 12px !important;
  border-radius: var(--explore-radius-full) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  cursor: pointer;
  border: 1px solid var(--explore-border-default) !important;
  background: var(--explore-bg-primary) !important;
  color: var(--explore-text-secondary) !important;
  transition: all var(--explore-duration-fast) var(--explore-ease-out) !important;
  position: relative;
  overflow: hidden;
}

/* Remove pseudo-element animations from chips */
.filter-chip::before,
.filter-chip::after {
  display: none !important;
}

/* Chip hover - subtle elevation */
.filter-chip:hover:not(.active) {
  background: var(--explore-bg-tertiary) !important;
  border-color: var(--explore-border-strong) !important;
  color: var(--explore-text-primary) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Chip active - confident, bold */
.filter-chip.active {
  background: var(--explore-text-primary) !important;
  color: var(--explore-bg-primary) !important;
  border-color: var(--explore-text-primary) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Hidden Gems chip - subtle gold accent */
.filter-chip.gem-filter {
  background: #fffbeb !important;
  border-color: #fcd34d !important;
  color: #b45309 !important;
}

.filter-chip.gem-filter:hover:not(.active) {
  background: #fef3c7 !important;
  border-color: #fbbf24 !important;
}

.filter-chip.gem-filter.active {
  background: #f59e0b !important;
  color: white !important;
  border-color: #f59e0b !important;
}

/* ==========================================================================
   COLLAPSIBLE FILTER SECTION - Cleaner
   ========================================================================== */

.filter-toggle-header {
  padding: 12px var(--explore-space-lg) !important;
  background: var(--explore-bg-primary) !important;
  border-bottom: 1px solid var(--explore-border-light) !important;
  cursor: pointer;
  user-select: none;
  transition: background var(--explore-duration-fast) ease !important;
}

.filter-toggle-header:hover {
  background: var(--explore-bg-tertiary) !important;
}

.filter-toggle-left {
  font-size: var(--explore-text-sm) !important;
  font-weight: 500 !important;
  color: var(--explore-text-secondary) !important;
  letter-spacing: -0.01em !important;
}

.filter-toggle-count {
  background: var(--explore-accent) !important;
  color: white !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 7px !important;
  border-radius: var(--explore-radius-full) !important;
  min-width: 18px !important;
}

.filter-toggle-count.empty {
  background: var(--explore-border-default) !important;
  color: var(--explore-text-tertiary) !important;
}

.filter-toggle-chevron {
  font-size: 10px !important;
  color: var(--explore-text-tertiary) !important;
}

/* Secondary filters container - COMPRESSED */
.filter-row-secondary {
  padding: 8px 12px !important;
  background: var(--explore-bg-tertiary) !important;
  border-bottom: none !important;
  gap: 6px !important;
}

/* Filter row labels */
.filter-label,
.filter-group-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--explore-text-tertiary) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Price filter buttons - cleaner */
.filter-chip.price-filter {
  padding: 6px 12px !important;
  font-size: var(--explore-text-xs) !important;
  font-weight: 600 !important;
  min-width: auto !important;
  min-height: auto !important;
  border-radius: var(--explore-radius-sm) !important;
}

.filter-chip.price-filter .price-count {
  display: none !important; /* Hide counts for cleaner look */
}

.filter-chip.price-filter.price-budget {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}

.filter-chip.price-filter.price-budget.active {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: white !important;
}

.filter-chip.price-filter.price-moderate {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}

.filter-chip.price-filter.price-moderate.active {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: white !important;
}

.filter-chip.price-filter.price-upscale {
  background: #fffbeb !important;
  border-color: #fcd34d !important;
  color: #b45309 !important;
}

.filter-chip.price-filter.price-upscale.active {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: white !important;
}

/* ==========================================================================
   VIBE FILTERS - Simplified
   ========================================================================== */

.vibe-filter-container {
  gap: 6px !important;
}

.vibe-filter-pill {
  padding: 5px 10px !important;
  border-radius: var(--explore-radius-sm) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  border: 1px solid var(--explore-border-default) !important;
  background: var(--explore-bg-primary) !important;
  color: var(--explore-text-secondary) !important;
  gap: 4px !important;
  transition: all var(--explore-duration-fast) var(--explore-ease-out) !important;
}

.vibe-filter-pill:hover:not(.active) {
  background: var(--explore-bg-tertiary) !important;
  border-color: var(--explore-border-strong) !important;
  transform: none !important;
  box-shadow: none !important;
}

.vibe-filter-pill .vibe-emoji {
  font-size: 13px !important;
}

.vibe-filter-pill .vibe-label {
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

.vibe-filter-pill.active {
  background: var(--explore-text-primary) !important;
  border-color: var(--explore-text-primary) !important;
  color: white !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ==========================================================================
   CUISINE PILLS - Refined
   ========================================================================== */

.cuisine-filter-row {
  padding-top: 6px !important;
  border-top: none !important;
  margin-top: 4px !important;
}

.cuisine-pills-container {
  gap: 6px !important;
}

.cuisine-pill {
  padding: 5px 10px !important;
  border-radius: var(--explore-radius-full) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  border: 1px solid var(--explore-border-default) !important;
  background: var(--explore-bg-primary) !important;
  color: var(--explore-text-secondary) !important;
  transition: all var(--explore-duration-fast) var(--explore-ease-out) !important;
}

.cuisine-pill:hover:not(.active) {
  background: var(--explore-bg-tertiary) !important;
  border-color: var(--explore-border-strong) !important;
}

.cuisine-pill.active {
  background: var(--explore-text-primary) !important;
  border-color: var(--explore-text-primary) !important;
  color: white !important;
}

.cuisine-pill .cuisine-flag {
  font-size: 12px !important;
}

.cuisine-pill .cuisine-count {
  font-size: 10px !important;
  opacity: 0.6 !important;
  margin-left: 3px !important;
}

/* Clear buttons - minimal */
.clear-filters-btn,
.cuisine-clear-btn {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: var(--explore-text-tertiary) !important;
  padding: 4px 8px !important;
  border: none !important;
  background: transparent !important;
  border-radius: var(--explore-radius-sm) !important;
  transition: all var(--explore-duration-fast) ease !important;
}

.clear-filters-btn.visible:hover,
.cuisine-clear-btn:hover {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border-color: transparent !important;
}

/* ==========================================================================
   LIST HEADER - Bold, Confident
   ========================================================================== */

.list-header {
  padding: 6px 8px !important;
  background: var(--explore-bg-primary) !important;
  border-bottom: 1px solid var(--explore-border-light) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.list-header-left h2 {
  font-size: var(--explore-text-lg) !important;
  font-weight: 600 !important;
  color: var(--explore-text-primary) !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.list-header-left p,
#listCount {
  font-size: var(--explore-text-sm) !important;
  color: var(--explore-text-tertiary) !important;
  margin-top: 2px !important;
  font-weight: 400 !important;
}

/* Sort toggle - Apple segmented control style */
.view-toggle {
  display: flex !important;
  background: var(--explore-bg-secondary) !important;
  border-radius: var(--explore-radius-sm) !important;
  padding: 3px !important;
  gap: 2px !important;
}

.view-toggle-btn {
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: var(--explore-text-xs) !important;
  font-weight: 500 !important;
  color: var(--explore-text-secondary) !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: all var(--explore-duration-fast) var(--explore-ease-out) !important;
}

.view-toggle-btn:hover:not(.active) {
  color: var(--explore-text-primary) !important;
  background: rgba(0, 0, 0, 0.03) !important;
}

.view-toggle-btn.active {
  background: var(--explore-bg-primary) !important;
  color: var(--explore-text-primary) !important;
  box-shadow: var(--explore-shadow-sm) !important;
}

/* For You button - special treatment */
#forYouSortBtn {
  background: transparent !important;
  color: var(--explore-accent) !important;
}

#forYouSortBtn:hover:not(.active) {
  background: var(--explore-accent-subtle) !important;
}

#forYouSortBtn.active {
  background: var(--explore-accent) !important;
  color: white !important;
}

/* ==========================================================================
   ACTIVE FILTER BAR - Cleaner Summary
   ========================================================================== */

.active-filter-bar {
  padding: var(--explore-space-sm) var(--explore-space-lg) !important;
  background: var(--explore-accent-subtle) !important;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1) !important;
  gap: var(--explore-space-sm) !important;
}

.active-filter-bar-count {
  font-size: var(--explore-text-xs) !important;
  font-weight: 500 !important;
  color: var(--explore-accent) !important;
}

.active-filter-tag {
  padding: 3px 8px 3px 10px !important;
  border-radius: var(--explore-radius-full) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  background: var(--explore-bg-primary) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  color: var(--explore-accent) !important;
  box-shadow: none !important;
}

.active-filter-tag-remove {
  width: 14px !important;
  height: 14px !important;
  font-size: 12px !important;
  background: rgba(99, 102, 241, 0.1) !important;
}

.active-filter-clear-all {
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 4px 10px !important;
  border-radius: var(--explore-radius-full) !important;
  background: var(--explore-bg-primary) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  color: var(--explore-accent) !important;
}

.active-filter-clear-all:hover {
  background: var(--explore-accent) !important;
  color: white !important;
  border-color: var(--explore-accent) !important;
}

/* ==========================================================================
   PLACE CARDS - Premium, Clean
   ========================================================================== */

.place-list-card {
  background: var(--explore-bg-primary) !important;
  border-radius: var(--explore-radius-lg) !important;
  margin-bottom: var(--explore-space-md) !important;
  box-shadow: var(--explore-shadow-sm) !important;
  border: 1px solid var(--explore-border-light) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all var(--explore-duration-normal) var(--explore-ease-out) !important;
  display: flex !important;
  position: relative !important;
}

/* Remove all the complex pseudo-element overlays */
.place-list-card::before,
.place-list-card::after,
.place-list-card:not(.gem)::before,
.place-list-card:not(.gem)::after {
  display: none !important;
}

/* Clean hover - subtle lift and shadow */
.place-list-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--explore-shadow-lg) !important;
  border-color: var(--explore-border-default) !important;
}

/* Active state - accent border */
.place-list-card.active {
  border-color: var(--explore-accent) !important;
  box-shadow: var(--explore-shadow-md), 0 0 0 3px var(--explore-accent-subtle) !important;
  transform: translateY(-1px) !important;
}

/* Remove category-specific hover effects - keep it clean */
.place-list-card[data-category]:hover {
  border-color: var(--explore-border-default) !important;
  box-shadow: var(--explore-shadow-lg) !important;
}

/* Hidden gems - subtle gold accent */
.place-list-card.gem {
  border-color: #fcd34d !important;
  background: linear-gradient(135deg, #fffbeb 0%, white 50%) !important;
}

.place-list-card.gem::before {
  display: none !important;
}

.place-list-card.gem:hover {
  border-color: #fbbf24 !important;
  box-shadow: var(--explore-shadow-lg), 0 0 0 3px rgba(251, 191, 36, 0.1) !important;
  transform: translateY(-2px) !important;
}

/* Thumbnail - Clean, square aspect */
.place-list-card-thumb {
  width: 110px !important;
  min-width: 110px !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: var(--explore-bg-secondary) !important;
  position: relative !important;
  border-radius: var(--explore-radius-md) 0 0 var(--explore-radius-md) !important;
}

/* Remove zoom effect - keep it simple */
.place-list-card-thumb::before {
  display: none !important;
}

.place-list-card-thumb-overlay {
  display: none !important;
}

/* Fallback thumbnail */
.place-list-card-thumb-fallback {
  font-size: 28px !important;
  background: var(--explore-bg-secondary) !important;
}

.place-list-card:hover .place-list-card-thumb-fallback {
  transform: none !important;
}

/* Hidden gem badge - cleaner */
.place-list-card.gem .place-list-card-thumb::after {
  content: 'Hidden Gem' !important;
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: #f59e0b !important;
  color: white !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border-radius: var(--explore-radius-full) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  box-shadow: var(--explore-shadow-sm) !important;
  animation: none !important;
}

/* Card content - Better typography */
.place-list-card-content {
  padding: var(--explore-space-md) !important;
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.place-list-card-header {
  gap: 0 !important;
}

/* Hide the category icon - cleaner look */
.place-list-card-icon {
  display: none !important;
}

/* Place name - Bold, confident */
.place-list-card-name {
  font-size: var(--explore-text-base) !important;
  font-weight: 600 !important;
  color: var(--explore-text-primary) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
}

.place-list-card:hover .place-list-card-name {
  color: var(--explore-text-primary) !important;
}

.place-list-card.gem:hover .place-list-card-name {
  color: var(--explore-text-primary) !important;
}

/* Meta info - Clean, minimal */
.place-list-card-meta {
  font-size: var(--explore-text-xs) !important;
  color: var(--explore-text-tertiary) !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.place-list-card-meta .rating {
  color: #f59e0b !important;
  font-weight: 600 !important;
  font-size: var(--explore-text-xs) !important;
}

.place-list-card:hover .place-list-card-meta .rating {
  transform: none !important;
}

.place-list-card-meta .reviews {
  color: var(--explore-text-tertiary) !important;
}

/* One-liner - Readable, refined */
.place-list-card-oneliner {
  font-size: var(--explore-text-sm) !important;
  color: var(--explore-text-secondary) !important;
  line-height: 1.5 !important;
  margin-top: 6px !important;
  -webkit-line-clamp: 2 !important;
}

.place-list-card:hover .place-list-card-oneliner {
  color: var(--explore-text-secondary) !important;
}

/* Badges - Minimal, understated */
.place-list-card-badges {
  margin-top: 10px !important;
  gap: 6px !important;
}

.list-badge {
  padding: 3px 8px !important;
  border-radius: var(--explore-radius-full) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  background: var(--explore-bg-secondary) !important;
  color: var(--explore-text-secondary) !important;
}

.list-badge-gem {
  background: #fef3c7 !important;
  color: #b45309 !important;
}

.list-badge-vibe {
  background: #f3e8ff !important;
  color: #7c3aed !important;
}

.list-badge-category {
  background: var(--explore-bg-secondary) !important;
  color: var(--explore-text-secondary) !important;
}

/* Remove badge hover animations */
.place-list-card:hover .place-list-card-badges .list-badge {
  transform: none !important;
  box-shadow: none !important;
}

/* Quick save button - Clean, minimal */
.quick-save-btn {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: var(--explore-radius-full) !important;
  border: none !important;
  background: var(--explore-bg-primary) !important;
  box-shadow: var(--explore-shadow-md) !important;
  cursor: pointer !important;
  font-size: 14px !important;
  opacity: 0 !important;
  transform: scale(0.9) !important;
  transition: all var(--explore-duration-fast) var(--explore-ease-out) !important;
  z-index: 10 !important;
}

.place-list-card:hover .quick-save-btn {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.quick-save-btn:hover {
  background: #fef2f2 !important;
  transform: scale(1.1) !important;
  box-shadow: var(--explore-shadow-lg) !important;
}

.quick-save-btn.saved {
  opacity: 1 !important;
  transform: scale(1) !important;
  background: #f3e8ff !important;
  color: #9333ea !important;
  animation: none !important;
}

.quick-save-btn.saved::after {
  display: none !important;
}

/* ==========================================================================
   SEARCH BAR - Premium, Floating
   ========================================================================== */

.search-container {
  top: 80px !important;
  width: 420px !important;
}

.search-input {
  padding: 16px 150px 16px 48px !important;
  font-size: var(--explore-text-base) !important;
  font-weight: 400 !important;
  border: none !important;
  border-radius: var(--explore-radius-lg) !important;
  box-shadow: var(--explore-shadow-xl) !important;
  background: var(--explore-bg-primary) !important;
  color: var(--explore-text-primary) !important;
  letter-spacing: -0.01em !important;
}

.search-input::placeholder {
  color: var(--explore-text-tertiary) !important;
}

.search-input:focus {
  box-shadow: var(--explore-shadow-xl), 0 0 0 3px var(--explore-accent-subtle) !important;
  outline: none !important;
}

.search-icon {
  left: 16px !important;
  color: var(--explore-text-tertiary) !important;
  font-size: 16px !important;
}

/* Search buttons - cleaner */
.search-btn {
  background: var(--explore-bg-secondary) !important;
  border: none !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: var(--explore-radius-sm) !important;
  font-size: 16px !important;
  transition: all var(--explore-duration-fast) ease !important;
}

.search-btn:hover {
  background: var(--explore-bg-tertiary) !important;
  transform: none !important;
}

.near-me-btn {
  background: var(--explore-text-primary) !important;
  color: var(--explore-bg-primary) !important;
  padding: 8px 14px !important;
  border-radius: var(--explore-radius-sm) !important;
  font-size: var(--explore-text-sm) !important;
  font-weight: 500 !important;
  border: none !important;
  transition: all var(--explore-duration-fast) ease !important;
}

.near-me-btn:hover {
  background: #333 !important;
  transform: none !important;
}

/* ==========================================================================
   BREADCRUMB - Subtle Navigation
   ========================================================================== */

.explore-breadcrumb {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  border-radius: var(--explore-radius-md) !important;
  padding: 6px 14px !important;
  box-shadow: var(--explore-shadow-sm) !important;
}

.explore-breadcrumb ol {
  font-size: var(--explore-text-sm) !important;
  gap: 6px !important;
}

.breadcrumb-item {
  font-size: var(--explore-text-sm) !important;
  font-weight: 500 !important;
  color: var(--explore-text-secondary) !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
}

.breadcrumb-item:hover:not(.current) {
  background: var(--explore-bg-secondary) !important;
  color: var(--explore-text-primary) !important;
}

.breadcrumb-item.current {
  color: var(--explore-text-primary) !important;
  font-weight: 600 !important;
}

.breadcrumb-separator {
  color: var(--explore-text-tertiary) !important;
  font-size: 10px !important;
}

/* ==========================================================================
   EMPTY STATE - Inviting
   ========================================================================== */

.list-empty {
  text-align: center !important;
  padding: var(--explore-space-2xl) var(--explore-space-lg) !important;
  color: var(--explore-text-tertiary) !important;
}

.list-empty-icon {
  font-size: 40px !important;
  margin-bottom: var(--explore-space-md) !important;
  opacity: 0.8 !important;
}

.list-empty p {
  font-size: var(--explore-text-sm) !important;
  line-height: 1.6 !important;
}

/* ==========================================================================
   MOBILE REFINEMENTS
   ========================================================================== */

@media (max-width: 768px) {
  .search-container {
    width: calc(100% - 32px) !important;
    left: 16px !important;
    top: 72px !important;
  }

  .search-input {
    padding: 14px 130px 14px 44px !important;
    font-size: 15px !important;
    border-radius: var(--explore-radius-md) !important;
  }

  .sidebar-category-filters {
    padding: var(--explore-space-sm) var(--explore-space-md) !important;
    gap: 8px !important;
  }

  .filter-chip {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }

  .list-header {
    padding: var(--explore-space-sm) var(--explore-space-md) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--explore-space-sm) !important;
  }

  .view-toggle {
    align-self: stretch !important;
  }

  .view-toggle-btn {
    flex: 1 !important;
    text-align: center !important;
  }

  .place-list-card-thumb {
    width: 90px !important;
    min-width: 90px !important;
  }

  .place-list-card-content {
    padding: var(--explore-space-sm) !important;
  }

  .place-list-card-name {
    font-size: 14px !important;
  }

  .place-list-card-oneliner {
    font-size: 12px !important;
    -webkit-line-clamp: 1 !important;
  }

  .place-list-card-badges {
    display: none !important;
  }
}

/* ==========================================================================
   ANIMATIONS - Subtle, Purposeful
   ========================================================================== */

/* Disable excessive animations globally */
.place-list-card,
.filter-chip,
.vibe-filter-pill,
.cuisine-pill {
  animation: none !important;
}

/* Smooth scroll behavior */
.list-content {
  scroll-behavior: smooth;
}

/* Loading skeleton pulse - subtle */
@keyframes subtle-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

/* ==========================================================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================================================== */

/* Focus states - clear and accessible */
.filter-chip:focus-visible,
.vibe-filter-pill:focus-visible,
.cuisine-pill:focus-visible,
.place-list-card:focus-visible,
.view-toggle-btn:focus-visible,
.quick-save-btn:focus-visible {
  outline: 2px solid var(--explore-accent) !important;
  outline-offset: 2px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .place-list-card {
    border-width: 2px !important;
  }

  .filter-chip,
  .vibe-filter-pill,
  .cuisine-pill {
    border-width: 2px !important;
  }
}

/* Reduced motion - respect user preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
