/*
Theme Name: PFCL
Theme URI: https://pfcl.org
Description: A premium contractor lead generation and directory platform.
Version: 1.1.0
Author: Restaurant Buyers Club
Tags: directory, listings, contractors, leads, custom-menu, featured-images, threaded-comments, translation-ready
Text Domain: rbc
*/

/* =============================================
   DESIGN TOKENS
============================================= */
:root {
  --green-900: #1c0f05;
  --green-800: #2e1a09;
  --green-700: #4a2c10;
  --green-600: #7a4a20;
  --green-500: #a0632a;
  --green-400: #c68642;
  --green-200: #e8c49a;
  --green-100: #f2e0c8;
  --green-50:  #faf4ec;

  --cream-900: #2c2417;
  --cream-700: #6b5a3e;
  --cream-500: #a8916e;
  --cream-200: #e8dccb;
  --cream-100: #f5efe4;
  --cream-50:  #faf7f2;

  --gold: #c68642;
  --gold-light: #e8aa6a;
  --red: #8b2020;
  --red-light: #f2dada;
  --red-dark: #6a1818;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.14), 0 4px 10px rgba(0,0,0,.08);

  --transition: 180ms ease;
  --max-w: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream-50);
  color: var(--cream-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--green-900);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

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

/* =============================================
   LAYOUT UTILITIES
============================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.text-muted { color: var(--cream-700); font-size: .9rem; }
.text-center { text-align: center; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border: 2px solid var(--green-600);
}
.btn-primary:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-600);
}
.btn-outline:hover { background: var(--green-600); color: var(--white); }

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: #b8843e; }

.btn-sm { padding: .4rem 1rem; font-size: .82rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

/* =============================================
   BADGES & TAGS
============================================= */
.badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-gold { background: #fdf0dc; color: #8a6020; }
.badge-red { background: var(--red-light); color: var(--red-dark); }
.badge-gray { background: var(--cream-200); color: var(--cream-700); }

/* =============================================
   STARS
============================================= */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  font-size: 1rem;
}
.stars .empty { color: var(--cream-200); }
.rating-count { font-size: .85rem; color: var(--cream-700); margin-left: .4rem; }

/* =============================================
   SITE HEADER
============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-900);
  border-bottom: 1px solid var(--green-800);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 66px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream-50);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.site-logo span { color: var(--gold); }
.logo-icon { width: 32px; height: 32px; background: var(--gold); border-radius: var(--radius-sm); display: grid; place-items: center; font-size: 1rem; }

.header-search {
  flex: 1;
  display: flex;
  max-width: 620px;
  background: var(--green-800);
  border: 1px solid var(--green-700);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.header-search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--cream-50);
  padding: .55rem 1.1rem;
  font-size: .9rem;
  outline: none;
}
.header-search input::placeholder { color: var(--green-400); }

.header-search-divider {
  width: 1px;
  background: var(--green-700);
  margin: .4rem 0;
}

.header-search .btn-search {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: .45rem 1rem;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--transition);
}
.header-search .btn-search:hover { background: #b8843e; }

.header-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.header-nav a {
  color: var(--green-200);
  font-size: .875rem;
  padding: .4rem .75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}
.header-nav a:hover { color: var(--white); background: var(--green-800); }
.header-nav .btn-primary { color: var(--white); font-size: .85rem; padding: .45rem 1rem; }

/* =============================================
   CATEGORY NAV BAR
============================================= */
.category-bar {
  background: var(--green-800);
  border-bottom: 1px solid var(--green-700);
}
.category-bar-inner {
  display: flex;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .5rem 0;
}
.category-bar-inner::-webkit-scrollbar { display: none; }

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  color: var(--green-200);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
}
.cat-link:hover, .cat-link.active { background: var(--green-600); color: var(--white); }
.cat-icon { font-size: 1rem; }

/* =============================================
   HERO
============================================= */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-500) 100%);
  color: var(--white);
  padding: 5rem var(--gutter) 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p { font-size: 1.15rem; color: var(--green-100); margin-bottom: 2rem; }

.hero-search {
  display: flex;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  background: var(--white);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.hero-search input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--cream-900);
  background: transparent;
}
.hero-search .loc-input { border-left: 1px solid var(--cream-200); }
.hero-search button {
  background: var(--gold);
  color: var(--white);
  padding: 1rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: background var(--transition);
}
.hero-search button:hover { background: #b8843e; }

.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.hero-tag {
  padding: .35rem .9rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  font-size: .8rem;
  color: var(--green-100);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: all var(--transition);
}
.hero-tag:hover { background: rgba(255,255,255,.18); color: var(--white); }

/* =============================================
   SECTION HEADERS
============================================= */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-header h2 { margin-bottom: 0; }
.section-header a { font-size: .875rem; color: var(--red); font-weight: 500; }
.section-header a:hover { color: var(--red-dark); text-decoration: underline; }

/* =============================================
   LISTING CARDS
============================================= */
.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.listing-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--cream-200);
}
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.listing-card:hover .listing-card-img img { transform: scale(1.04); }

.listing-card-img .badge { position: absolute; top: .75rem; left: .75rem; }
.listing-card-fav {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.listing-card-fav:hover { background: var(--white); color: var(--red); }

.listing-card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.listing-card-category { font-size: .75rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.listing-card h3 { font-size: 1.05rem; margin-bottom: .4rem; line-height: 1.3; }
.listing-card h3 a:hover { color: var(--green-700); }
.listing-card-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; flex-wrap: wrap; }
.listing-card-location { font-size: .82rem; color: var(--cream-700); margin-top: auto; padding-top: .75rem; display: flex; align-items: center; gap: .3rem; }

/* Horizontal listing card */
.listing-card-h {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.listing-card-h:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.listing-card-h .listing-card-img { width: 180px; flex-shrink: 0; aspect-ratio: unset; }
.listing-card-h .listing-card-body { padding: 1.1rem 1.25rem; }
.listing-card-h .listing-card-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-200);
  width: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding: 1.1rem 0 1.1rem 1.1rem;
}

/* =============================================
   SIDEBAR LAYOUT
============================================= */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .content-sidebar { grid-template-columns: 1fr; }
}

/* =============================================
   FILTERS SIDEBAR
============================================= */
.filter-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}
.filter-panel h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cream-700); margin-bottom: .75rem; font-family: var(--font-body); font-weight: 600; }
.filter-section { border-top: 1px solid var(--cream-200); padding: 1rem 0; }
.filter-section:first-child { border-top: none; padding-top: 0; }

.filter-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .3rem 0;
  font-size: .9rem;
  cursor: pointer;
}
.filter-option input[type="checkbox"] { accent-color: var(--green-600); width: 16px; height: 16px; }
.filter-option input[type="radio"] { accent-color: var(--green-600); }
.filter-count { margin-left: auto; font-size: .78rem; color: var(--cream-500); }

.price-range { display: flex; gap: .5rem; }
.price-btn {
  flex: 1;
  padding: .4rem;
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-md);
  font-size: .85rem;
  color: var(--cream-700);
  text-align: center;
  transition: all var(--transition);
}
.price-btn:hover, .price-btn.active { border-color: var(--green-600); color: var(--green-700); background: var(--green-50); }

/* =============================================
   SEARCH RESULTS PAGE
============================================= */
.search-header {
  background: var(--green-900);
  color: var(--white);
  padding: 2rem var(--gutter);
}
.search-header h1 { color: var(--white); font-size: 1.6rem; margin-bottom: .25rem; }
.search-header p { color: var(--green-200); font-size: .9rem; }

.search-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  flex-wrap: wrap;
}
.sort-select {
  padding: .45rem .9rem;
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-full);
  font-size: .875rem;
  color: var(--cream-900);
  background: var(--white);
  cursor: pointer;
  outline: none;
}
.sort-select:focus { border-color: var(--green-500); }
.results-count { font-size: .875rem; color: var(--cream-700); margin-left: auto; }
.map-toggle {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-full);
  font-size: .875rem;
  background: var(--white);
  color: var(--cream-900);
  transition: all var(--transition);
}
.map-toggle:hover { border-color: var(--green-500); color: var(--green-700); }

/* =============================================
   BUSINESS DETAIL PAGE
============================================= */
.business-hero {
  position: relative;
  height: clamp(280px, 35vw, 420px);
  background: var(--green-900);
  overflow: hidden;
}
.business-hero-img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.business-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,43,30,.85) 0%, transparent 60%);
}
.business-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem var(--gutter);
}
.business-hero-content h1 { color: var(--white); margin-bottom: .5rem; }

.photo-strip {
  display: flex;
  gap: 4px;
  height: 180px;
}
.photo-strip-main { flex: 2; overflow: hidden; }
.photo-strip-side { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.photo-strip-thumb { flex: 1; overflow: hidden; position: relative; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity var(--transition); }
.photo-strip img:hover { opacity: .9; }
.photo-strip-more {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
}

.business-info-bar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-200);
  position: sticky;
  top: 66px;
  z-index: 50;
}
.business-info-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 56px;
  overflow-x: auto;
  scrollbar-width: none;
}
.business-info-inner::-webkit-scrollbar { display: none; }
.info-tab {
  font-size: .875rem;
  font-weight: 500;
  color: var(--cream-700);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
}
.info-tab:hover, .info-tab.active { color: var(--green-700); border-bottom-color: var(--green-600); }

.business-main { padding: 2rem 0 3rem; }

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.info-card h3 { margin-bottom: 1rem; font-size: 1.15rem; }

.info-row {
  display: flex;
  gap: .75rem;
  padding: .6rem 0;
  border-top: 1px solid var(--cream-100);
  font-size: .9rem;
}
.info-row:first-child { border-top: none; padding-top: 0; }
.info-icon { width: 20px; flex-shrink: 0; color: var(--green-600); margin-top: 1px; }
.info-label { color: var(--cream-700); width: 100px; flex-shrink: 0; }
.info-val a:hover { color: var(--green-600); text-decoration: underline; }

.hours-grid { display: grid; grid-template-columns: auto 1fr; gap: .35rem .75rem; font-size: .875rem; }
.hours-day { color: var(--cream-700); }
.hours-open { color: var(--green-700); font-weight: 500; }
.hours-closed { color: var(--red); }

/* =============================================
   REVIEWS
============================================= */
.review-summary {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.review-big-score {
  text-align: center;
  flex-shrink: 0;
}
.review-big-score .score { font-size: 3.5rem; font-weight: 700; font-family: var(--font-display); color: var(--green-800); line-height: 1; }
.review-big-score .stars { font-size: 1.2rem; display: flex; justify-content: center; margin: .3rem 0; }
.review-big-score .count { font-size: .8rem; color: var(--cream-700); }

.rating-bars { flex: 1; }
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .3rem;
  font-size: .82rem;
}
.rating-bar-label { width: 30px; color: var(--cream-700); text-align: right; }
.rating-bar-track { flex: 1; height: 8px; background: var(--cream-200); border-radius: var(--radius-full); overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--gold); border-radius: var(--radius-full); }
.rating-bar-count { width: 24px; color: var(--cream-700); }

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.review-header { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: .75rem; }
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-200);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--green-700);
  font-size: 1.1rem;
}
.reviewer-info { flex: 1; }
.reviewer-name { font-weight: 600; font-size: .95rem; }
.reviewer-meta { font-size: .8rem; color: var(--cream-700); }
.review-date { font-size: .8rem; color: var(--cream-500); margin-left: auto; }
.review-text { font-size: .9rem; line-height: 1.7; color: var(--cream-900); }
.review-photos { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.review-photo { width: 80px; height: 80px; border-radius: var(--radius-md); object-fit: cover; cursor: pointer; }
.review-actions { display: flex; gap: 1rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--cream-100); }
.review-action-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--cream-700);
  padding: .25rem .5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.review-action-btn:hover { color: var(--green-700); background: var(--green-50); }

/* Write review form */
.review-form { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.review-form h3 { margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--cream-800); }
.form-control {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-md);
  font-size: .9rem;
  color: var(--cream-900);
  background: var(--cream-50);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--green-500); background: var(--white); }
textarea.form-control { min-height: 120px; resize: vertical; }

.star-rating-input { display: flex; gap: .25rem; flex-direction: row-reverse; }
.star-rating-input input { display: none; }
.star-rating-input label {
  font-size: 1.8rem;
  color: var(--cream-200);
  cursor: pointer;
  transition: color var(--transition);
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: var(--gold); }

/* =============================================
   MAP
============================================= */
.map-container {
  background: var(--cream-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.map-placeholder {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
  color: var(--cream-700);
  font-size: .9rem;
}
.map-placeholder .map-icon { font-size: 2rem; }

/* =============================================
   USER PROFILE
============================================= */
.profile-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-200);
  padding: 2rem var(--gutter);
}
.profile-header-inner { display: flex; gap: 1.5rem; align-items: flex-start; max-width: var(--max-w); margin: 0 auto; }
.profile-avatar-lg {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-200);
  flex-shrink: 0;
}
.profile-stats { display: flex; gap: 2rem; margin-top: .75rem; }
.profile-stat { text-align: center; }
.profile-stat-num { font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); color: var(--green-800); line-height: 1; }
.profile-stat-label { font-size: .75rem; color: var(--cream-700); }

/* =============================================
   CATEGORIES GRID
============================================= */
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--green-50); }
.category-card-icon { font-size: 2.2rem; margin-bottom: .6rem; }
.category-card h4 { font-size: .95rem; font-family: var(--font-body); font-weight: 600; color: var(--green-900); }
.category-card p { font-size: .78rem; color: var(--cream-700); margin-top: .2rem; }

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--green-900);
  color: var(--green-200);
  padding: 3rem var(--gutter) 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--green-800);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .site-logo { font-size: 1.2rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .875rem; color: var(--green-400); line-height: 1.7; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-800);
  display: grid;
  place-items: center;
  font-size: .85rem;
  color: var(--green-200);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--green-600); color: var(--white); }

.footer-col h5 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cream-200); margin-bottom: .75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col ul a { font-size: .875rem; color: var(--green-400); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: .8rem;
  color: var(--green-600);
  flex-wrap: wrap;
  gap: .5rem;
}

/* =============================================
   PAGINATION
============================================= */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; }
.page-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: .875rem;
  font-weight: 500;
  border: 1.5px solid var(--cream-200);
  background: var(--white);
  color: var(--cream-900);
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { border-color: var(--green-600); color: var(--green-700); background: var(--green-50); }
.page-btn.active { background: var(--green-600); color: var(--white); border-color: var(--green-600); }

/* =============================================
   NOTIFICATIONS / ALERTS
============================================= */
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-md); margin-bottom: 1rem; font-size: .9rem; display: flex; align-items: flex-start; gap: .75rem; }
.alert-success { background: var(--green-50); border-left: 3px solid var(--green-600); color: var(--green-800); }
.alert-warning { background: #fdf5e6; border-left: 3px solid var(--gold); color: #7a5a0a; }
.alert-error { background: var(--red-light); border-left: 3px solid var(--red); color: var(--red-dark); }

/* =============================================
   RESPONSIVE UTILITIES
============================================= */
@media (max-width: 768px) {
  .header-search { display: none; }
  .hide-mobile { display: none !important; }
}
@media (max-width: 600px) {
  .listing-card-h .listing-card-img { width: 120px; }
  .review-summary { flex-direction: column; }
  .business-info-bar { top: 58px; }
}

/* =============================================
   WORDPRESS CORE (keep these)
============================================= */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--cream-700); text-align: center; margin-top: .3rem; }
.screen-reader-text { @extend .sr-only; }
