/* Boca Raton & Surrounding Areas Dining Directory - Stylesheet */
/* Yelp & BBB inspired modern, responsive local directory theme */

:root {
  --primary: #d32323; /* Yelp signature vibrant red */
  --primary-hover: #b81f1f;
  --secondary: #0073bb; /* Yelp / BBB trust blue */
  --secondary-hover: #005a92;
  --accent-gold: #f5a623; /* Rating stars */
  --verified-green: #2e7d32; /* BBB style trust badge */
  --verified-bg: #e8f5e9;
  --bg-dark: #1e293b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1f2937;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-focus: #d32323;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.12), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-icon {
  background: var(--primary);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(211, 35, 35, 0.3);
}

.brand-text span {
  color: var(--primary);
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
  background: #f1f5f9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 10px rgba(211, 35, 35, 0.25);
}

.btn-outline {
  border-color: var(--border-color);
  background: #fff;
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-success {
  background: var(--verified-green);
  color: #fff;
}

.btn-success:hover {
  background: #236526;
}

.btn-danger {
  background: #ef4444;
  color: #fff;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

/* --- HERO SECTION WITH BIG SEARCH & CITY TO THE RIGHT --- */
.hero-section {
  /* Lighter, left-weighted overlay: text side stays readable, Mizner Park shows through on the right */
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.66) 0%, rgba(15, 23, 42, 0.32) 50%, rgba(15, 23, 42, 0.04) 100%),
              linear-gradient(180deg, rgba(15, 23, 42, 0) 65%, rgba(15, 23, 42, 0.3) 100%),
              url('/images/mizner-park-1400.webp') center 40% / cover no-repeat;
  color: #ffffff;
  padding: 4rem 1.5rem 4.25rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 15% 85%, rgba(0, 115, 187, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fed7aa;
}

.hero-title {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  color: #f87171;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #e2e8f0;
  max-width: 780px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* THE REQUESTED PROMINENT SEARCH BAR WITH CITY TO THE RIGHT */
.search-container-box {
  background: #ffffff;
  padding: 0.45rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 0 4px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1050px;
}

.search-field-left {
  flex: 1.4;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-color);
}

.search-icon {
  font-size: 1.25rem;
  margin-right: 0.75rem;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
}

.search-input::placeholder {
  color: #94a3b8;
}

/* City To The Right */
.search-city-right {
  flex: 1.1;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #fafafa;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.city-pin-icon {
  font-size: 1.25rem;
  margin-right: 0.65rem;
  color: var(--primary);
}

.city-selector-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.city-selector-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 2px;
}

.city-select {
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  background: transparent;
  cursor: pointer;
  width: 100%;
  padding-right: 1rem;
}

.search-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 1.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  margin-left: 0.45rem;
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--primary-hover);
}

/* Quick Area Badges under search */
.hero-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
}

.hero-pills-label {
  color: #94a3b8;
  font-weight: 600;
  margin-right: 0.35rem;
}

.area-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.area-pill:hover,
.area-pill.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* --- MAIN CONTENT LAYOUT --- */
.content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* --- BOCA LOCALLY OWNED & COMMUNITY BANNER --- */
.boca-local-banner {
  margin: 3.5rem 0 1.5rem;
  border-radius: var(--radius-xl, 16px);
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.82) 52%, rgba(15, 23, 42, 0.35) 100%),
              url('/images/mizner-palms-1400.webp') right center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 2.25rem 2.5rem;
  color: #ffffff;
}

.local-banner-content {
  max-width: 660px;
  position: relative;
  z-index: 2;
}

.local-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.32rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8fafc;
  margin-bottom: 0.85rem;
}

.local-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.local-banner-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.local-banner-desc {
  font-size: 0.98rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.local-banner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.local-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
}

@media (max-width: 768px) {
  .hero-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.62) 100%),
                url('/images/mizner-park-800.webp') center center / cover no-repeat;
  }
  .hero-eyebrow,
  .local-banner-badge,
  .local-pill {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .boca-local-banner {
    padding: 1.75rem 1.25rem;
    min-height: auto;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%),
                url('/images/mizner-palms-800.webp') center center / cover no-repeat;
  }
  .local-banner-title {
    font-size: 1.4rem;
  }
  .local-banner-desc {
    font-size: 0.9rem;
  }
}

/* --- INDUSTRY VERTICALS TABS --- */
.vertical-tabs-bar {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.vertical-tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: var(--shadow-sm);
}

.vertical-tab-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.vertical-tab-btn.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  box-shadow: var(--shadow-md);
}

/* --- CATEGORY CHIPS SCROLLER --- */
.categories-section {
  margin-bottom: 2rem;
}

.section-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.section-title-sm {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.category-chips-carousel {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  scrollbar-width: thin;
}

.category-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.category-chip:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.category-chip.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* --- ZIP CODES BAR FOR BOCA & SURROUNDING --- */
.zip-bar-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

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

.zip-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.zip-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.zip-dropdown-wrapper {
  position: relative;
  min-width: 280px;
}

.zip-select-input {
  width: 100%;
  padding: 0.6rem 2.25rem 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  transition: var(--transition);
}

.zip-select-input:hover {
  background-color: #ffffff;
  border-color: #94a3b8;
}

.zip-select-input:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.zip-chips-grid {
  display: none;
}

.zip-chip {
  display: none;
}

.zip-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.zip-chip.active {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
}

.zip-chip-tag {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: normal;
}

/* --- FILTER TOOLBAR --- */
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.filter-left-counts {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.filter-left-counts span {
  color: var(--primary);
}

.filter-controls-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-select {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

.price-pill-btn {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border-color);
  background: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
}

.price-pill-btn.active {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

.clear-filters-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.2rem 0.5rem;
}

/* --- DIRECTORY LISTINGS GRID --- */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

/* --- HOMEPAGE CATEGORY SHOWCASE (TOP RANKED SPOTLIGHT) --- */
.listings-grid.showcase-mode {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.category-showcase-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.category-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--border-color);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-showcase-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-showcase-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.category-showcase-text {
  display: flex;
  flex-direction: column;
}

.category-showcase-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-showcase-count-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  vertical-align: middle;
}

.category-showcase-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}

.category-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary, #0284c7);
  background: #f8fafc;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.category-explore-btn:hover {
  background: var(--primary, #0284c7);
  color: #ffffff;
  border-color: var(--primary, #0284c7);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

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

@media (max-width: 640px) {
  .category-showcase-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .category-explore-btn {
    width: 100%;
    justify-content: center;
  }
  .category-showcase-title {
    font-size: 1.15rem;
  }
}

/* --- YELP / BBB INSPIRED CARD DESIGN --- */
.listing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

/* Featured Listing Standout Card */
.listing-card.is-featured-listing {
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.18);
}

.listing-card.is-featured-listing:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28);
  border-color: #d97706;
}

.card-image-wrap {
  position: relative;
  height: 200px;
  width: 100%;
  background: #e2e8f0;
  overflow: hidden;
}

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

.listing-card:hover .card-img {
  transform: scale(1.04);
}

.card-badge-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.badge-featured {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.badge-bbb-verified {
  background: var(--verified-green);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-badge-price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

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

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.card-title:hover {
  color: var(--primary);
}

/* Yelp-Style Rating Row */
.rating-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.stars-badge {
  background: var(--accent-gold);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.star-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-category-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.card-category-name {
  font-weight: 700;
  color: #334155;
}

.card-bullet {
  color: #cbd5e1;
}

.card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.card-tag-pill {
  font-size: 0.74rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-location-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
}

.card-location-zip {
  font-weight: 700;
  color: #0f172a;
}

.card-actions {
  display: flex;
  gap: 0.45rem;
}

/* --- EMPTY STATE --- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
  grid-column: 1 / -1;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.empty-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- MODAL DIALOG FOR DETAILS --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalSlideUp 0.25s ease-out;
}

/* Quick View / Details Modal: opens up to 80% of page width */
#details-modal .modal-content {
  width: 80vw;
  max-width: 1250px;
  max-height: 88vh;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  #details-modal .modal-content {
    width: 95vw;
    max-height: 92vh;
  }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #000;
}

.modal-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

@media (max-width: 768px) {
  .modal-hero-img {
    height: 220px;
  }
}

.modal-body-padding {
  padding: 2.25rem 2.5rem;
}

@media (max-width: 768px) {
  .modal-body-padding {
    padding: 1.25rem;
  }
}

/* --- CLIENT SIDE SUBMISSION FORM STYLES --- */
.form-container {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-label .req {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
  background: #fff;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 35, 35, 0.15);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.alert-box {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  display: none;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --- ADMIN DASHBOARD STYLES --- */
.admin-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  overflow: hidden;
}

.admin-header-strip {
  background: #0f172a;
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  background: #f8fafc;
}

.stat-box {
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-pending { color: #f59e0b; }
.stat-approved { color: var(--verified-green); }

.pending-item-card {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: background 0.15s ease;
}

.pending-item-card:last-child {
  border-bottom: none;
}

.pending-item-card:hover {
  background: #f8fafc;
}

.pending-thumb {
  width: 120px;
  height: 90px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.pending-info {
  flex: 1;
}

.pending-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 130px;
}

/* --- FOOTER --- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 1.5rem 2rem;
  border-top: 1px solid #1e293b;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .search-container-box {
    flex-direction: column;
    padding: 0.5rem;
  }
  .search-field-left {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .search-city-right {
    border-radius: 0;
  }
  .search-btn {
    margin-top: 0.5rem;
    margin-left: 0;
    padding: 0.75rem;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .pending-item-card {
    flex-direction: column;
  }
  .pending-actions {
    flex-direction: row;
    width: 100%;
  }
}

/* --- PHONE & DOMAIN MASKING / CLAIM STYLES --- */
.card-phone-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 3px;
}

.phone-masked-text {
  font-family: inherit;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.badge-locked-micro {
  font-size: 0.65rem;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}

.btn-locked-phone {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-locked-phone:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.badge-upgrade-call {
  font-size: 0.65rem;
  font-weight: 800;
  background: #ef4444;
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-left: 2px;
}

.badge-locked-pill {
  font-size: 0.74rem;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-unlocked-pill {
  font-size: 0.74rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Modal Upgrade Pitch Box */
.upgrade-pitch-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
  position: relative;
}

.upgrade-pitch-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.upgrade-pitch-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.upgrade-pitch-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.upgrade-pitch-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.pitch-feat-item {
  font-size: 0.84rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.btn-upgrade-action {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
  transition: var(--transition);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-upgrade-action:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-1px);
}

.btn-locked-website {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-locked-website:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.btn-locked-phone-lg {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-locked-phone-lg:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.badge-lock-inline {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Claim Modal Content */
.claim-modal-content {
  max-width: 680px;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
}

.claim-badge-eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #dc2626;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.claim-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.claim-modal-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.claim-pitch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.claim-pitch-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.claim-pitch-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.claim-pitch-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.claim-pitch-card p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.claim-masked-tag {
  display: inline-block;
  background: #e2e8f0;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
  color: #0f172a;
}

.claim-demo-box {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.claim-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.claim-demo-preview {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
}

