/* ============================================================
   FLORENCE FINDER — main.css
   Premium local discovery platform design system
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('home-mockup.css');

/* ============================================================
   2. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --brand-primary:       #006D77;
  --brand-primary-dark:  #00565F;
  --brand-primary-light: #83C5BE;
  --brand-secondary:     #0B2545;
  --brand-accent:        #E76F51;
  --brand-accent-dark:   #CC5A3C;
  --brand-coral:         #E76F51;
  --brand-gold:          #F4B942;
  --brand-gold-light:    #FFF3CD;
  --brand-sage:          #DDEBDD;
  --brand-sage-dark:     #BDD4BD;
  --brand-cream:         #FFF8EC;
  --brand-cream-dark:    #F5EDD8;
  --brand-navy:          #0B2545;
  --brand-clay:          #C77D57;

  /* Borders */
  --border-soft:         #E9DFCF;
  --border-medium:       #D4C5AD;

  /* Text */
  --text-dark:           #0B2545;
  --text-body:           #2D3748;
  --text-muted:          #4B5563;
  --text-light:          #8FA3B1;

  /* Radii */
  --card-radius:         16px;
  --card-radius-sm:      10px;
  --btn-radius:          50px;

  /* Shadows */
  --shadow-soft:         0 2px 16px rgba(11,37,69,0.08);
  --shadow-hover:        0 8px 32px rgba(11,37,69,0.16);
  --shadow-card:         0 4px 20px rgba(11,37,69,0.10);

  /* Layout */
  --container-width:     1280px;
  --header-height:       70px;

  /* Transitions */
  --transition:          0.2s ease;

  /* Typography */
  --font-heading:        'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:           'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================================
   3. MODERN CSS RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--brand-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip to content (Requirement 11) */
.ff-skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  background: var(--brand-primary, #0E5E66);
  color: white;
  padding: 10px 20px;
  font-weight: 700;
  z-index: 100000;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: top 0.2s ease-in-out;
  text-decoration: none;
}
.ff-skip-link:focus {
  top: 0 !important;
  outline: 3px solid #F5C451;
  outline-offset: 2px;
}

/* Accessible search input focus ring (Requirement 11) */
input[type="search"]:focus,
input[type="text"].ff-search-input:focus,
.ff-search-bar input:focus,
.ff-events-hero__search-input:focus {
  outline: 2px solid #0E5E66 !important;
  outline-offset: 2px !important;
}

/* Polite live announcer for screen readers (Requirement 8) */
.ff-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.ff-container {
  max-width: var(--container-width);
  padding: 0 24px;
  margin: 0 auto;
  width: 100%;
}

.ff-section {
  padding: 60px 0;
}

.ff-section--sm {
  padding: 40px 0;
}

.ff-section--lg {
  padding: 80px 0;
}

/* Grid */
.ff-grid {
  display: grid;
  gap: 24px;
}

.ff-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.ff-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ff-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.ff-grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Card Grid layout for directory listing pages */
.ff-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* List layout style for card grid (e.g. search list items) */
.ff-card-grid--list {
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Card list fallback container */
.ff-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Flex */
.ff-flex {
  display: flex;
}

.ff-flex--center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-flex--between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ff-flex--wrap {
  display: flex;
  flex-wrap: wrap;
}

.ff-flex--col {
  display: flex;
  flex-direction: column;
}

.ff-gap-xs { gap: 4px; }
.ff-gap-sm { gap: 8px; }
.ff-gap-md { gap: 16px; }
.ff-gap-lg { gap: 24px; }
.ff-gap-xl { gap: 40px; }

.ff-align-center { align-items: center; }
.ff-align-start   { align-items: flex-start; }
.ff-align-end     { align-items: flex-end; }

.ff-justify-center  { justify-content: center; }
.ff-justify-between { justify-content: space-between; }
.ff-justify-end     { justify-content: flex-end; }

/* ============================================================
   5. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem;    font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem;  font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
h5 { font-size: 1rem;    font-weight: 700; letter-spacing: -0.02em; }
h6 { font-size: 0.875rem; font-weight: 700; letter-spacing: -0.02em; }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.ff-section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.ff-section-title--accent::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: 2px;
  margin-top: 10px;
}

.ff-section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.ff-lead {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.7;
}

.ff-text-muted  { color: var(--text-muted); }
.ff-text-light  { color: var(--text-light); }
.ff-text-sm     { font-size: 0.875rem; }
.ff-text-tiny   { font-size: 0.75rem; }
.ff-text-navy   { color: var(--brand-navy); }
.ff-text-teal   { color: var(--brand-primary); }
.ff-text-coral  { color: var(--brand-coral); }
.ff-text-gold   { color: var(--brand-gold); }
.ff-text-white  { color: white; }

.ff-font-heading { font-family: var(--font-heading); }
.ff-font-bold    { font-weight: 700; }
.ff-font-600     { font-weight: 600; }

.ff-text-center  { text-align: center; }
.ff-text-left    { text-align: left; }
.ff-text-right   { text-align: right; }

/* Line clamping */
.ff-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.ff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0 24px;
  min-height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition),
              box-shadow var(--transition),
              transform var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.ff-btn:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 3px;
}

.ff-btn:hover {
  transform: translateY(-1px);
}

.ff-btn:active {
  transform: translateY(0);
}

/* Primary */
.ff-btn--primary {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}
.ff-btn--primary:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  box-shadow: 0 4px 16px rgba(0,109,119,0.35);
}

/* Coral / Join */
.ff-btn--coral {
  background: var(--brand-coral);
  color: white;
  border-color: var(--brand-coral);
}
.ff-btn--coral:hover {
  background: var(--brand-accent-dark);
  border-color: var(--brand-accent-dark);
  box-shadow: 0 4px 16px rgba(231,111,81,0.35);
}

/* Outline */
.ff-btn--outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.ff-btn--outline:hover {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(0,109,119,0.25);
}

/* Navy */
.ff-btn--navy {
  background: var(--brand-navy);
  color: white;
  border-color: var(--brand-navy);
}
.ff-btn--navy:hover {
  background: #0a1e38;
  box-shadow: 0 4px 16px rgba(11,37,69,0.35);
}

/* Ghost */
.ff-btn--ghost {
  background: transparent;
  color: var(--brand-primary);
  border-color: transparent;
}
.ff-btn--ghost:hover {
  background: rgba(0,109,119,0.08);
  transform: translateY(-1px);
}

/* Gold */
.ff-btn--gold {
  background: var(--brand-gold);
  color: var(--brand-navy);
  border-color: var(--brand-gold);
}
.ff-btn--gold:hover {
  background: #e0a828;
  box-shadow: 0 4px 16px rgba(244,185,66,0.4);
}

/* White outline */
.ff-btn--white-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.ff-btn--white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

/* Sizes */
.ff-btn--sm {
  font-size: 0.8125rem;
  padding: 0 16px;
  min-height: 36px;
}

.ff-btn--lg {
  font-size: 1.0625rem;
  padding: 0 36px;
  min-height: 54px;
}

.ff-btn--xl {
  font-size: 1.125rem;
  padding: 0 48px;
  min-height: 60px;
}

/* Icon only */
.ff-btn--icon {
  padding: 0;
  width: 44px;
  height: 44px;
  min-height: unset;
  border-radius: 50%;
}

.ff-btn--icon.ff-btn--sm {
  width: 36px;
  height: 36px;
}

/* Full width */
.ff-btn--full {
  width: 100%;
}

/* Loading */
.ff-btn--loading {
  pointer-events: none;
  opacity: 0.8;
}

.ff-btn--loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: ffSpin 0.7s linear infinite;
  margin-left: 8px;
}

/* ============================================================
   7. BADGES
   ============================================================ */
.ff-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--btn-radius);
  padding: 3px 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ff-badge--food     { background: rgba(0,109,119,0.12); color: var(--brand-primary); }
.ff-badge--event    { background: rgba(231,111,81,0.12); color: var(--brand-coral); }
.ff-badge--job      { background: rgba(11,37,69,0.12); color: var(--brand-navy); }
.ff-badge--classified { background: rgba(199,125,87,0.12); color: var(--brand-clay); }
.ff-badge--deal     { background: var(--brand-gold-light); color: var(--brand-navy); }
.ff-badge--award    { background: linear-gradient(90deg, var(--brand-gold), #e0a828); color: var(--brand-navy); }
.ff-badge--open     { background: #D1FAE5; color: #065F46; }
.ff-badge--closed   { background: #FEE2E2; color: #991B1B; }
.ff-badge--featured { background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-light)); color: white; }
.ff-badge--verified { background: rgba(0,109,119,0.1); color: var(--brand-primary); }
.ff-badge--verified::before { content: '✓'; font-weight: 900; }
.ff-badge--new      { background: rgba(231,111,81,0.15); color: var(--brand-coral); }
.ff-badge--free     { background: var(--brand-sage); color: #3D6B3D; }
.ff-badge--live     { background: var(--brand-coral); color: white; }
.ff-badge--live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  display: inline-block;
  animation: ffPulse 1.2s ease-in-out infinite;
}

/* ============================================================
   8. CARDS — Core Component
   ============================================================ */
.ff-card {
  background: white;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
}

.ff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Card image */
.ff-card__image {
  position: relative;
  overflow: hidden;
  background: var(--brand-sage);
}

.ff-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

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

.ff-card__image--standard { aspect-ratio: 16/9; }
.ff-card__image--square   { aspect-ratio: 1/1; }
.ff-card__image--wide     { aspect-ratio: 21/9; }
.ff-card__image--portrait { aspect-ratio: 3/4; }
.ff-card__image--event    { aspect-ratio: 4/3; }

/* Overlay on image */
.ff-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,37,69,0.5) 0%, transparent 50%);
  pointer-events: none;
}

/* Image badges */
.ff-card__image-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.ff-card__image-badge--right {
  left: auto;
  right: 12px;
}

/* Card body */
.ff-card__body,
.ff-card .card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ff-card__body > *:last-child,
.ff-card .card-body > *:last-child {
  margin-top: auto;
}

/* Card cover image for legacy templates */
.card-cover {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  background-color: var(--brand-sage);
}

.ff-card__body--lg {
  padding: 24px;
}

/* Card title */
.ff-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-card__title a {
  color: inherit;
  transition: color var(--transition);
}

.ff-card__title a:hover {
  color: var(--brand-primary);
}

/* Card meta */
.ff-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.ff-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ff-card__meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Card description */
.ff-card__description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Card footer */
.ff-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border-soft);
  background: transparent;
}

/* Card rating */
.ff-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
}

.ff-card__rating-stars {
  color: var(--brand-gold);
  letter-spacing: 1px;
}

.ff-card__rating-count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.ff-card__rating-avg {
  font-weight: 700;
  color: var(--brand-gold);
}

/* Card price */
.ff-card__price {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.9375rem;
}

.ff-card__price--strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8125rem;
  margin-left: 4px;
}

/* Card actions */
.ff-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Save button */
.ff-save-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
  color: var(--text-muted);
  flex-shrink: 0;
}

.ff-save-btn:hover {
  border-color: var(--brand-coral);
  color: var(--brand-coral);
  transform: scale(1.1);
}

.ff-save-btn.is-saved {
  background: var(--brand-coral);
  border-color: var(--brand-coral);
  color: white;
}

.ff-save-btn svg {
  width: 16px;
  height: 16px;
}

/* ─── Card Variants ─────────────────────────────────────── */

/* Business card */
.ff-card--business .ff-card__image {
  aspect-ratio: 16/9;
}

.ff-card--business .ff-card__logo {
  position: absolute;
  bottom: -24px;
  left: 20px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 2px solid white;
  z-index: 2;
}

.ff-card--business .ff-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-card--business .ff-card__body {
  padding-top: 32px;
}

/* Event card */
.ff-card--event .ff-card__image {
  aspect-ratio: 4/3;
}

.ff-card--event .ff-card__date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  border-radius: var(--card-radius-sm);
  padding: 6px 10px;
  text-align: center;
  min-width: 50px;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.ff-card--event .ff-card__date-month {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  line-height: 1;
}

.ff-card--event .ff-card__date-day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  display: block;
}

/* Menu item card — horizontal */
.ff-card--menu-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.ff-card--menu-item .ff-card__image {
  width: 120px;
  min-width: 120px;
  aspect-ratio: unset;
  border-radius: 0;
  border-top-left-radius: var(--card-radius);
  border-bottom-left-radius: var(--card-radius);
}

.ff-card--menu-item .ff-card__body {
  flex: 1;
  min-width: 0;
}

/* Job card */
.ff-card--job {
  padding: 20px;
  border: 1.5px solid var(--border-soft);
  box-shadow: none;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

.ff-card--job:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-soft);
}

.ff-card--job .ff-card__company {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ff-card--job .ff-card__company-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-sage);
}

/* Custom Job Card layout */
.ff-card--job__inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.ff-card--job__logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-card--job__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-card--job__logo-placeholder {
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-card--job__content {
  flex: 1;
  min-width: 0;
}

.ff-card--job__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.ff-card--job__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.ff-card--job__title a {
  color: var(--brand-navy);
  text-decoration: none;
  transition: color var(--transition);
}

.ff-card--job__title a:hover {
  color: var(--brand-primary);
}

.ff-card--job__pay {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-primary);
  white-space: nowrap;
}

.ff-card--job__company {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.ff-card--job__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ff-card--job__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  min-height: 72px;
  flex-shrink: 0;
  align-self: stretch;
}

.ff-card--job__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ff-card--job__inner {
    flex-direction: column;
    gap: 16px;
  }
  
  .ff-card--job__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .ff-card--job__actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: auto;
    border-top: 1px solid var(--border-soft);
    padding-top: 12px;
    margin-top: 12px;
  }
}

/* Classified card */
.ff-card--classified .ff-card__image {
  aspect-ratio: 4/3;
}

.ff-card--classified .ff-card__price-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--brand-navy);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 4px 12px;
  border-radius: var(--btn-radius);
  z-index: 2;
}

/* Deal card */
.ff-card--deal .ff-card__discount-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--brand-coral);
  color: white;
  font-weight: 800;
  font-size: 1.125rem;
  padding: 12px 14px;
  border-bottom-left-radius: var(--card-radius);
  z-index: 2;
  text-align: center;
  line-height: 1.1;
}

.ff-card--deal .ff-card__discount-badge small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.9;
}

.ff-card--deal .ff-card__expiry {
  font-size: 0.75rem;
  color: var(--brand-coral);
  font-weight: 600;
}

/* Award card */
.ff-card--award {
  border-top: 4px solid var(--brand-gold);
  text-align: center;
  padding: 24px 20px;
}

.ff-card--award .ff-card__trophy {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.ff-card--award .ff-card__category {
  margin-bottom: 8px;
}

.ff-card--award .ff-card__nominee {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

/* Meetup card */
.ff-card--meetup .ff-card__members {
  display: flex;
  align-items: center;
  gap: -8px;
  margin-top: 8px;
}

.ff-card--meetup .ff-member-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  margin-left: -8px;
  background: var(--brand-sage-dark);
}

.ff-card--meetup .ff-member-avatar:first-child {
  margin-left: 0;
}

.ff-card--meetup .ff-member-count {
  margin-left: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Featured card */
.ff-card--featured {
  border: 2px solid var(--brand-gold);
}

.ff-card--featured .ff-card__body {
  padding: 24px;
}

.ff-card--featured .ff-card__title {
  font-size: 1.25rem;
  -webkit-line-clamp: 2;
}

/* ============================================================
   9. HEADER
   ============================================================ */
#ff-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: white;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 1px 4px rgba(11,37,69,0.06);
  transition: box-shadow 0.3s ease;
}

#ff-header.ff-header--scrolled {
  box-shadow: var(--shadow-soft);
}

.ff-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  padding: 0 24px;
  margin: 0 auto;
  gap: 24px;
}

/* Logo */
.ff-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.ff-logo__icon {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* Custom logo image styling to bypass square cropping and backgrounds */
.ff-logo__img-custom {
  width: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: block;
}
.ff-logo__img-custom--header {
  height: 52px !important;
}
.ff-logo__img-custom--footer {
  height: 56px !important;
}
.ff-logo__img-custom--admin {
  height: 32px !important;
}

.ff-logo__icon svg {
  width: 20px;
  height: 20px;
}

.ff-logo__text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ff-logo__name {
  color: var(--brand-navy);
}

.ff-logo__tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Nav links */
.ff-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.ff-nav__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.ff-nav__link:hover {
  color: var(--brand-primary);
  background: rgba(0,109,119,0.06);
}

.ff-nav__link.active,
.ff-nav__link--active {
  color: var(--brand-primary) !important;
  background: transparent !important;
  border-bottom: 3px solid #E9B949 !important;
  border-radius: 0 !important;
  padding-bottom: 4px !important;
}

#ff-nav-signin {
  border: 2px solid #0E5E66 !important;
  color: #0E5E66 !important;
  background: transparent !important;
  border-radius: 999px !important;
}

#ff-nav-signin:hover {
  background: rgba(14, 94, 102, 0.08) !important;
  color: #0E5E66 !important;
}

/* Nav dropdown */
.ff-nav__dropdown {
  position: relative;
  display: inline-flex;
}

.ff-nav__link--dropdown svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ff-nav__dropdown--open .ff-nav__link--dropdown svg,
.ff-nav__link--dropdown[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ff-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--card-radius-sm);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-soft);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

.ff-nav__dropdown-menu--panel {
  min-width: min(430px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 12px;
}

.ff-nav__dropdown:hover .ff-nav__dropdown-menu,
.ff-nav__dropdown--open .ff-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ff-nav__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.ff-nav__dropdown-menu a:hover {
  background: var(--brand-sage);
  color: var(--brand-primary);
}

.ff-nav__dropdown-menu a.ff-nav__dropdown-item--active {
  background: rgba(0,109,119,0.08);
  color: var(--brand-primary);
}

.ff-nav-panel__intro {
  display: grid;
  gap: 3px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 6px;
}

.ff-nav-panel__intro strong {
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--brand-navy);
}

.ff-nav-panel__intro span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.ff-nav-panel__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.ff-nav__dropdown-menu a.ff-nav-panel__item {
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  min-width: 0;
}

@media (max-width: 1120px) {
  .ff-nav-panel__links {
    grid-template-columns: 1fr;
  }
}

.ff-nav-panel__item > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ff-nav-panel__item strong {
  font-size: 0.88rem;
  line-height: 1.2;
}

.ff-nav-panel__item small {
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--text-muted);
}

.ff-nav-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--brand-primary);
  background: rgba(0,109,119,0.08);
  flex: 0 0 auto;
}

.ff-nav-panel__icon svg {
  width: 17px;
  height: 17px;
}

/* Nav actions */
.ff-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.ff-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  border: 1.5px solid var(--border-soft);
  background: transparent;
  transition: background var(--transition);
}

.ff-hamburger:hover {
  background: var(--brand-sage);
}

.ff-hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.ff-hamburger.is-open .ff-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ff-hamburger.is-open .ff-hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ff-hamburger.is-open .ff-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.ff-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11,37,69,0.5);
  backdrop-filter: blur(4px);
}

.ff-mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 90vw;
  height: 100%;
  background: white;
  box-shadow: var(--shadow-hover);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
}

.ff-mobile-nav.is-open {
  display: block;
}

.ff-mobile-nav.is-open .ff-mobile-nav__panel {
  transform: translateX(0);
}

.ff-mobile-nav__links {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ff-mobile-nav__section {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fffaf2;
  box-shadow: 0 10px 28px rgba(11,37,69,0.06);
}

.ff-mobile-nav__section:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.ff-mobile-nav__heading {
  margin: 0 0 2px;
  padding: 0 4px;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 850;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ff-mobile-nav__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 12px;
  transition: background var(--transition), color var(--transition);
}

.ff-mobile-nav__links a:hover,
.ff-mobile-nav__links a.active {
  background: rgba(0,109,119,0.08);
  color: var(--brand-primary);
}

.ff-mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-dark);
  border: none;
}

/* ============================================================
   10. HERO SECTION
   ============================================================ */
#ff-hero {
  position: relative;
  min-height: 600px;
  background-color: var(--brand-cream);
  background-image: none !important;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#ff-hero::before {
  display: none !important;
  content: none !important;
}


.ff-hero__content {
  max-width: 700px;
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.ff-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  background: rgba(0,109,119,0.08);
  padding: 4px 14px;
  border-radius: var(--btn-radius);
}

.ff-hero__headline {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.ff-hero__headline em {
  font-style: italic;
  color: var(--brand-primary);
}

.ff-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.ff-hero__search {
  margin-bottom: 24px;
}

.ff-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.ff-hero__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ff-hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

.ff-hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
  display: block;
}

.ff-hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero illustration / image side */
.ff-hero__visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
}

.ff-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   11. SEARCH BAR
   ============================================================ */
.ff-search-bar {
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--btn-radius);
  box-shadow: var(--shadow-card);
  height: 60px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.ff-search-bar:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(0,109,119,0.12), var(--shadow-card);
}

.ff-search-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px 0 20px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.ff-search-bar__icon svg {
  width: 20px;
  height: 20px;
}

.ff-search-bar__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  padding: 0 16px;
  min-width: 0;
  outline: none;
}

.ff-search-bar__input::placeholder {
  color: var(--text-light);
}

.ff-search-bar__divider {
  width: 1px;
  height: 28px;
  background: var(--border-soft);
  flex-shrink: 0;
}

.ff-search-bar__location {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.ff-search-bar__location svg {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
}

.ff-search-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: white;
  border: none;
  border-radius: var(--btn-radius);
  height: 48px;
  padding: 0 24px;
  margin: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.ff-search-bar__btn:hover {
  background: var(--brand-primary-dark);
  box-shadow: 0 4px 12px rgba(0,109,119,0.3);
}

/* Autocomplete */
.ff-search-autocomplete {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--card-radius-sm);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-soft);
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}

.ff-search-autocomplete.is-open {
  display: block;
}

.ff-search-autocomplete__section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  padding: 10px 16px 4px;
}

.ff-search-autocomplete__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition);
}

.ff-search-autocomplete__item:hover,
.ff-search-autocomplete__item.is-focused {
  background: var(--brand-sage);
}

.ff-search-autocomplete__item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ff-search-autocomplete__item-text {
  flex: 1;
  min-width: 0;
}

.ff-search-autocomplete__item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.ff-search-autocomplete__item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Filter Chips */
.ff-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.ff-chip svg {
  width: 16px;
  height: 16px;
}

.ff-chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(0,109,119,0.05);
}

.ff-chip--active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}

.ff-chip--active:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: white;
}

/* ============================================================
   12. SECTION-SPECIFIC STYLES
   ============================================================ */

/* Section header */
.ff-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

/* Event strip — horizontal scroll on mobile, grid on desktop */
.ff-event-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ff-event-strip .ff-card {
  min-width: 0;
  max-width: none;
}

@media (max-width: 768px) {
  .ff-event-strip {
    display: flex;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .ff-event-strip::-webkit-scrollbar {
    display: none;
  }

  .ff-event-strip .ff-card {
    min-width: 260px;
    max-width: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
    height: auto;
  }
}

/* Category grid */
.ff-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.ff-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: white;
  border-radius: var(--card-radius);
  border: 1.5px solid var(--border-soft);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.ff-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-card);
}

.ff-category-card__icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.ff-category-card:hover .ff-category-card__icon {
  transform: scale(1.15);
}

.ff-category-card__label {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.ff-category-card__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Spinner section */
.ff-spinner-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 60px 0;
  background: var(--brand-cream-dark);
}

.ff-spinner-wheel-container {
  position: relative;
  width: 360px;
  height: 360px;
  max-width: 90vw;
  max-height: 90vw;
}

.ff-spinner-pointer {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 30px solid var(--brand-coral);
  filter: drop-shadow(0 2px 6px rgba(231,111,81,0.5));
  z-index: 10;
}

.ff-spinner-result {
  background: white;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-hover);
  padding: 32px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  display: none;
}

.ff-spinner-result.is-visible {
  display: block;
  animation: ffSlideUp 0.4s ease;
}

.ff-spinner-result__emoji {
  font-size: 3rem;
  margin-bottom: 12px;
}

.ff-spinner-result__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.ff-spinner-result__subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

/* Promo card */
.ff-promo-card {
  background: var(--brand-sage);
  border-radius: var(--card-radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.ff-promo-card--navy {
  background: var(--brand-navy);
  color: white;
}

.ff-promo-card--navy .ff-promo-card__title {
  color: white;
}

.ff-promo-card--navy .ff-promo-card__text {
  color: rgba(255,255,255,0.75);
}

.ff-promo-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.ff-promo-card__text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.ff-promo-card__illustration {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 120px;
  opacity: 0.15;
}

/* Local pulse card container */
.ff-pulse-card {
  background: white;
  border-radius: var(--card-radius, 16px);
  border: 1px solid var(--border-soft, #f0f0f0);
  padding: 32px;
  box-shadow: var(--shadow-soft, 0 4px 20px rgba(0, 0, 0, 0.05));
  width: 100%;
}

.ff-local-pulse {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.ff-pulse-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ff-pulse-column__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1.5px solid var(--border-soft, #f0f0f0);
  padding-bottom: 12px;
  width: 100%;
}

.ff-pulse-column__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ff-pulse-column__title-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark, #0B2545);
  margin: 0;
  display: flex;
  align-items: center;
}

.ff-pulse-column__icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ff-pulse-column__icon-badge svg.lucide {
  width: 16px;
  height: 16px;
}

/* Colors for Local Pulse Column Icon Badges */
.ff-pulse-icon--jobs {
  background: rgba(52, 152, 219, 0.1);
  color: #3498DB;
}
.ff-pulse-icon--classifieds {
  background: rgba(230, 126, 34, 0.1);
  color: #E67E22;
}
.ff-pulse-icon--businesses {
  background: rgba(0, 109, 119, 0.1);
  color: #006D77;
}
.ff-pulse-icon--updates {
  background: rgba(231, 111, 81, 0.1);
  color: #E76F51;
}

.ff-pulse-column__view-all {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary, #006D77);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ff-pulse-column__view-all:hover {
  color: var(--brand-coral, #E76F51);
}

.ff-pulse-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: auto;
}

.ff-pulse-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft, #f0f0f0);
  text-decoration: none;
  transition: background 0.2s ease, padding-left 0.2s ease;
  width: 100%;
}

.ff-pulse-item:last-child {
  border-bottom: none;
}

.ff-pulse-item:hover {
  background: rgba(0, 109, 119, 0.02);
  padding-left: 4px;
}

.ff-pulse-item__thumb-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FDFBF7;
  border: 1px solid var(--border-soft, #f0f0f0);
}

.ff-pulse-item__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-pulse-item__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.ff-pulse-item__thumb-placeholder svg.lucide {
  width: 18px;
  height: 18px;
}

.ff-pulse-item__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ff-pulse-item__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark, #0B2545);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-pulse-item:hover .ff-pulse-item__title {
  color: var(--brand-primary, #006D77);
}

.ff-pulse-item__meta {
  font-size: 0.75rem;
  color: var(--text-muted, #758694);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.ff-pulse-empty {
  font-size: 0.8125rem;
  color: var(--text-muted, #758694);
  padding: 24px 0;
  text-align: center;
  margin: 0;
}

.ff-pulse-column__footer-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary, #006D77);
  text-decoration: none;
  margin-top: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ff-pulse-column__footer-link:hover {
  color: var(--brand-coral, #E76F51);
  transform: translateX(2px);
}

/* Friend chips */
.ff-friend-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Member discount card */
.ff-member-discount-card {
  background: white;
  border-radius: var(--card-radius);
  border: 2px solid var(--brand-gold);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: box-shadow var(--transition);
}

.ff-member-discount-card:hover {
  box-shadow: var(--shadow-card);
}

.ff-member-discount-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.ff-member-discount-card__content {
  flex: 1;
  min-width: 0;
}

.ff-member-discount-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.ff-member-discount-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Award grid */
.ff-award-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Biz CTA */
.ff-biz-cta {
  background: #E2ECE8; /* beautiful light teal/sage matching mockup */
  border-radius: var(--card-radius);
  padding: 40px 48px 0; /* 0 at bottom so image goes flush */
  position: relative;
  overflow: hidden;
}

.ff-biz-cta__container {
  display: flex;
  align-items: flex-end; /* Align elements to the bottom */
  justify-content: space-between;
  gap: 32px;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.ff-biz-cta__image-col {
  flex: 0 0 28%;
  max-width: 320px;
  display: flex;
  align-items: flex-end;
}

.ff-biz-cta__owner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin-bottom: -4px; /* offset any baseline alignment gap */
}

.ff-biz-cta__content-col {
  flex: 1;
  padding-bottom: 40px; /* add spacing at the bottom of the content column */
  display: flex;
  flex-direction: column;
}

.ff-biz-cta__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.ff-biz-cta__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Horizontal Features Row */
.ff-biz-cta__features-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(0, 109, 119, 0.15);
  padding-top: 24px;
  width: 100%;
}

.ff-biz-cta__feature-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
}

.ff-biz-cta__feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 109, 119, 0.06);
  border: 1.5px solid rgba(0, 109, 119, 0.08);
  color: var(--brand-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-biz-cta__feature-item:hover .ff-biz-cta__feature-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 109, 119, 0.12);
  border-color: rgba(0, 109, 119, 0.2);
}

.ff-biz-cta__feature-icon svg.lucide {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  color: var(--brand-primary, #006D77);
}

.ff-biz-cta__feature-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-navy, #0B2545);
  margin-bottom: 6px;
  white-space: nowrap;
}

.ff-biz-cta__feature-desc {
  font-size: 0.6875rem;
  color: var(--text-muted, #758694);
  line-height: 1.35;
  max-width: 120px;
  margin: 0;
}

/* Action Button Column */
.ff-biz-cta__action-col {
  flex: 0 0 25%;
  max-width: 280px;
  padding-bottom: 40px; /* Align spacing with content col */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.ff-biz-cta__btn {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  padding: 14px 24px;
  background-color: var(--brand-primary);
  color: white;
  border-radius: var(--btn-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.ff-biz-cta__btn:hover {
  background-color: var(--brand-primary-dark);
}

.ff-biz-cta__subtext {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   13. FOOTER
   ============================================================ */
#ff-footer {
  background: var(--brand-navy);
  color: white;
}

.ff-footer__top {
  padding: 60px 0 40px;
}

.ff-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.ff-footer__brand {}

.ff-footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ff-footer__brand-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-footer__brand-logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
}

.ff-footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 280px;
}

.ff-footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.ff-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ff-footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.ff-footer__col a:hover {
  color: white;
}

.ff-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ff-footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.ff-footer__bottom-links {
  display: flex;
  gap: 16px;
}

.ff-footer__bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.ff-footer__bottom-links a:hover {
  color: white;
}

/* Social links */
.ff-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.ff-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  text-decoration: none;
}

.ff-social-link:hover {
  background: var(--brand-primary);
  color: white;
  transform: translateY(-2px);
}

.ff-social-link svg {
  width: 16px;
  height: 16px;
}

/* App badges */
.ff-app-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ff-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: white;
  text-decoration: none;
  transition: background var(--transition);
  font-size: 0.8125rem;
}

.ff-app-badge:hover {
  background: rgba(255,255,255,0.18);
}

.ff-app-badge__icon {
  font-size: 1.25rem;
}

.ff-app-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ff-app-badge__sub {
  font-size: 0.65rem;
  opacity: 0.7;
}

.ff-app-badge__name {
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============================================================
   14. FORMS
   ============================================================ */
.ff-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.ff-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.ff-label--required::after {
  content: ' *';
  color: var(--brand-coral);
}

.ff-input,
.ff-select,
.ff-textarea {
  width: 100%;
  border: 2px solid rgba(0, 109, 119, 0.1);
  border-radius: 12px;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  appearance: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.ff-input::placeholder,
.ff-textarea::placeholder {
  color: var(--text-light);
  font-size: 0.9rem;
}

.ff-input:hover,
.ff-select:hover,
.ff-textarea:hover {
  border-color: rgba(0, 109, 119, 0.3);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 109, 119, 0.06);
}

.ff-input:focus,
.ff-select:focus,
.ff-textarea:focus {
  border-color: var(--brand-primary);
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 109, 119, 0.1), 0 0 0 4px rgba(0, 109, 119, 0.15);
}

.ff-input--error,
.ff-select--error,
.ff-textarea--error {
  border-color: var(--brand-coral);
  background: rgba(231, 111, 81, 0.03);
}

.ff-input--error:focus,
.ff-select--error:focus,
.ff-textarea--error:focus {
  box-shadow: 0 8px 20px rgba(231, 111, 81, 0.1), 0 0 0 4px rgba(231, 111, 81, 0.18);
}

.ff-select {
  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='%23006d77' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.ff-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.ff-form-error {
  font-size: 0.8125rem;
  color: var(--brand-coral);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ff-form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.ff-char-counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.ff-char-counter.is-over {
  color: var(--brand-coral);
}

/* Checkbox & Radio */
.ff-checkbox-group,
.ff-radio-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
  transition: color 0.2s ease;
}

.ff-checkbox-group:hover,
.ff-radio-group:hover {
  color: var(--brand-primary);
}

.ff-checkbox-group input[type="checkbox"],
.ff-radio-group input[type="radio"] {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(0, 109, 119, 0.2);
  border-radius: 6px;
  background: white;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ff-radio-group input[type="radio"] {
  border-radius: 50%;
}

.ff-checkbox-group input[type="checkbox"]:checked,
.ff-radio-group input[type="radio"]:checked {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  transform: scale(1.05);
}

.ff-checkbox-group input[type="checkbox"]:checked::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-0.5px, -1px);
}

.ff-radio-group input[type="radio"]:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.ff-checkbox-group input[type="checkbox"]:hover,
.ff-radio-group input[type="radio"]:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.12);
}

/* Password strength */
.ff-password-strength {
  margin-top: 8px;
}

.ff-password-strength__bar {
  height: 4px;
  background: var(--border-soft);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.ff-password-strength__fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0;
}

.ff-password-strength__fill--weak    { background: var(--brand-coral); width: 25%; }
.ff-password-strength__fill--fair    { background: var(--brand-gold); width: 50%; }
.ff-password-strength__fill--good    { background: var(--brand-primary-light); width: 75%; }
.ff-password-strength__fill--strong  { background: #22C55E; width: 100%; }

.ff-password-strength__label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   15. ADMIN-ADJACENT COMPONENTS
   ============================================================ */
.ff-admin-bar {
  background: white;
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ff-stat-card {
  background: white;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ff-stat-card__info {
  flex: 1;
  min-width: 0;
}

.ff-stat-card__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.ff-stat-card__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.ff-stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.ff-stat-card__icon--teal   { background: rgba(0,109,119,0.12); color: var(--brand-primary); }
.ff-stat-card__icon--coral  { background: rgba(231,111,81,0.12); color: var(--brand-coral); }
.ff-stat-card__icon--gold   { background: rgba(244,185,66,0.15); color: #b8851a; }
.ff-stat-card__icon--navy   { background: rgba(11,37,69,0.08); color: var(--brand-navy); }

.ff-stat-card__trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
}

.ff-stat-card__trend--up    { color: #22C55E; }
.ff-stat-card__trend--down  { color: var(--brand-coral); }

/* Table */
.ff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.ff-table th {
  background: rgba(0,109,119,0.06);
  color: var(--brand-navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-soft);
  white-space: nowrap;
}

.ff-table td {
  padding: 14px 16px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.ff-table tr:last-child td {
  border-bottom: none;
}

.ff-table tr:hover td {
  background: var(--brand-sage);
}

.ff-table--striped tr:nth-child(even) td {
  background: var(--brand-cream);
}

.ff-table--striped tr:nth-child(even):hover td {
  background: var(--brand-sage);
}

/* Status badges */
.ff-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--btn-radius);
}

.ff-badge-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ff-badge-status--active    { background: #D1FAE5; color: #065F46; }
.ff-badge-status--pending   { background: var(--brand-gold-light); color: #92400E; }
.ff-badge-status--inactive  { background: #F3F4F6; color: #6B7280; }
.ff-badge-status--suspended { background: #FEE2E2; color: #991B1B; }

/* Sidebar */
.ff-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--brand-navy);
  color: white;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  transition: transform 0.3s ease, width 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.ff-sidebar--collapsed {
  width: 72px;
}

.ff-sidebar__logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ff-sidebar__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ff-sidebar__logo-text {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.ff-sidebar--collapsed .ff-sidebar__logo-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.ff-sidebar__nav {
  padding: 16px 12px;
  flex: 1;
}

.ff-sidebar__nav-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  padding: 12px 10px 6px;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.ff-sidebar--collapsed .ff-sidebar__nav-section-title {
  opacity: 0;
}

.ff-sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 2px;
}

.ff-sidebar__nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.ff-sidebar__nav-item.active {
  background: var(--brand-primary);
  color: white;
}

.ff-sidebar__nav-item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-sidebar__nav-item-label {
  transition: opacity 0.2s ease;
}

.ff-sidebar--collapsed .ff-sidebar__nav-item-label {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.ff-sidebar__toggle {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: flex-end;
}

/* Admin layout wrapper */
.ff-admin-layout {
  display: flex;
  min-height: 100vh;
}

.ff-admin-main {
  flex: 1;
  margin-left: 260px;
  min-width: 0;
  transition: margin-left 0.3s ease;
}

.ff-admin-main--collapsed {
  margin-left: 72px;
}

.ff-admin-content {
  padding: 32px;
}

/* ============================================================
   16. MODALS
   ============================================================ */
.ff-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,37,69,0.6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ff-modal-overlay.is-open {
  display: flex !important;
  opacity: 1;
}

.ff-modal-overlay[hidden],
.ff-modal-overlay:not(.is-open) {
  display: none !important;
}

.ff-modal {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  width: 100%;
  max-width: 560px;
  padding: 36px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.ff-modal-overlay.is-open .ff-modal {
  transform: translateY(0) scale(1);
}

.ff-modal--sm { max-width: 400px; }
.ff-modal--lg { max-width: 720px; }

.ff-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-sage);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.125rem;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.ff-modal__close:hover {
  background: var(--brand-coral);
  color: white;
}

.ff-modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  padding-right: 40px;
}

.ff-modal__subtitle {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.ff-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

/* ============================================================
   17. TOAST NOTIFICATIONS
   ============================================================ */
.ff-toast-container {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  max-width: calc(100vw - 32px) !important;
  width: auto !important;
  left: auto !important;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
  pointer-events: none;
}

.ff-toast {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  min-width: 280px;
  max-width: 380px;
  border-left: 4px solid var(--brand-primary);
  pointer-events: all;
  animation: ffSlideInRight 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ff-toast.is-dismissing {
  animation: ffSlideOutRight 0.3s ease forwards;
}

.ff-toast--success { border-left-color: #22C55E; }
.ff-toast--error   { border-left-color: var(--brand-coral); }
.ff-toast--warning { border-left-color: var(--brand-gold); }
.ff-toast--info    { border-left-color: var(--brand-primary); }

.ff-toast__icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.ff-toast__body {
  flex: 1;
  min-width: 0;
}

.ff-toast__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.ff-toast__message {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.ff-toast__close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color var(--transition), background var(--transition);
}

.ff-toast__close:hover {
  background: var(--brand-sage);
  color: var(--text-dark);
}

/* ============================================================
   18. BREADCRUMBS
   ============================================================ */
.ff-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.ff-breadcrumb a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.ff-breadcrumb a:hover {
  color: var(--brand-primary-dark);
  text-decoration: underline;
}

.ff-breadcrumb__sep {
  color: var(--text-light);
  margin: 0 2px;
  user-select: none;
}

.ff-breadcrumb__current {
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   19. PAGINATION
   ============================================================ */
.ff-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.ff-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.ff-page-btn:hover {
  background: rgba(0,109,119,0.06);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.ff-page-btn.active,
.ff-page-btn--active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}

.ff-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ff-page-btn--prev,
.ff-page-btn--next {
  width: auto;
  padding: 0 16px;
  border-radius: var(--btn-radius);
  gap: 6px;
}

/* ============================================================
   20. EMPTY STATES
   ============================================================ */
.ff-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px;
}

.ff-empty-state__icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

.ff-empty-state__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.ff-empty-state__text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ============================================================
   21. RATING STARS
   ============================================================ */
.ff-rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

.ff-star {
  font-size: 1rem;
  color: #D1D5DB;
  line-height: 1;
}

.ff-star--filled { color: var(--brand-gold); }
.ff-star--half   { color: var(--brand-gold); position: relative; }

.ff-rating__avg {
  font-weight: 700;
  color: var(--brand-gold);
  margin-right: 4px;
}

.ff-rating__count {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   22. MISC / UTILITIES
   ============================================================ */
.ff-divider {
  width: 100%;
  height: 1px;
  background: var(--border-soft);
  margin: 24px 0;
}

.ff-divider--thick {
  height: 2px;
}

/* Tags */
.ff-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: var(--brand-cream-dark);
  border: 1px solid var(--border-soft);
  border-radius: var(--btn-radius);
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.ff-tag:hover {
  background: rgba(0,109,119,0.08);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* Skeleton loading */
.ff-skeleton {
  background: linear-gradient(90deg, var(--border-soft) 25%, #f0e9da 50%, var(--border-soft) 75%);
  background-size: 200% 100%;
  animation: ffShimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

.ff-skeleton--text {
  height: 14px;
  margin-bottom: 8px;
}

.ff-skeleton--title {
  height: 22px;
  width: 60%;
  margin-bottom: 12px;
}

.ff-skeleton--image {
  aspect-ratio: 16/9;
  border-radius: 0;
}

.ff-skeleton--circle {
  border-radius: 50%;
}

/* Avatar */
.ff-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--brand-sage-dark);
}

.ff-avatar--xs  { width: 24px; height: 24px; }
.ff-avatar--sm  { width: 32px; height: 32px; }
.ff-avatar--md  { width: 44px; height: 44px; }
.ff-avatar--lg  { width: 60px; height: 60px; }
.ff-avatar--xl  { width: 80px; height: 80px; }

/* Verified icon */
.ff-verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: white;
  font-size: 0.6rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Price range */
.ff-price-range {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.ff-price-range__symbol {
  color: var(--brand-primary);
  font-weight: 700;
}

.ff-price-range__symbol--muted {
  color: var(--text-light);
  font-weight: 400;
}

/* Utility spacing */
.ff-mt-sm { margin-top: 8px; }
.ff-mt-md { margin-top: 16px; }
.ff-mt-lg { margin-top: 24px; }
.ff-mt-xl { margin-top: 40px; }

.ff-mb-sm { margin-bottom: 8px; }
.ff-mb-md { margin-bottom: 16px; }
.ff-mb-lg { margin-bottom: 24px; }
.ff-mb-xl { margin-bottom: 40px; }

.ff-p-sm { padding: 8px; }
.ff-p-md { padding: 16px; }
.ff-p-lg { padding: 24px; }

/* ============================================================
   23. ANIMATIONS / KEYFRAMES
   ============================================================ */
@keyframes ffFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes ffSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ffSlideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes ffSlideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

@keyframes ffPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.2); }
}

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

@keyframes ffSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ffSpinIn {
  from { opacity: 0; transform: rotate(-180deg) scale(0.5); }
  to   { opacity: 1; transform: rotate(0deg) scale(1); }
}

@keyframes ffBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes ffPopIn {
  0%   { opacity: 0; transform: scale(0.8); }
  70%  { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   24. RESPONSIVE — MOBILE FIRST
   ============================================================ */

/* Tablet: 640px - 1024px */
@media (max-width: 1024px) {
  /* Nav */
  .ff-nav__links {
    display: none;
  }

  .ff-hamburger {
    display: flex;
  }

  .ff-nav__actions .ff-btn--ghost,
  .ff-nav__actions .ff-btn--outline,
  #ff-nav-connect-code {
    display: none;
  }

  /* Grid collapsing */
  .ff-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Local pulse */
  .ff-local-pulse {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Award grid */
  .ff-award-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .ff-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Biz CTA */
  .ff-biz-cta {
    padding: 32px 32px 0;
  }
  .ff-biz-cta__container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  .ff-biz-cta__content-col {
    padding-bottom: 0;
    width: 100%;
    order: 1;
  }
  .ff-biz-cta__action-col {
    padding-bottom: 24px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    order: 2;
  }
  .ff-biz-cta__image-col {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    order: 3;
  }

  /* Hero */
  #ff-hero {
    min-height: 500px;
  }

  .ff-hero__headline {
    font-size: 2.75rem;
  }

  .ff-hero__visual {
    opacity: 0.15;
  }

  /* Admin */
  .ff-sidebar {
    transform: translateX(-100%);
  }

  .ff-sidebar.is-open {
    transform: translateX(0);
  }

  .ff-admin-main {
    margin-left: 0;
  }
}

/* Mobile: < 640px */
@media (max-width: 640px) {
  /* Typography */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }

  .ff-hero__headline {
    font-size: 2.2rem;
  }

  .ff-hero__subtitle {
    font-size: 1rem;
  }

  .ff-hero__stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .ff-hero__visual {
    display: none;
  }

  /* Grids */
  .ff-grid--2,
  .ff-grid--3,
  .ff-grid--4 {
    grid-template-columns: 1fr;
  }

  .ff-grid--2--keep {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Sections */
  .ff-section { padding: 40px 0; }
  .ff-section--sm { padding: 28px 0; }

  .ff-pulse-card {
    padding: 24px 16px;
  }

  /* Container padding */
  .ff-container { padding: 0 16px; }

  /* Search bar */
  .ff-search-bar { height: 54px; }
  .ff-search-bar__location { display: none; }
  .ff-search-bar__divider  { display: none; }
  .ff-search-bar__btn { padding: 0 16px; font-size: 0.875rem; }

  /* Category grid */
  .ff-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Hero */
  #ff-hero { min-height: auto; }
  .ff-hero__content { padding: 40px 0; }
  .ff-hero__ctas { flex-direction: column; }
  .ff-hero__ctas .ff-btn { width: 100%; justify-content: center; }

  /* Event strip cards */
  .ff-event-strip .ff-card { min-width: 240px; }

  /* Local pulse */
  .ff-local-pulse {
    grid-template-columns: 1fr;
  }

  /* Award grid */
  .ff-award-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .ff-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ff-footer__top { padding: 40px 0 28px; }

  .ff-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Biz CTA */
  .ff-biz-cta { padding: 24px 24px 0; }
  .ff-biz-cta__title { font-size: 1.625rem; }
  .ff-biz-cta__container { gap: 16px; }

  /* Spinner */
  .ff-spinner-wheel-container {
    width: 280px;
    height: 280px;
  }

  /* Modals */
  .ff-modal {
    padding: 24px;
    border-radius: var(--card-radius);
  }

  /* Toast */
  .ff-toast-container {
    position: fixed !important;
    bottom: 16px !important;
    right: 16px !important;
    left: auto !important;
    max-width: calc(100vw - 32px) !important;
    width: auto !important;
  }

  .ff-toast {
    min-width: unset;
    width: 100%;
  }

  /* Tables */
  .ff-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Stat cards */
  .ff-stat-card { flex-direction: column; }

  /* Admin */
  .ff-admin-content { padding: 16px; }

  /* Full-width buttons on mobile */
  .ff-btn--mobile-full {
    width: 100%;
    justify-content: center;
  }

  /* Section header */
  .ff-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile drawer display:none when closed (Requirement 11) */
.ff-mobile-nav:not(.is-open) {
  display: none !important;
}

/* Site-wide Header at <= 768px (Requirement 1) */
@media (max-width: 768px) {
  #ff-header .ff-nav__actions {
    display: none !important;
  }
  
  #ff-header .ff-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .ff-hamburger {
    display: flex !important;
    margin-left: auto;
  }

  .ff-logo__tagline {
    display: none !important;
  }
}

/* Site-wide Tap Targets >= 44x44px at <= 768px (Requirement 12) */
@media (max-width: 768px) {
  .ff-logo {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .ff-hamburger {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ff-nav__link,
  .ff-mobile-nav__links a,
  .ff-mobile-menu__actions .ff-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .ff-footer__links a,
  .ff-footer-links a,
  .ff-footer__social-link,
  .ff-footer__social a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .ff-filter-chip,
  .ff-events-filter-chip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Accessible Coral Contrast (Requirement 10) */
#ff-nav-join,
.ff-btn--coral {
  background: #BA3D22;
  border-color: #BA3D22;
}
#ff-nav-join:hover,
.ff-btn--coral:hover {
  background: #9E321A;
  border-color: #9E321A;
}

/* ============================================================
   25. PRINT STYLES
   ============================================================ */
@media print {
  #ff-header,
  #ff-footer,
  .ff-nav__actions,
  .ff-hamburger,
  .ff-mobile-nav,
  .ff-toast-container,
  .ff-modal-overlay,
  .ff-btn,
  .ff-pagination,
  .ff-save-btn,
  .ff-sidebar,
  .ff-admin-bar {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .ff-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  img { max-width: 100% !important; }

  .ff-container { max-width: 100%; padding: 0; }
}

/* Red Heart Icon in Footer */
.ff-icon-heart {
  color: #e76f51 !important;
  fill: #e76f51 !important;
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin: 0 2px;
}

/* Lucide SVG Icon Global Rules */
svg.lucide {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
}

/* Specific icon styles */
.ff-chip__icon {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  stroke-width: 2.5;
}

.ff-category-card__icon svg.lucide {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
  color: var(--brand-primary);
}

.ff-pulse-column__header h3 svg.lucide {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  stroke-width: 2;
  color: var(--brand-primary);
}

.ff-bestof-badge svg.lucide {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
  color: var(--brand-gold);
}



/* Responsive fixes for new side-by-side business owner CTA layout */
@media (max-width: 768px) {
  .ff-biz-cta__inner {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .ff-biz-cta__visual {
    max-width: 100%;
  }
}

/* ── Mid grid cards structure: What are you looking for, Dinner Spinner, Support Local ── */
.ff-mid-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(320px, 1.6fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .ff-mid-grid {
    grid-template-columns: 1fr;
  }
}

.ff-mid-grid__left,
.ff-mid-grid__center,
.ff-mid-grid__right {
  background: white;
  border-radius: var(--card-radius, 16px);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft, 0 4px 20px rgba(0, 0, 0, 0.05));
  border: 1px solid var(--border-soft, #f0f0f0);
  display: flex;
  flex-direction: column;
}

/* Column 1: Categories Buttons Grid */
.ff-cat-btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

@media (max-width: 640px) {
  .ff-cat-btn-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.ff-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 6px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
  min-height: 80px;
}

.ff-cat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ff-cat-btn__icon-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  background: transparent !important;
  color: inherit !important;
}

.ff-cat-btn__icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.ff-cat-btn__label {
  font-weight: 700;
  font-size: 0.75rem;
  color: inherit;
  line-height: 1.2;
}

/* Column 2: Dinner Randomizer Card */
.ff-spinner-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

.ff-spinner-result {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: left !important;
  display: none;
  width: 100%;
}

.ff-spinner-result.is-visible {
  display: block;
}

.ff-spinner-result-intro {
  font-size: 0.8125rem;
  color: var(--text-muted, #758694);
  margin-bottom: 10px;
  font-weight: 500;
}

.ff-spinner-result-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: #FDFBF7;
  border: 1px solid var(--border-soft, #f0f0f0);
  border-radius: var(--card-radius, 12px);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.ff-spinner-result.is-shuffling .ff-spinner-result-card {
  animation: ffCardShuffle 0.6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes ffCardShuffle {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0px);
    opacity: 1;
  }
  25% {
    transform: translateY(-4px) scale(0.97) rotate(-0.5deg);
    filter: blur(1px);
    opacity: 0.85;
  }
  50% {
    transform: translateY(2px) scale(1.01) rotate(1deg);
    filter: blur(1.5px);
    opacity: 0.75;
  }
  75% {
    transform: translateY(-2px) scale(0.98) rotate(-0.5deg);
    filter: blur(1px);
    opacity: 0.85;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0px);
    opacity: 1;
  }
}

.ff-spinner-result-card__logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-soft, #f0f0f0);
}

.ff-spinner-result-card__logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #EBF5F0;
  color: var(--brand-primary, #006D77);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-soft, #f0f0f0);
}

.ff-spinner-result-card__logo-placeholder svg {
  width: 32px;
  height: 32px;
}

.ff-spinner-result-card__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.ff-spinner-result-card__name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark, #0B2545);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-spinner-result-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.ff-spinner-result-card__rating .stars {
  color: #F4B942;
  font-size: 0.8125rem;
}

.ff-spinner-result-card__rating-value {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-dark, #0B2545);
}

.ff-spinner-result-card__rating-count {
  font-size: 0.75rem;
  color: var(--text-muted, #758694);
}

.ff-spinner-result-card__desc {
  font-size: 0.75rem;
  color: var(--text-muted, #758694);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-spinner-result-card__location {
  font-size: 0.75rem;
  color: var(--text-muted, #758694);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ff-spinner-result-actions {
  display: flex;
  gap: 12px;
}

.ff-spinner-result-actions .ff-btn {
  padding: 8px 16px;
  font-size: 0.8125rem;
  border-radius: 8px;
  justify-content: center;
  flex: 1;
}

/* Column 3: Support Local Card Redesign */
.ff-support-card-link {
  background-color: #0b2545;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 3px solid #ffffff !important;
  border-radius: var(--card-radius, 16px) !important;
  box-shadow: var(--shadow-soft, 0 4px 20px rgba(0, 0, 0, 0.05));
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 100%;
}

.ff-support-card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover, 0 8px 32px rgba(11,37,69,0.16));
}

.ff-support-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: flex-start;
}

.ff-support-card-link .ff-support-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 8px;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ff-support-card-link .ff-support-card__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.5;
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* User account menu dropdown styling */
.ff-user-menu {
  position: relative;
  display: inline-block;
}

.ff-user-menu__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ff-user-menu__trigger:hover {
  background: rgba(0, 109, 119, 0.06);
}

.ff-user-menu__trigger svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ff-user-menu__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ff-user-menu__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--brand-primary);
}

.ff-user-menu__avatar--initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.ff-user-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid var(--border-soft);
  min-width: 200px;
  z-index: 1010;
  padding: 8px 0;
}

.ff-user-menu__dropdown[hidden] {
  display: none;
}

.ff-user-menu__header {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ff-user-menu__header strong {
  font-size: 0.875rem;
  color: var(--text-dark);
}

.ff-user-menu__header small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ff-user-menu__divider {
  margin: 6px 0;
  border: 0;
  border-top: 1px solid var(--border-soft);
}

.ff-user-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.ff-user-menu__item:hover {
  background: rgba(0,109,119,0.06);
  color: var(--brand-primary);
}

.ff-user-menu__item--danger {
  color: var(--brand-coral);
}

.ff-user-menu__item--danger:hover {
  background: rgba(231,111,81,0.06);
  color: var(--brand-coral);
}

/* ============================================================
   26. COMMUNITY HUB (Find Your People + Best of Florence Grid)
   ============================================================ */
.ff-community-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

@media (max-width: 1200px) {
  .ff-community-grid {
    grid-template-columns: 1fr;
  }
}

.ff-community-card {
  background: white;
  border-radius: var(--card-radius, 16px);
  border: 1px solid var(--border-soft, #f0f0f0);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft, 0 4px 20px rgba(0, 0, 0, 0.05));
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ff-community-card__header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ff-community-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark, #0B2545);
  margin-bottom: 4px;
  line-height: 1.25;
}

.ff-community-card__subtitle {
  font-size: 0.875rem;
  color: var(--text-muted, #758694);
  margin: 0;
}

.ff-community-card__footer {
  margin-top: 24px;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

.ff-community-card__footer-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary, #006D77);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.ff-community-card__footer-link:hover {
  color: var(--brand-coral, #E76F51);
  transform: translateX(2px);
}

/* Interest Chips Styling Updates (Clean) */
.ff-interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ff-chip--interest {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark, #0B2545);
  background: #F8F9FA;
  border: 1.5px solid var(--border-soft, #f0f0f0) !important;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ff-chip--interest:hover {
  background: rgba(0, 109, 119, 0.05);
  border-color: var(--brand-primary, #006D77) !important;
  color: var(--brand-primary, #006D77);
}

/* Active Highlight Chip (e.g. Bowling) */
.ff-chip--interest:nth-child(3) {
  background: #F4B942 !important;
  border-color: #F4B942 !important;
  color: #0b2545 !important;
  font-weight: 700;
}

/* Meetups Grid Layout */
.ff-friends-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: auto;
}

@media (max-width: 768px) {
  .ff-friends-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ff-friends-grid-compact {
    grid-template-columns: 1fr;
  }
}

/* Compact Meetup Card */
.ff-card--meetup-compact {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-soft, #f0f0f0);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.ff-card--meetup-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ff-meetup-compact__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-soft, #f5f5f5);
}

.ff-meetup-compact__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ff-card--meetup-compact:hover .ff-meetup-compact__img {
  transform: scale(1.03);
}

.ff-meetup-compact__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ff-meetup-compact__title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark, #0B2545);
  margin: 0 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.ff-meetup-compact__title a {
  color: inherit;
  text-decoration: none;
}

.ff-meetup-compact__title a:hover {
  color: var(--brand-primary, #006D77);
}

.ff-meetup-compact__time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-coral, #E76F51);
  margin-bottom: 2px;
}

.ff-meetup-compact__location {
  font-size: 0.75rem;
  color: var(--text-muted, #758694);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-meetup-compact__attendance {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-soft, #f5f5f5);
  padding-top: 8px;
}

.ff-meetup-compact__avatars {
  display: flex;
  align-items: center;
}

.ff-avatar-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.5625rem;
  font-weight: 700;
  border: 1.5px solid white;
  flex-shrink: 0;
}

.ff-meetup-compact__going {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted, #758694);
}

/* Member Deal Card (Homepage compact version) */
.ff-card--member-deal {
  background: #EBF5F0;
  border-radius: 12px;
  border: 1px dashed rgba(0, 109, 119, 0.25);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.ff-card--member-deal__badge {
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--brand-primary, #006D77);
  background: white;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 109, 119, 0.15);
}

.ff-card--member-deal__logo-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border: 2px solid white;
}

.ff-card--member-deal__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-card--member-deal__title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-dark, #0B2545);
  margin: 0 0 4px;
  line-height: 1.3;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-card--member-deal__desc {
  font-size: 0.6875rem;
  color: var(--text-muted, #758694);
  margin: 0 0 12px;
  line-height: 1.3;
}

.ff-card--member-deal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  border-radius: 20px;
  background: white;
  border: 1.5px solid var(--brand-primary, #006D77);
  color: var(--brand-primary, #006D77);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.ff-card--member-deal__btn:hover {
  background: var(--brand-primary, #006D77);
  color: white;
}

/* Awards Compact Nominees Grid */
.ff-awards-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: auto;
}

@media (max-width: 768px) {
  .ff-awards-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ff-awards-grid-compact {
    grid-template-columns: 1fr;
  }
}

/* Compact Award Nominee Card */
.ff-card--award-compact {
  background: #FDF9F0;
  border-radius: 12px;
  border: 1px solid rgba(244, 185, 66, 0.2);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-card--award-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 185, 66, 0.1);
}

.ff-badge-compact-award {
  font-size: 0.625rem;
  font-weight: 800;
  color: #B78A39;
  background: #FAF2DF;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(183, 138, 57, 0.15);
  white-space: nowrap;
}

.ff-award-compact__image-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border: 2px solid white;
}

.ff-award-compact__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-award-compact__nominee {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-dark, #0B2545);
  margin: 0 0 10px;
  line-height: 1.3;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-award-compact__action {
  width: 100%;
}

.ff-award-compact__action .ff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  border-radius: 20px;
  background: white;
  border: 1.5px solid #d0d0d0;
  color: var(--text-dark, #0B2545);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.ff-award-compact__action .ff-btn:hover {
  border-color: #B78A39;
  color: #B78A39;
  background: #FAF8F2;
}

.ff-award-compact__voted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  border-radius: 20px;
  background: #FAF2DF !important;
  border: 1.5px solid #FAF2DF !important;
  color: #B78A39 !important;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Responsive styles for Business Owner CTA features row */
@media (max-width: 992px) {
  .ff-biz-cta__features-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 16px;
  }
  .ff-biz-cta__feature-item {
    flex: 0 0 30%; /* 3 items per row on tablet */
    min-width: 110px;
  }
}

@media (max-width: 576px) {
  .ff-biz-cta__feature-item {
    flex: 0 0 45%; /* 2 items per row on mobile */
  }
}

/* ============================================================
   15. FRIEND FINDER STYLES
   ============================================================ */
.friend-finder-hero {
  position: relative;
  background: radial-gradient(circle at 20% 30%, rgba(0, 109, 119, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(231, 111, 81, 0.1) 0%, transparent 50%),
              linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.friend-finder-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: white;
  letter-spacing: 0;
  line-height: 1.15;
}

.friend-finder-hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.6;
  font-weight: 400;
}

.friend-finder-hero .ff-btn {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ff-interest-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  margin-bottom: 40px;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.ff-interest-chips::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.ff-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: white;
  border: 1.5px solid var(--border-soft);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(11, 37, 69, 0.02);
  text-decoration: none;
}

.ff-chip__icon {
  width: 16px !important;
  height: 16px !important;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.ff-chip:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: white;
  box-shadow: 0 4px 10px rgba(0, 109, 119, 0.08);
}

.ff-chip:hover .ff-chip__icon {
  color: var(--brand-primary);
}

.ff-chip--active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 109, 119, 0.2);
}

.ff-chip--active .ff-chip__icon {
  color: white;
}

.ff-chip--active:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 109, 119, 0.3);
}

/* Group Card */
.group-card {
  background: white;
  border-radius: var(--card-radius);
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.group-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-primary);
}

.group-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.group-interest-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 109, 119, 0.08);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.group-card:hover .group-interest-icon {
  background: var(--brand-primary);
  color: white;
}

.group-interest-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.group-interest-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-primary);
}

.group-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.group-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.group-card-title-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.group-card-title-link:hover {
  color: var(--brand-primary) !important;
  text-decoration: underline !important;
}

.group-card .card-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin: 0 0 24px 0;
  line-height: 1.5;
  flex-grow: 1;
}

.group-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
}

.group-footer .member-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.group-footer .member-count svg {
  width: 16px;
  height: 16px;
  color: var(--text-light);
}

.group-footer .join-btn {
  min-width: 110px;
}

/* Safety Notice */
.safety-notice {
  background: #F8FAFC;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--card-radius);
  padding: 28px;
  margin-top: 64px;
  box-shadow: var(--shadow-soft);
}

.safety-notice h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.safety-notice h4 svg {
  width: 22px;
  height: 22px;
  color: var(--brand-primary);
}

.safety-notice p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.safety-notice a {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}

.safety-notice a:hover {
  border-bottom-color: var(--brand-primary);
}

/* Public Event Details Styles */
.event-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0 60px 0;
  border-bottom: 1px solid var(--border-soft);
}

.event-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 37, 69, 0.4) 0%, rgba(11, 37, 69, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.event-hero .ff-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.event-hero .breadcrumbs {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.event-hero .breadcrumbs a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
}

.event-hero .breadcrumbs a:hover {
  text-decoration: underline;
}

.event-hero .category-tag {
  display: inline-block;
  background: var(--brand-coral);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.event-hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 950;
  color: white;
  margin: 0 0 16px 0;
  letter-spacing: 0;
  line-height: 1.15;
}

.event-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.event-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.event-hero-meta-icon {
  width: 16px !important;
  height: 16px !important;
  color: var(--brand-primary-light, #4db6ac);
}

.event-hero .free-badge {
  background: #22C55E;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.event-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .event-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.event-main {
  min-width: 0;
}

.event-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.event-info-card {
  background: white;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.event-info-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

.event-info-card .info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 109, 119, 0.08);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-info-card .info-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.event-info-card strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.event-info-card p {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.event-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
  background: #F8FAFC;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-soft);
  margin-bottom: 40px;
}

.rsvp-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rsvp-buttons span {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.btn-rsvp {
  min-width: 100px;
  border: 1.5px solid var(--border-medium) !important;
  background: white !important;
  color: var(--text-body) !important;
  transition: all 0.2s ease;
}

.btn-rsvp:hover {
  border-color: var(--brand-primary) !important;
  color: var(--brand-primary) !important;
}

.btn-rsvp.active {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: white !important;
}

.event-description {
  margin-bottom: 40px;
}

.event-description h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 850;
  color: var(--brand-navy);
  margin: 0 0 16px 0;
  letter-spacing: 0;
}

.event-description .rich-content {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

.map-placeholder {
  background: #F8FAFC;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 40px 24px;
  text-align: center;
  margin-bottom: 40px;
}

.map-placeholder .map-inner {
  max-width: 320px;
  margin: 0 auto;
}

.map-placeholder .map-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 109, 119, 0.08);
  color: var(--brand-primary);
  margin-bottom: 16px;
}

.map-placeholder .map-icon svg {
  width: 24px !important;
  height: 24px !important;
}

.map-placeholder p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 20px 0;
  font-weight: 500;
}

/* Event Sidebar */
.event-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: white;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card h3 svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--brand-primary);
}

.biz-sidebar-card {
  text-align: center;
}

.biz-sidebar-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-soft);
  margin-bottom: 12px;
}

.biz-sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.biz-sidebar-card p {
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.attendance-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rsvp-count-large {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
}

.attendance-stat span:last-child {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   16. BEST OF FLORENCE STYLES
   ============================================================ */
.bestof-hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #173b64 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bestof-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(244, 185, 66, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.bestof-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.bestof-hero .trophy-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--brand-gold);
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.bestof-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--brand-gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.bestof-hero-sub {
  font-size: 1.25rem;
  margin-bottom: 24px;
  opacity: 0.95;
  color: white;
}
.btn-gold {
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-weight: 800;
}
.btn-gold:hover {
  background: #f1ad24;
  color: var(--brand-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 185, 66, 0.3);
}

.season-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: -40px auto 40px;
  max-width: var(--container-width);
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
@media (max-width: 768px) {
  .season-info-cards {
    grid-template-columns: 1fr;
    margin-top: 24px;
    margin-bottom: 24px;
  }
}
.season-info-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}
.season-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-gold-light);
  color: #B78A39;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.season-info-icon svg {
  width: 24px;
  height: 24px;
}
.season-info-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.season-info-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Category Grid */
.bestof-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.bestof-category-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}
.bestof-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-gold);
}
.bestof-cat-icon {
  font-size: 2.25rem;
  color: var(--brand-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bestof-category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.bestof-category-card .nominee-count {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.bestof-category-card .vote-cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-top: auto;
  transition: transform 0.2s ease;
}
.bestof-category-card:hover .vote-cta {
  transform: translateX(4px);
  color: var(--brand-accent);
}

/* Category Detail Header */
.bestof-cat-header {
  background: var(--brand-cream-dark);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-soft);
}
.bestof-cat-header .breadcrumbs {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.bestof-cat-header .breadcrumbs a {
  text-decoration: none;
  font-weight: 500;
}
.bestof-cat-header .breadcrumbs a:hover {
  color: var(--brand-primary);
}
.bestof-cat-hero {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bestof-cat-hero .bestof-cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-soft);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bestof-cat-hero h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.voting-status {
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.voting-open {
  color: #27ae60;
}
.voted {
  color: var(--brand-primary);
}
.announced {
  color: var(--brand-gold);
}
.coming-soon {
  color: var(--text-muted);
}
.voting-note {
  font-size: 0.8125rem;
  color: var(--brand-accent);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Nominees Grid */
.nominees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.nominee-card {
  position: relative;
  background: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nominee-card--winner {
  border: 2px solid var(--brand-gold) !important;
  box-shadow: 0 4px 24px rgba(244, 185, 66, 0.15) !important;
}
.winner-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(244, 185, 66, 0.2);
}
.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.rank-1 { background: #d4af37; }
.rank-2 { background: #c0c0c0; }
.rank-3 { background: #cd7f32; }

.nominee-card-inner {
  padding: 20px;
  display: flex;
  gap: 16px;
}
.nominee-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: var(--brand-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nominee-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nominee-logo .logo-placeholder {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-light);
  letter-spacing: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nominee-info {
  flex-grow: 1;
  min-width: 0;
}
.nominee-info h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nominee-info h3 a:hover {
  color: var(--brand-primary);
}
.nominee-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 6px 0 10px;
  line-height: 1.4;
}
.vote-count {
  font-size: 0.8125rem;
  color: var(--text-dark);
}
.nominee-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: flex-end;
  flex-shrink: 0;
}
.voted-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #27ae60;
  background: rgba(39,174,96,0.1);
  padding: 6px 12px;
  border-radius: 30px;
}
.bestof-back {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.vote-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-navy);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2000;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* Custom logo sizing fix */
.ff-logo__img-custom--header {
  height: 40px !important;
  max-width: 240px;
}
.ff-logo__img-custom--footer {
  height: 40px !important;
  max-width: 240px;
}
.ff-logo__img-custom--admin {
  height: 32px !important;
  max-width: 200px;
}

/* ============================================================
   16. FOOD & MENUS VISUAL SYSTEM
   ============================================================ */
.food-hero {
  background-image: linear-gradient(rgba(20, 30, 45, 0.65), rgba(20, 30, 45, 0.75)), url('../img/food-hero-bg.png');
  background-size: cover;
  background-position: center;
  padding: 90px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.food-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle, transparent 20%, rgba(20, 30, 45, 0.4) 100%);
}

.food-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.food-hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.food-hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  font-weight: 500;
}

.food-search {
  max-width: 550px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Sliding Visual Cuisine Cards */
.cuisine-slider-wrap {
  margin: 32px 0 20px;
  position: relative;
}

.cuisine-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 4px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cuisine-slider::-webkit-scrollbar {
  display: none;
}

.cuisine-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  background: white;
  border: 2px solid rgba(0, 109, 119, 0.06);
  border-radius: 22px;
  color: var(--brand-navy);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  cursor: pointer;
  user-select: none;
}

.cuisine-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
  box-shadow: 0 12px 24px rgba(0, 109, 119, 0.1);
  color: var(--brand-primary);
}

.cuisine-card.active {
  background: linear-gradient(135deg, var(--brand-primary), #00818a);
  border-color: var(--brand-primary);
  color: white;
  transform: scale(1.06) translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 109, 119, 0.25);
}

.cuisine-card__icon {
  font-size: 2.25rem;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cuisine-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cuisine-card:hover .cuisine-card__icon {
  transform: scale(1.2) rotate(6deg);
}

.cuisine-card:hover .cuisine-card__icon img {
  transform: scale(1.15) rotate(6deg);
}

.cuisine-card__label {
  font-size: 0.825rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.2px;
}

/* Dietary Toggle Pills */
.dietary-pills-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 32px;
  padding: 16px 20px;
  background: rgba(0, 109, 119, 0.02);
  border-radius: 20px;
  border: 1px dashed rgba(0, 109, 119, 0.1);
}

.dietary-label {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 0.9rem;
  margin-right: 8px;
}

.dietary-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: white;
  border: 1.5px solid rgba(0, 109, 119, 0.08);
  border-radius: 30px;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.dietary-pill:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 109, 119, 0.08);
}

.dietary-pill.active {
  background: #2EC4B6;
  border-color: #2EC4B6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(46, 196, 182, 0.35);
}

/* Food Layout Split System */
.food-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 10px;
  align-items: start;
}

@media (max-width: 992px) {
  .food-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.food-sidebar {
  background: white;
  border: 1px solid rgba(0, 109, 119, 0.06);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 100px;
}

.food-sidebar-section {
  border-bottom: 1.5px solid rgba(0, 109, 119, 0.05);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.food-sidebar-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.food-sidebar-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Food Results Cards */
.menu-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid rgba(0, 109, 119, 0.05);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.menu-card:hover {
  transform: translateY(-8px) scale(1.005);
  border-color: rgba(0, 109, 119, 0.14);
  box-shadow: 0 20px 40px rgba(0, 109, 119, 0.09);
}

.menu-card-photo-wrap {
  position: relative;
  overflow: hidden;
  height: 210px;
  background: #f8fafc;
}

.menu-card-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card:hover .menu-card-photo {
  transform: scale(1.08);
}

.menu-card-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, rgba(0, 109, 119, 0.04), rgba(46, 196, 182, 0.04));
  color: rgba(0, 109, 119, 0.2);
}

.menu-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #FF5A5F, #FF8A00);
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3);
  z-index: 2;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-card-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--brand-primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 2;
  font-family: var(--font-heading);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.menu-card .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-card .card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brand-navy);
  margin-bottom: 6px;
  line-height: 1.35;
  letter-spacing: -0.2px;
  transition: color 0.2s ease;
}

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

.menu-card .card-restaurant {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-card .card-rating {
  margin-bottom: 14px;
}

.menu-card .card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.menu-card-dietary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.menu-card-dietary-chip {
  background: rgba(46, 196, 182, 0.08);
  color: #23a093;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: -0.1px;
}

/* Menus Browse Restaurant Cards */
.menu-biz-card {
  background: white;
  border: 1px solid rgba(0, 109, 119, 0.05);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.menu-biz-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 109, 119, 0.15);
  box-shadow: 0 20px 40px rgba(0, 109, 119, 0.09);
}

.menu-biz-card .card-cover {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.menu-biz-card .card-logo-overlay {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background: white;
  object-fit: cover;
}

.menu-biz-card .card-body {
  padding: 38px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-biz-card .card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-navy);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

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

.menu-biz-card .menu-item-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Individual Business Profile Menu Styling */
.menu-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 24px;
}

.menu-section {
  background: white;
  border: 1px solid rgba(0, 109, 119, 0.05);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.menu-section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-navy);
  margin-bottom: 6px;
  position: relative;
  display: inline-block;
}

.menu-section-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 2px;
}

.menu-section-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.menu-item-card {
  display: flex;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 109, 119, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item-card:hover {
  transform: translateY(-4px);
  background: white;
  border-color: rgba(0, 109, 119, 0.1);
  box-shadow: 0 10px 24px rgba(0, 109, 119, 0.06);
}

.menu-item-img {
  width: 100px;
  height: 100%;
  min-height: 100px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.menu-item-card:hover .menu-item-img {
  transform: scale(1.06);
}

.menu-item-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.menu-item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-navy);
  margin: 0;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.menu-item-info .dietary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}

.menu-item-info .dietary-tag {
  background: rgba(46, 196, 182, 0.08);
  color: #23a093;
  padding: 2px 8px;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 800;
}

/* Redesigned illustrated category cards on homepage */
.ff-cat-btn--card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 110px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 10px !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 1;
  border: 1px solid var(--border-soft) !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-soft);
}

.ff-cat-btn--card .ff-cat-btn__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.ff-cat-btn--card .ff-cat-btn__icon-wrap svg {
  width: 22px;
  height: 22px;
}

.ff-cat-btn--card .ff-cat-btn__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-dark, #0B2545) !important;
  text-shadow: none !important;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.2;
  text-align: center;
}

/* Individual Category Themes */

/* Food */
.ff-cat-btn--theme-food {
  background: #FFF5F2 !important;
  border-color: #FFE6E0 !important;
}
.ff-cat-btn--theme-food .ff-cat-btn__icon-wrap {
  background: #FEE8E2;
  color: #E76F51;
}
.ff-cat-btn--theme-food:hover {
  background: #E76F51 !important;
  border-color: #E76F51 !important;
}

/* Events */
.ff-cat-btn--theme-events {
  background: #F5F3FF !important;
  border-color: #EDE9FE !important;
}
.ff-cat-btn--theme-events .ff-cat-btn__icon-wrap {
  background: #EDE9FE;
  color: #6366F1;
}
.ff-cat-btn--theme-events:hover {
  background: #6366F1 !important;
  border-color: #6366F1 !important;
}

/* Jobs */
.ff-cat-btn--theme-jobs {
  background: #ECFEFF !important;
  border-color: #CFFAFE !important;
}
.ff-cat-btn--theme-jobs .ff-cat-btn__icon-wrap {
  background: #CFFAFE;
  color: #0891B2;
}
.ff-cat-btn--theme-jobs:hover {
  background: #0891B2 !important;
  border-color: #0891B2 !important;
}

/* Classifieds */
.ff-cat-btn--theme-classifieds {
  background: #FFFBEB !important;
  border-color: #FEF3C7 !important;
}
.ff-cat-btn--theme-classifieds .ff-cat-btn__icon-wrap {
  background: #FEF3C7;
  color: #D97706;
}
.ff-cat-btn--theme-classifieds:hover {
  background: #D97706 !important;
  border-color: #D97706 !important;
}

/* Friends */
.ff-cat-btn--theme-friends {
  background: #FFF1F2 !important;
  border-color: #FFE4E6 !important;
}
.ff-cat-btn--theme-friends .ff-cat-btn__icon-wrap {
  background: #FFE4E6;
  color: #E11D48;
}
.ff-cat-btn--theme-friends:hover {
  background: #E11D48 !important;
  border-color: #E11D48 !important;
}

/* Deals */
.ff-cat-btn--theme-deals {
  background: #F0FDF4 !important;
  border-color: #DCFCE7 !important;
}
.ff-cat-btn--theme-deals .ff-cat-btn__icon-wrap {
  background: #DCFCE7;
  color: #16A34A;
}
.ff-cat-btn--theme-deals:hover {
  background: #16A34A !important;
  border-color: #16A34A !important;
}

/* Bookings */
.ff-cat-btn--theme-bookings {
  background: #F0FDFA !important;
  border-color: #CCFBF1 !important;
}
.ff-cat-btn--theme-bookings .ff-cat-btn__icon-wrap {
  background: #CCFBF1;
  color: #0D9488;
}
.ff-cat-btn--theme-bookings:hover {
  background: #0D9488 !important;
  border-color: #0D9488 !important;
}

/* Shopping */
.ff-cat-btn--theme-shopping {
  background: #FAF5FF !important;
  border-color: #F3E8FF !important;
}
.ff-cat-btn--theme-shopping .ff-cat-btn__icon-wrap {
  background: #F3E8FF;
  color: #8B5CF6;
}
.ff-cat-btn--theme-shopping:hover {
  background: #8B5CF6 !important;
  border-color: #8B5CF6 !important;
}

/* Hover state global overrides */
.ff-cat-btn--card:hover .ff-cat-btn__icon-wrap {
  background: #ffffff !important;
  transform: scale(1.1);
}
.ff-cat-btn--card:hover .ff-cat-btn__label {
  color: #ffffff !important;
}
.ff-cat-btn--theme-food:hover .ff-cat-btn__icon-wrap { color: #E76F51 !important; }
.ff-cat-btn--theme-events:hover .ff-cat-btn__icon-wrap { color: #6366F1 !important; }
.ff-cat-btn--theme-jobs:hover .ff-cat-btn__icon-wrap { color: #0891B2 !important; }
.ff-cat-btn--theme-classifieds:hover .ff-cat-btn__icon-wrap { color: #D97706 !important; }
.ff-cat-btn--theme-friends:hover .ff-cat-btn__icon-wrap { color: #E11D48 !important; }
.ff-cat-btn--theme-deals:hover .ff-cat-btn__icon-wrap { color: #16A34A !important; }
.ff-cat-btn--theme-bookings:hover .ff-cat-btn__icon-wrap { color: #0D9488 !important; }
.ff-cat-btn--theme-shopping:hover .ff-cat-btn__icon-wrap { color: #8B5CF6 !important; }

.ff-cat-btn--card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* User Dashboard Groups Tab Styles */
.dash-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.dash-group-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.dash-group-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

.dash-group-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0;
}

.dash-group-card .group-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
}

.dash-group-card .group-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* Submission Forms styling overrides */
.form-card-container {
  max-width: 760px;
  margin: 40px auto;
}

/* ============================================================
   AUTH PAGES & MINIMAL LAYOUT STYLES
   ============================================================ */
.ff-minimal-body {
  background: radial-gradient(at 0% 0%, #FAF7F2 0%, transparent 60%),
              radial-gradient(at 50% 0%, rgba(0, 109, 119, 0.08) 0%, transparent 50%),
              radial-gradient(at 100% 0%, rgba(226, 135, 67, 0.08) 0%, transparent 60%),
              radial-gradient(at 0% 100%, rgba(131, 197, 190, 0.1) 0%, transparent 50%),
              radial-gradient(at 100% 100%, #F5F2EB 0%, transparent 70%),
              #F5F2EB;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.ff-minimal-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.ff-minimal-header {
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(0, 109, 119, 0.06);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}

.ff-minimal-main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.ff-minimal-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(0, 109, 119, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}

.ff-minimal-footer a {
  color: var(--brand-primary);
  text-decoration: none;
  margin-left: 8px;
  font-weight: 500;
}

.ff-minimal-footer a:hover {
  text-decoration: underline;
}

/* Auth Card Styles */
.auth-page {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 15px 35px -5px rgba(0, 109, 119, 0.08), 
              0 5px 15px -5px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px -10px rgba(0, 109, 119, 0.15), 
              0 10px 20px -5px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 109, 119, 0.15);
}

.auth-logo {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo img {
  height: 48px;
  max-width: 200px;
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-secondary);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.auth-sub {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group--inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* Custom Styled Checkbox */
.ff-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 109, 119, 0.2);
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-right: 4px;
}

.ff-checkbox:hover {
  border-color: var(--brand-primary);
  background: rgba(0, 109, 119, 0.02);
  transform: scale(1.05);
}

.ff-checkbox:checked {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 109, 119, 0.25);
}

.ff-checkbox:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
  position: absolute;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-body);
  user-select: none;
  font-weight: 500;
}

.link-sm {
  font-size: 0.875rem;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

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

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Password Toggle wrap */
.input-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-password-wrap .ff-input {
  width: 100%;
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.password-toggle:hover {
  color: var(--brand-primary);
  background: rgba(0, 109, 119, 0.05);
  transform: scale(1.1);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

/* Password strength bar */
.password-strength-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease;
}

.strength-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   USER DASHBOARD LAYOUT & CARD STYLES
   ============================================================ */
.dashboard-wrapper {
  background-color: var(--brand-cream);
  padding: 40px 0;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Sidebar & Profile Card */
.dashboard-sidebar {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px -2px rgba(0, 109, 119, 0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.user-profile-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  border-radius: var(--card-radius-sm);
  background: linear-gradient(135deg, rgba(0, 109, 119, 0.03), rgba(131, 197, 190, 0.05));
  border: 1px solid rgba(0, 109, 119, 0.05);
  position: relative;
  overflow: hidden;
}

.user-avatar-lg,
.user-avatar-placeholder-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid white;
  box-shadow: 0 8px 20px -5px rgba(0, 109, 119, 0.15);
  transition: transform 0.3s ease;
}

.user-avatar-lg:hover,
.user-avatar-placeholder-lg:hover {
  transform: scale(1.05) rotate(2deg);
}

.user-avatar-placeholder-lg {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
}

.user-profile-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--brand-secondary);
  margin: 0;
}

.user-email {
  font-size: 0.875rem;
  color: var(--text-muted);
  word-break: break-all;
  margin: 0;
}

/* Dashboard Navigation */
.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: var(--card-radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
}

.dash-nav-item:hover {
  background: rgba(0, 109, 119, 0.04);
  color: var(--brand-primary);
  padding-left: 20px;
}

.dash-nav-item.active {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 109, 119, 0.15);
  border-left: 3px solid var(--brand-secondary);
}

.dash-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-badge {
  background: var(--brand-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
}

/* Main Dashboard Panels */
.dashboard-main {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px -2px rgba(0, 109, 119, 0.05);
  padding: 40px;
  min-height: 500px;
}

@media (max-width: 992px) {
  .dashboard-main {
    padding: 30px 20px;
  }
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--brand-cream);
  padding-bottom: 16px;
}

.dash-header h1 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-secondary);
  margin: 0;
  letter-spacing: 0;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

/* Stats Card Theming */
.stat-card {
  border: 1px solid rgba(0, 109, 119, 0.05);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(0, 109, 119, 0.08);
}

.stat-card:hover::before {
  height: 6px;
}

/* 1. Reviews (Amber/Gold) */
.stat-card--reviews::before {
  background: linear-gradient(90deg, #F5B041, #F4D03F);
}
.stat-card--reviews .stat-icon {
  color: #D35400;
  background: rgba(245, 176, 65, 0.12);
}
.stat-card--reviews:hover {
  border-color: rgba(245, 176, 65, 0.3);
}

/* 2. Saved Places (Rose/Coral) */
.stat-card--saved::before {
  background: linear-gradient(90deg, #EC7063, #F1948A);
}
.stat-card--saved .stat-icon {
  color: #C0392B;
  background: rgba(236, 112, 99, 0.12);
}
.stat-card--saved:hover {
  border-color: rgba(236, 112, 99, 0.3);
}

/* 3. Classifieds (Emerald/Green) */
.stat-card--classifieds::before {
  background: linear-gradient(90deg, #52BE80, #58D68D);
}
.stat-card--classifieds .stat-icon {
  color: #196F3D;
  background: rgba(82, 190, 128, 0.12);
}
.stat-card--classifieds:hover {
  border-color: rgba(82, 190, 128, 0.3);
}

/* 4. RSVPs (Sky/Teal/Sage) */
.stat-card--events::before {
  background: linear-gradient(90deg, #006D77, #83C5BE);
}
.stat-card--events .stat-icon {
  color: #006D77;
  background: rgba(0, 109, 119, 0.1);
}
.stat-card--events:hover {
  border-color: rgba(0, 109, 119, 0.3);
}

/* 5. Groups (Violet/Indigo) */
.stat-card--groups::before {
  background: linear-gradient(90deg, #AF7AC5, #C39BD3);
}
.stat-card--groups .stat-icon {
  color: #7D3C98;
  background: rgba(175, 122, 197, 0.12);
}
.stat-card--groups:hover {
  border-color: rgba(175, 122, 197, 0.3);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 850;
  color: var(--brand-secondary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Content Sections */
.content-section {
  margin-bottom: 32px;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--brand-secondary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-header-row h2 {
  margin-bottom: 0;
}

.section-header-row a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.section-header-row a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Saved grid/cards */
.saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.biz-card-sm {
  text-decoration: none;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.biz-card-sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-primary-light);
}

.biz-card-sm .card-logo {
  height: 120px;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--border-soft);
  background: var(--brand-cream);
}

.biz-card-sm .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.biz-card-sm .card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin: 0;
}

/* Reviews listings */
.dash-review-item,
.dash-review-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius-sm);
  padding: 20px;
  margin-bottom: 16px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dash-review-item:hover,
.dash-review-card:hover {
  border-color: var(--brand-primary-light);
  box-shadow: 0 4px 15px rgba(0, 109, 119, 0.03);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.review-header a {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.review-header a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.review-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.review-status--pending { background: var(--brand-gold-light); color: #856404; }
.review-status--approved { background: rgba(46,204,113,0.15); color: #27ae60; }
.review-status--rejected { background: rgba(231,76,60,0.15); color: #c0392b; }

/* Events card details */
.event-card-sm {
  text-decoration: none;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-card-sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.event-card-sm .card-cover {
  height: 120px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-soft);
}

.event-card-sm .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-card-sm .event-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0;
}

.event-card-sm .card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin: 0;
}

.rsvp-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--brand-sage);
  color: var(--brand-primary-dark);
  align-self: flex-start;
}

/* Classifieds Table styling */
.classifieds-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.ff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.ff-table th,
.ff-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.ff-table th {
  background: #FAF9F6;
  font-weight: 700;
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--border-soft);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ff-table tbody tr {
  transition: background-color 0.2s ease;
}

.ff-table tbody tr:hover {
  background-color: rgba(0, 109, 119, 0.01);
}

.ff-table tr:last-child td {
  border-bottom: none;
}

.ff-table a {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: 600;
}

.ff-table a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* Settings Sections */
.settings-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.settings-section {
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 30px;
  background: white;
  box-shadow: 0 4px 20px -2px rgba(0, 109, 119, 0.03);
}

.settings-section h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--brand-secondary);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 12px;
}

.settings-section--danger {
  border-color: rgba(231,76,60,0.3);
}

.settings-section--danger h2 {
  color: #c0392b;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
}

.current-avatar-preview {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 10px;
  border: 2px solid var(--brand-primary-light);
}

/* Custom Notifications list */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-item {
  border: 1px solid rgba(0, 109, 119, 0.06);
  border-radius: 12px;
  padding: 16px 20px;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.notification-item:hover {
  box-shadow: 0 4px 15px rgba(0, 109, 119, 0.04);
  transform: translateY(-1px);
}

.notification-item--unread {
  background: linear-gradient(90deg, rgba(0, 109, 119, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border-left: 4px solid var(--brand-primary);
}

.notif-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}

/* ============================================================
   17. FRIEND FINDER GROUP DETAILS VISUAL SYSTEM
   ============================================================ */
.group-hero-banner {
  background: linear-gradient(135deg, var(--brand-secondary, #0B2545) 0%, var(--brand-primary, #006D77) 100%);
  color: white;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.group-hero-banner .breadcrumbs {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.group-hero-banner .breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.group-hero-banner .breadcrumbs a:hover {
  color: white;
}

.group-hero-banner .crumb-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

.group-hero-banner .active-crumb {
  color: white;
  font-weight: 600;
}

.group-hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.group-hero-badge-wrap {
  display: flex;
}

.group-interest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  backdrop-filter: blur(4px);
}

.group-hero-icon-svg {
  width: 14px;
  height: 14px;
  color: var(--brand-accent, #E29578);
}

.group-hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 850;
  color: white;
  margin: 0;
  letter-spacing: 0;
  line-height: 1.15;
}

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

.group-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.group-hero-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.group-hero-meta .meta-item svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.group-hero-meta .meta-separator {
  color: rgba(255, 255, 255, 0.3);
}

.group-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.group-hero-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.group-hero-tag:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

/* Page Layout */
.group-content-section {
  background-color: var(--brand-cream);
  padding: 48px 0;
}

.group-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .group-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.group-card-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.group-details-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 32px;
  box-shadow: 0 4px 20px -2px rgba(0, 109, 119, 0.03);
}

@media (max-width: 576px) {
  .group-details-card {
    padding: 24px;
  }
}

.card-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--brand-secondary);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--brand-cream);
  padding-bottom: 12px;
}

.card-section-title svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}

.group-details-card .rich-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* Status / Join block inside main content */
.group-joined-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF9F6;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.member-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-status-pill--active {
  background: rgba(46, 204, 113, 0.12);
  color: #27AE60;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.member-status-pill--inactive {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.join-btn-main svg,
.btn svg {
  width: 16px;
  height: 16px;
}

.join-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar Styling */
.group-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: 0 4px 20px -2px rgba(0, 109, 119, 0.03);
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--brand-secondary);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed var(--border-soft);
  padding-bottom: 10px;
}

.sidebar-card-title svg {
  width: 18px;
  height: 18px;
  color: var(--brand-primary);
}

/* Sponsor Card styling */
.sponsor-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FAF9F6;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.sponsor-logo {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.sponsor-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--brand-secondary);
  margin: 0 0 8px;
}

.sponsor-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.sponsor-discount-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(226, 135, 67, 0.06), rgba(226, 135, 67, 0.12));
  border: 1px dashed rgba(226, 135, 67, 0.3);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #B95E35;
}

.sponsor-discount-pill svg {
  width: 18px;
  height: 18px;
  color: #E28743;
  flex-shrink: 0;
}

/* Safety Card */
.safety-card {
  background: linear-gradient(135deg, rgba(231, 111, 81, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border-left: 4px solid var(--brand-coral, #E76F51);
}

.safety-card .sidebar-card-title svg {
  color: var(--brand-coral, #E76F51);
}

/* ============================================================
   18. FOOTER STYLING CORRECTIONS
   ============================================================ */
.ff-footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(42,157,143,0.18), transparent 34%),
    linear-gradient(180deg, #0B2545 0%, #061a31 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0 24px !important;
  font-family: var(--font-body);
}

.ff-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 24px;
}

@media (max-width: 992px) {
  .ff-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .ff-footer {
    padding: 32px 16px 20px !important;
  }

  .ff-footer__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    padding-bottom: 20px !important;
  }

  .ff-footer__col--brand {
    grid-column: 1 / -1 !important;
    max-width: none;
  }

  .ff-app-badge {
    width: 100%;
  }
}

.ff-footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ff-footer__col--brand {
  max-width: 360px;
}

.ff-logo--footer {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 12px;
}

.ff-logo--footer img,
.ff-logo--footer svg,
.ff-logo--footer .ff-footer__brand-logo-icon {
  height: 56px !important;
  width: auto !important;
  max-height: 56px !important;
}

.ff-logo__name--footer {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0;
}

.ff-footer__description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 34ch;
}

.ff-footer__copy--brand {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Social links in footer */
.ff-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.ff-footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ff-footer__social-link:hover {
  background: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 109, 119, 0.3);
  border-color: var(--brand-primary);
}

.ff-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* App Badges */
.ff-footer__apps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.ff-app-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  width: fit-content;
  color: white;
  transition: all 0.25s ease;
  user-select: none;
}

.ff-app-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.ff-app-badge svg {
  width: 24px;
  height: 24px;
  color: white;
}

.ff-app-badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ff-app-badge small {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.ff-app-badge strong {
  font-size: 0.9375rem;
  font-weight: 700;
}

/* Footer link column sections */
.ff-footer__heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.ff-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px !important;
}

.ff-footer__links li {
  margin: 0 !important;
}

.ff-footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 22px !important;
}

@media (min-width: 769px) {
  .ff-footer__links a,
  .ff-footer-links a,
  .ff-footer__social-link,
  .ff-footer__social a {
    min-height: unset !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.ff-footer__links a:hover {
  color: white;
  transform: translateX(3px);
}

/* Footer Bottom Bar */
.ff-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 0 !important;
  background: transparent !important;
}

.ff-footer__bottom-inner {
  display: flex;
  justify-content: flex-end !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ff-footer__bottom .ff-footer__copy {
  display: none !important;
}

@media (max-width: 768px) {
  .ff-footer__bottom-inner {
    justify-content: center !important;
    text-align: center;
  }
}

.ff-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.ff-footer__made-with {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ff-footer__made-with svg {
  width: 14px;
  height: 14px;
  color: var(--brand-coral, #EC7063);
  animation: heartPulse 1.2s infinite ease-in-out;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.ff-footer__legal-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 768px) {
  .ff-footer__legal-links {
    justify-content: center;
  }
}

.ff-footer__legal-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ff-footer__legal-links a:hover {
  color: white;
}

/* Review Report Button */
.review-report-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color var(--transition), background-color var(--transition);
}

.review-report-btn:hover {
  color: var(--brand-coral);
  background-color: rgba(231, 111, 81, 0.08);
}

/* ============================================================
   BUSINESS PROFILE PAGE STYLES
   ============================================================ */

/* Cover image */
.biz-cover {
  height: 240px;
  background-color: var(--brand-primary, #006D77);
  background-image: linear-gradient(135deg, #006D77 0%, #83C5BE 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
}
.biz-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(11, 37, 69, 0.2), rgba(11, 37, 69, 0.6));
}

@media (min-width: 768px) {
  .biz-cover {
    height: 360px;
  }
}

/* Header Section */
.biz-header-section {
  position: relative;
  z-index: 10;
  padding: 0 0 40px 0;
  margin-top: -60px;
}
.biz-header {
  background: white;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 37, 69, 0.04);
}

@media (min-width: 768px) {
  .biz-header-section {
    margin-top: -85px;
  }
  .biz-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    padding: 32px;
  }
}

/* Logo */
.biz-logo-wrap {
  width: 100px;
  height: 100px;
  min-width: 100px;
  border-radius: var(--card-radius-sm);
  border: 4px solid white;
  background: white;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-top: -50px;
  position: relative;
  z-index: 12;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .biz-logo-wrap {
    width: 150px;
    height: 150px;
    min-width: 150px;
    margin-top: -90px;
    margin-bottom: 0;
  }
}

.biz-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.biz-logo-placeholder {
  background: var(--brand-primary);
  color: white;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-heading);
}

/* Title Block */
.biz-title-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.biz-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.biz-name {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brand-secondary);
  font-family: var(--font-heading);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .biz-name {
    font-size: 2.25rem;
  }
}

.verified-badge-lg {
  background: #E6F4EA;
  color: #137333;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bestof-badge {
  background: #FEF7E0;
  color: #B06000;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #FAD283;
}

/* Meta info */
.biz-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.biz-category {
  font-weight: 600;
  color: var(--brand-primary);
}
.biz-price {
  background: rgba(11, 37, 69, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--brand-secondary);
}
.biz-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-gold);
}
.open-status {
  font-weight: 600;
}
.open-status--open {
  color: #137333;
}
.open-status--closed {
  color: #C5221F;
}

.all-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category-tag-sm {
  background: var(--brand-sage);
  color: var(--brand-primary-dark);
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* Action Buttons */
.biz-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
  width: 100%;
}

/* Sticky Tabs Navigation */
.sticky-tabs {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.02);
}
.biz-tabs {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.biz-tabs::-webkit-scrollbar {
  display: none;
}
.biz-tab {
  padding: 16px 8px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}
.biz-tab:hover {
  color: var(--brand-primary);
}
.biz-tab.active {
  color: var(--brand-primary);
}
.biz-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 3px 3px 0 0;
}
.tab-badge {
  background: rgba(11, 37, 69, 0.08);
  color: var(--brand-secondary);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 700;
}

/* Tab Content Layout */
.biz-tab-content {
  padding: 32px 0 60px 0;
}
.biz-overview-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .biz-overview-layout {
    grid-template-columns: 2.2fr 1fr;
  }
}

.content-section {
  background: white;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
  border: 1px solid rgba(11, 37, 69, 0.02);
}

@media (min-width: 768px) {
  .content-section {
    padding: 32px;
  }
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--brand-secondary);
  margin-bottom: 20px;
  font-weight: 700;
}

.rich-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* Hours Table */
.hours-table {
  width: 100%;
}
.hours-table tr {
  border-bottom: 1px solid rgba(11, 37, 69, 0.04);
}
.hours-table tr:last-child {
  border-bottom: none;
}
.hours-table tr.today {
  font-weight: 700;
  color: var(--brand-primary);
}
.hours-table td {
  padding: 12px 8px;
}
.hours-table td:first-child {
  padding-left: 0;
}
.day-name {
  width: 120px;
  font-weight: 500;
}
.day-hours {
  color: var(--text-body);
}
.closed-label {
  color: #C5221F;
  font-weight: 600;
}
.today-badge {
  background: var(--brand-sage);
  color: var(--brand-primary-dark);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  font-weight: 600;
}

/* Sidebar Styling */
.biz-overview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 37, 69, 0.02);
}
.sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--brand-secondary);
  margin-bottom: 16px;
  font-weight: 700;
}
.sidebar-card p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sidebar-card p:last-child {
  margin-bottom: 0;
}
.sidebar-card a:hover {
  text-decoration: underline;
  color: var(--brand-primary);
}
.sidebar-deal {
  background: var(--brand-cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.sidebar-deal:last-child {
  margin-bottom: 0;
}
.deal-badge-sm {
  background: var(--brand-accent);
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Map Placeholder */
.map-placeholder {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
  border: 1px solid rgba(11, 37, 69, 0.02);
}
.map-inner {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f3ece3;
  padding: 20px;
  text-align: center;
}
.map-icon {
  font-size: 2rem;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.amenity-tag {
  font-size: 0.95rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Menu Tab Styles */
.menu-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.menu-section {
  display: flex;
  flex-direction: column;
}
.menu-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--border-soft);
  padding-bottom: 8px;
  font-weight: 700;
}
.menu-section-desc {
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.menu-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.menu-item-card {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  border: 1px solid rgba(11, 37, 69, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.menu-item-img {
  width: 110px;
  min-width: 110px;
  background-size: cover;
  background-position: center;
}
.menu-item-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.menu-item-name {
  font-weight: 600;
  color: var(--brand-secondary);
  font-size: 1.05rem;
}
.popular-badge {
  font-size: 1rem;
}
.menu-item-price {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 1.05rem;
}
.menu-item-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 8px 0;
  line-height: 1.5;
}
.dietary-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.dietary-tag {
  font-size: 0.75rem;
  background: #E8F0FE;
  color: #1A73E8;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

/* Reviews Tab Styles */
.rating-summary {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(11, 37, 69, 0.04);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(11, 37, 69, 0.06);
}

@media (min-width: 768px) {
  .rating-summary {
    flex-direction: row;
    padding: 32px;
    gap: 48px;
  }
}

.rating-overall-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px;
}

@media (min-width: 768px) {
  .rating-overall-box {
    border-right: 1px solid var(--border-soft);
    padding-right: 48px;
  }
}

.rating-big {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--brand-secondary);
  line-height: 1;
  letter-spacing: -1px;
}
.rating-total {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}
.rating-breakdown {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  width: 100%;
}
.rbar-label {
  flex: 0 0 160px;
  font-weight: 600;
  color: var(--brand-secondary, #264653);
}
@media (max-width: 576px) {
  .rbar-label {
    flex: 0 0 120px;
    font-size: 0.85rem;
  }
}
.rbar-track {
  flex-grow: 1;
  height: 10px;
  background: rgba(11, 37, 69, 0.04);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
.rbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary, #006D77) 0%, #3a9ea5 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 109, 119, 0.15);
}
.rbar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  animation: rbar-shimmer 2.5s infinite linear;
}
@keyframes rbar-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.rbar-val {
  width: 35px;
  text-align: right;
  font-weight: 700;
  color: var(--brand-secondary, #264653);
  font-size: 0.95rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 37, 69, 0.02);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: var(--shadow-soft);
}
.reviewer-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-sage);
  color: var(--brand-primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid white;
  box-shadow: var(--shadow-soft);
}
.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.review-body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* Empty states */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 37, 69, 0.02);
}
.empty-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}
.empty-state h2 {
  font-family: var(--font-heading);
  color: var(--brand-secondary);
  font-size: 1.5rem;
}

/* Deals */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.deal-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 37, 69, 0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.deal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--brand-secondary);
  font-weight: 700;
}
.deal-badge {
  align-self: flex-start;
  background: var(--brand-accent);
  color: white;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.deal-expiry {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* Photos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.photo-thumb {
  aspect-ratio: 1;
  border-radius: var(--card-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.photo-thumb:hover {
  transform: scale(1.02);
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 37, 69, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* FAQs */
.faqs-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius-sm);
  overflow: hidden;
  background: white;
  transition: var(--transition);
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  font-weight: 600;
  color: var(--brand-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: var(--transition);
}
.faq-question:hover {
  background: var(--brand-cream);
}
.faq-toggle {
  font-size: 1.25rem;
  color: var(--brand-primary);
  transition: transform 0.2s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out, padding 0.25s ease-out;
  padding: 0 24px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.payment-tag {
  background: #f1f3f5;
  color: #495057;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
}

/* Review Form Styling */
.review-form-section {
  background: white;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 37, 69, 0.02);
  margin-top: 32px;
}

@media (min-width: 768px) {
  .review-form-section {
    padding: 32px;
  }
}

.review-form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--brand-secondary);
  margin-bottom: 24px;
  font-weight: 700;
}
.rating-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.star-rating-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.star-rating-group:hover {
  background: white;
  border-color: var(--brand-primary-light, #83c5be);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 109, 119, 0.05);
}
.star-rating-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-secondary, #264653);
  margin-bottom: 2px;
}
.star-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}
.star-input input {
  display: none;
}
.star-input label {
  font-size: 2rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease, text-shadow 0.15s ease;
  line-height: 1;
}
.star-input label:hover {
  transform: scale(1.3);
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: var(--brand-gold, #ffb300);
  text-shadow: 0 0 8px rgba(255, 179, 0, 0.3);
}

.review-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.review-tag {
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 600;
}
.owner-response {
  background: var(--brand-cream);
  border-left: 3px solid var(--brand-primary);
  padding: 16px;
  border-radius: 0 var(--card-radius-sm) var(--card-radius-sm) 0;
  margin-top: 16px;
  font-size: 0.95rem;
}
.owner-response strong {
  color: var(--brand-secondary);
}
.owner-response p {
  margin-top: 6px;
  color: var(--text-body);
}

/* Modernized Review Form - Would You Return Selector */
.would-return-selector {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.return-btn {
  flex: 1;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.return-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.return-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  color: var(--brand-secondary, #264653);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.return-btn:hover .return-btn-content {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Checked States */
.return-btn-yes input[type="radio"]:checked + .return-btn-content {
  background: rgba(16, 185, 129, 0.08); /* Tailwind emerald-500 tint */
  border-color: #10b981;
  color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.return-btn-no input[type="radio"]:checked + .return-btn-content {
  background: rgba(239, 68, 68, 0.08); /* Tailwind red-500 tint */
  border-color: #ef4444;
  color: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

/* inline SVG customization inside return button */
.return-btn-content svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.return-btn:hover .return-btn-content svg {
  transform: scale(1.1);
}

/* Modernized Review Form - Checkbox Tags Badges */
.tag-selector-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag-badge-label {
  cursor: pointer;
  position: relative;
  display: inline-flex;
}

.tag-badge-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tag-badge-content {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 20px;
  color: var(--text-muted, #64748b);
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-badge-label:hover .tag-badge-content {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--brand-secondary, #264653);
  transform: scale(1.03);
}

.tag-badge-label input[type="checkbox"]:checked + .tag-badge-content {
  background: rgba(0, 109, 119, 0.08);
  border-color: var(--brand-primary, #006D77);
  color: var(--brand-primary, #006D77);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 109, 119, 0.1);
}

/* Form layouts and buttons adjustments */
.review-form-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .review-form-section .form-row {
    grid-template-columns: 1fr;
  }
}

.review-form-section .form-group {
  margin-bottom: 20px;
}

/* Smooth input styling for date picker */
.ff-input[type="date"] {
  padding: 11px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--brand-secondary, #264653);
  border-radius: 8px;
  border: 1px solid var(--border-soft, #edf2f7);
  background: #f8fafc;
  transition: all 0.2s ease;
}

.ff-input[type="date"]:focus {
  border-color: var(--brand-primary, #006D77);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.15);
}

/* ============================================================
   26. SEARCH RESULTS PAGE
   ============================================================ */
.search-hero {
  background: var(--brand-cream);
  border-bottom: 1px solid var(--border-soft);
  padding: 40px 0;
}

.search-main-form {
  max-width: 720px;
  margin: 0 auto;
}

.search-bar-wrap {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid var(--border-soft);
  border-radius: var(--btn-radius);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-bar-wrap:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.12);
}

.search-icon {
  font-size: 1.1rem;
  margin-right: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.search-main-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
  padding: 8px 0;
}

.search-submit-btn {
  border-radius: var(--btn-radius);
  padding: 10px 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.ai-assistant-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--brand-cream-dark), #FAF0DF);
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.ai-assistant-box p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-body);
}

.ai-link {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: underline;
  transition: color var(--transition);
}

.ai-link:hover {
  color: var(--brand-primary-dark);
}

.search-results-section {
  background: #FCFBF7;
}

.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Sidebar Filters (replacing Admin ff-sidebar styling) */
.search-filters {
  background: white !important;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  width: 100% !important;
  height: auto !important;
  position: static !important;
  display: block !important;
}

.filter-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 8px 0;
  border-bottom: 2px solid var(--brand-primary);
  padding-bottom: 6px;
  display: inline-block;
  align-self: flex-start;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-range-inputs span {
  color: var(--text-light);
  font-weight: 600;
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  user-select: none;
}

.filter-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

.search-results-main {
  min-width: 0; /* Prevents flex children from overflowing */
}

/* Tab Bar */
.search-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--border-soft);
  margin-bottom: 24px;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.search-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.search-tab {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-tab:hover {
  color: var(--brand-primary);
  background: rgba(0, 109, 119, 0.05);
}

.search-tab.active {
  color: white;
  background: var(--brand-primary);
}

.tab-count {
  font-size: 0.75rem;
  background: rgba(0, 109, 119, 0.08);
  color: var(--brand-primary);
  padding: 1px 8px;
  border-radius: 12px;
  font-weight: 700;
  transition: all var(--transition);
}

.search-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Result Groups */
.result-group {
  margin-bottom: 40px;
}

.result-group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 8px;
}

.result-group-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0;
}

.see-all-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.see-all-link:hover {
  color: var(--brand-primary-dark);
}

/* Business Card Styles */
.business-card .card-cover {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-sage);
  position: relative;
  border-top-left-radius: var(--card-radius-sm);
  border-top-right-radius: var(--card-radius-sm);
}

.business-card .verified-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #D1FAE5;
  color: #065F46;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.business-card .card-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  margin-top: -32px;
  margin-left: 12px;
  margin-bottom: 8px;
  position: relative;
  background: white;
}

.business-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 4px 0;
}

.business-card .card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.business-card .card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  color: var(--brand-gold);
  margin-bottom: 10px;
}

.business-card .rating-count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.business-card .card-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.4;
  margin: 0;
}

/* Menu Item Card Styles */
.menu-item-card {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  align-items: stretch;
}

.menu-item-photo {
  width: 120px;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-sage);
  flex-shrink: 0;
}

.menu-item-card .card-body {
  flex: 1;
  padding: 16px;
  min-width: 0;
}

.menu-item-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--brand-navy);
  margin: 0 0 4px 0;
}

.menu-item-card .card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.menu-item-card .popular-badge {
  color: var(--brand-coral);
  font-weight: 700;
}

.menu-item-card .card-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.menu-item-card .item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* Event Card Styles */
.event-card .card-cover {
  height: 130px;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-sage);
  position: relative;
}

.event-card .free-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand-coral);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.event-card .event-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-coral);
  margin: 0 0 4px 0;
  text-transform: uppercase;
}

.event-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.event-card .card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* Job Card Search Rows */
.job-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius-sm);
  transition: all var(--transition);
}

.job-card-row:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.job-card-row .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 4px 0;
}

.job-card-row .card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.job-card-row .job-salary {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* Deal Card Rows */
.deal-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius-sm);
  transition: all var(--transition);
}

.deal-card-row:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.deal-card-row .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 4px 0;
}

.deal-card-row .card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.deal-card-row .deal-badge {
  background: var(--brand-gold-light);
  color: var(--brand-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Classified Card Search Rows */
.classified-card {
  padding: 16px;
  position: relative;
}

.classified-card .classified-category-badge {
  font-size: 0.7rem;
  color: var(--brand-clay);
  background: rgba(199, 125, 87, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.classified-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.classified-card .classified-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* Empty State Suggestions */
.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

.suggestion-chip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(0, 109, 119, 0.05);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all var(--transition);
}

.suggestion-chip:hover {
  background: var(--brand-primary);
  color: white;
}

.search-empty-start {
  text-align: center;
  max-width: 600px;
  margin: 60px auto;
}

.search-empty-start h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 850;
  color: var(--brand-navy);
  margin-bottom: 20px;
}

/* Responsive Search Grid */
@media (max-width: 1024px) {
  .search-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .search-hero {
    padding: 24px 0;
  }
  .search-bar-wrap {
    padding: 4px 4px 4px 16px;
  }
  .search-main-input {
    font-size: 0.9rem;
  }
  .search-submit-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
  }
  .menu-item-card {
    flex-direction: column;
  }
  .menu-item-photo {
    width: 100%;
    height: 150px;
  }
}

.meetup-title-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

