/*
Theme Name: Find Directory Site
Theme URI: https://github.com/availabl/find-directory-site
Author: Availabl
Author URI: https://availabl.com.au
Description: A flexible regional business directory theme for any find[region].com.au site. Live availability, zone display, ad spaces, Availabl sync, front-end listing management, user registration, and shortcodes. Deploy once — configure per region.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finddirectorysite
Tags: directory, listings, business, regional, availability, community, local
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --fds-green:       #1B4332;
  --fds-green-dark:  #132E23;
  --fds-green-mid:   #2D5A3D;
  --fds-green-light: #4A7C59;
  --fds-mint:        #E8F0EB;
  --fds-gold:        #D4A017;
  --fds-gold-dark:   #B8891A;
  --fds-cream:       #FAF7F2;
  --fds-white:       #FFFFFF;
  --fds-text:        #2D3748;
  --fds-text-muted:  #718096;
  --fds-border:      #E2E8F0;
  --fds-radius-sm:   4px;
  --fds-radius-md:   6px;
  --fds-radius-lg:   10px;
  --fds-shadow:      0 2px 8px rgba(27,67,50,0.08);
  --fds-shadow-md:   0 4px 16px rgba(27,67,50,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--fds-cream);
  color: var(--fds-text);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--fds-green);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--fds-gold); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.section-header h2 { font-size: 1.6rem; font-weight: 600; }

.view-all {
  font-size: 0.78rem;
  color: var(--fds-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.view-all:hover { color: var(--fds-gold-dark); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  background: var(--fds-green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  color: var(--fds-cream);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-logo span { color: var(--fds-gold); }

.main-nav { display: flex; gap: 0; list-style: none; }

.main-nav a {
  color: rgba(250,247,242,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: var(--fds-radius-sm);
  transition: color 0.15s, background 0.15s;
}

.main-nav a:hover {
  color: var(--fds-cream);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--fds-gold);
  color: var(--fds-green) !important;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: var(--fds-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--fds-gold-dark); color: var(--fds-green) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fds-cream);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--fds-green);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(212,160,23,0.18);
  color: var(--fds-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--fds-cream);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.hero h1 em { color: var(--fds-gold); font-style: normal; }

.hero-subtitle {
  color: rgba(250,247,242,0.72);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

.search-wrap {
  background: var(--fds-cream);
  border-radius: var(--fds-radius-md);
  display: flex;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  box-shadow: var(--fds-shadow-md);
}

.search-wrap input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--fds-text);
  outline: none;
  min-width: 0;
}

.search-wrap input::placeholder { color: var(--fds-text-muted); }

.search-wrap select {
  border: none;
  border-left: 1px solid var(--fds-border);
  background: transparent;
  padding: 0.9rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--fds-text-muted);
  outline: none;
  cursor: pointer;
}

.search-wrap button {
  background: var(--fds-gold);
  border: none;
  color: var(--fds-green);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: inherit;
  padding: 0 1.5rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s;
  white-space: nowrap;
}

.search-wrap button:hover { background: var(--fds-gold-dark); }

.hero-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tag {
  background: rgba(250,247,242,0.1);
  color: rgba(250,247,242,0.72);
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  border: 1px solid rgba(250,247,242,0.15);
  cursor: pointer;
  transition: background 0.15s;
}

.hero-tag:hover { background: rgba(250,247,242,0.18); }

/* =============================================
   CATEGORY TILES
   ============================================= */
.categories { padding: 3rem 0; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.cat-card {
  background: var(--fds-white);
  border: 1px solid var(--fds-mint);
  border-radius: var(--fds-radius-md);
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  /* flex column so label is first (top), icon second, count third */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-card:hover {
  border-color: var(--fds-green);
  transform: translateY(-3px);
  box-shadow: var(--fds-shadow);
  color: var(--fds-text);
}

/* Label at top — words above emoji */
.cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fds-text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: block;
  order: 1;
  margin-bottom: 0.4rem;
}

/* Emoji / icon below the label */
.cat-icon {
  font-size: 1.9rem;
  display: block;
  order: 2;
  margin-bottom: 0.3rem;
  line-height: 1;
}

/* CDN image icon — same size, tinted green, natural colour on hover */
.cat-icon--img {
  width: 2rem; height: 2rem;
  object-fit: contain;
  order: 2;
  margin-bottom: 0.3rem;
  filter: brightness(0) saturate(100%) invert(24%) sepia(40%) saturate(600%) hue-rotate(110deg) brightness(85%);
  transition: filter .2s;
}
.cat-card:hover .cat-icon--img { filter: none; }

/* Count at bottom */
.cat-count {
  font-size: 0.65rem;
  color: var(--fds-text-muted);
  margin-top: 0.1rem;
  display: block;
  order: 3;
}

/* =============================================
   FEATURED LISTINGS
   ============================================= */
.featured-listings {
  background: var(--fds-white);
  padding: 3rem 0;
  border-top: 1px solid var(--fds-mint);
  border-bottom: 1px solid var(--fds-mint);
}

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

.listing-card {
  border: 1px solid var(--fds-mint);
  border-radius: var(--fds-radius-md);
  overflow: hidden;
  background: var(--fds-cream);
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  box-shadow: var(--fds-shadow-md);
  transform: translateY(-2px);
}

.listing-thumbnail {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--fds-green-mid);
  display: flex;
  align-items: flex-end;
}

.listing-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-badge {
  position: relative;
  z-index: 1;
  background: var(--fds-green);
  color: var(--fds-cream);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.6rem 0.6rem;
}

.listing-badge.premium { background: var(--fds-gold); color: var(--fds-green); }

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

.listing-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fds-green);
  margin-bottom: 0.25rem;
}

.listing-meta {
  font-size: 0.75rem;
  color: var(--fds-text-muted);
  margin-bottom: 0.5rem;
}

.listing-stars { color: var(--fds-gold); font-size: 0.78rem; letter-spacing: 0.05em; }
.listing-stars span { color: var(--fds-text-muted); font-size: 0.7rem; }

.listing-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.listing-tag {
  background: var(--fds-mint);
  color: var(--fds-green-light);
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 500;
}

/* =============================================
   EVENTS STRIP
   ============================================= */
.events-section { padding: 3rem 0; }

.event-list { display: flex; flex-direction: column; gap: 0.85rem; }

.event-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--fds-white);
  border: 1px solid var(--fds-mint);
  border-radius: var(--fds-radius-md);
  padding: 1rem 1.25rem;
  transition: box-shadow 0.15s;
}

.event-item:hover { box-shadow: var(--fds-shadow); }

.event-date {
  background: var(--fds-green);
  color: var(--fds-cream);
  border-radius: var(--fds-radius-sm);
  padding: 0.45rem 0.65rem;
  text-align: center;
  min-width: 48px;
  flex-shrink: 0;
}

.event-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.event-date .month {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  display: block;
  margin-top: 0.1rem;
}

.event-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fds-green);
  margin-bottom: 0.2rem;
}

.event-info p { font-size: 0.78rem; color: var(--fds-text-muted); }

.event-chip {
  display: inline-block;
  font-size: 0.62rem;
  background: var(--fds-mint);
  color: var(--fds-green-light);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 500;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* =============================================
   CTA STRIP
   ============================================= */
.cta-strip {
  background: var(--fds-green);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-strip h2 {
  color: var(--fds-cream);
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.cta-strip p {
  color: rgba(250,247,242,0.72);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

.cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--fds-radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-gold { background: var(--fds-gold); color: var(--fds-green); }
.btn-gold:hover { background: var(--fds-gold-dark); color: var(--fds-green); }

.btn-outline {
  background: transparent;
  color: var(--fds-cream);
  border: 1px solid rgba(250,247,242,0.35);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--fds-cream); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--fds-green-dark);
  padding: 3rem 0 1.5rem;
  color: rgba(250,247,242,0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .site-logo { font-size: 1.1rem; margin-bottom: 0.75rem; }

.footer-brand p { font-size: 0.8rem; line-height: 1.65; max-width: 240px; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250,247,242,0.9);
  margin-bottom: 0.85rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col ul li a {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.6);
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--fds-gold); }

.footer-bottom {
  border-top: 1px solid rgba(250,247,242,0.1);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

/* =============================================
   LISTING DETAIL PAGE
   ============================================= */
.listing-hero {
  background: var(--fds-green-mid);
  height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.listing-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.listing-hero-overlay {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(19,46,35,0.85));
  width: 100%;
}

.listing-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding: 2.5rem 0;
}

.listing-detail-sidebar {
  background: var(--fds-white);
  border: 1px solid var(--fds-mint);
  border-radius: var(--fds-radius-md);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 80px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--fds-green); padding: 1rem; gap: 0.25rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .search-wrap { flex-wrap: wrap; }
  .search-wrap select { border-left: none; border-top: 1px solid var(--fds-border); width: 100%; }
  .search-wrap button { width: 100%; padding: 0.75rem; }
}

/* =============================================
   WORDPRESS SPECIFIC
   ============================================= */
.wp-block-image { margin: 1.5rem 0; }
.wp-caption { max-width: 100%; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ==============================================
   FIND YARRA VALLEY v2 — LISTING COMPONENTS
   ============================================== */

/* Update font import: swap Playfair for Fraunces */
/* (handled in functions.php enqueue — fonts updated) */
h1,h2,h3,h4,h5,h6 { font-family: 'Fraunces', Georgia, serif; }
.site-logo { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 300; font-size: 1.35rem; }
.site-logo span { font-weight: 600; font-style: normal; color: var(--fds-gold); }

/* ── STATUS BADGES ─────────────────────────────── */
.status-open    { background:rgba(255,255,255,.92); color:#2D6A4F; display:inline-flex; align-items:center; gap:5px; }
.status-busy    { background:rgba(255,255,255,.92); color:#92660A; display:inline-flex; align-items:center; gap:5px; }
.status-full    { background:rgba(255,255,255,.92); color:#A93226; display:inline-flex; align-items:center; gap:5px; }
.status-closed  { background:rgba(0,0,0,.5);        color:rgba(255,255,255,.75); display:inline-flex; align-items:center; gap:5px; }
.status-open::before    { content:''; width:6px; height:6px; border-radius:50%; background:#2D6A4F; animation:fds-pulse 2s infinite; flex-shrink:0; }
.status-busy::before    { content:''; width:6px; height:6px; border-radius:50%; background:#C8861A; flex-shrink:0; }
.status-full::before    { content:''; width:6px; height:6px; border-radius:50%; background:#A93226; flex-shrink:0; }
.status-closed::before  { content:''; width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.5); flex-shrink:0; }
@keyframes fds-pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(.8); } }

/* ── LISTING CARD ──────────────────────────────── */
.listing-card {
  background: var(--fds-white);
  border: 1px solid var(--fds-mint);
  border-radius: var(--fds-radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.listing-card:hover { box-shadow: var(--fds-shadow-md); transform: translateY(-3px); }
.listing-card--premium { border-color: var(--fds-gold); box-shadow: 0 0 0 1px var(--fds-gold); }
.listing-card--featured { border-color: var(--fds-green-light); }

.listing-card__img-wrap {
  position: relative;
  height: 160px;
  display: block;
  overflow: hidden;
  background: #E8F0EB;
  flex-shrink: 0;
}
.listing-card__img-wrap img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .3s; }
.listing-card:hover .listing-card__img-wrap img { transform: scale(1.04); }
.listing-card__img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:2.5rem; background:var(--fds-mint); }

.listing-card__status {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  backdrop-filter: blur(8px);
}
.listing-card__cat {
  position: absolute; top: 10px; right: 10px;
  background: rgba(27,67,50,.75); color: rgba(250,247,242,.9);
  font-size: 10px; font-weight: 600;
  padding: 2px 8px; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.listing-card__tier-badge {
  position: absolute; bottom: 8px; left: 8px;
  background: var(--fds-gold); color: var(--fds-green);
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
}

.listing-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.listing-card__name { font-size: 1rem; font-weight: 600; margin-bottom: 3px; color: var(--fds-green); line-height: 1.2; }
.listing-card__name a { color: inherit; }
.listing-card__name a:hover { color: var(--fds-gold); }
.listing-card__location { font-size: 12px; color: var(--fds-text-muted); margin-bottom: 6px; }
.listing-card__meta { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--fds-text-muted); margin-bottom:7px; flex-wrap:wrap; }
.listing-card__price { font-weight: 600; }
.listing-card__rating { color: var(--fds-gold); font-weight: 600; }
.listing-card__hours { font-size: 11px; }

.listing-card__special {
  background: #FDF3E3;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
  color: #7A4E0A;
  margin-bottom: 7px;
  font-weight: 500;
}
.listing-card__flag {
  background: #FEF9E7;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11px;
  color: #7D6608;
  margin-bottom: 7px;
}

.listing-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--fds-mint);
}
.listing-card__phone { font-size: 12px; color: var(--fds-green); font-weight: 600; }
.listing-card__phone a { color: inherit; }
.listing-card__tag {
  background: var(--fds-mint);
  color: var(--fds-green-light);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 500;
}
.listing-card__tag:hover { background: var(--fds-green); color: var(--fds-cream); }

/* ── ZONE ROWS ─────────────────────────────────── */
.fds-zones { margin: 8px 0 6px; border: 1px solid var(--fds-mint); border-radius: 7px; overflow: hidden; }
.fds-zone {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--fds-mint);
  font-size: 12px;
}
.fds-zone:last-child { border-bottom: none; }
.fds-zone__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fds-zone__name { font-weight: 600; color: var(--fds-green); flex: 1; }
.fds-zone__detail { color: var(--fds-text-muted); font-size: 11px; }
.fds-zone__status { font-size: 11px; font-weight: 700; margin-left: auto; flex-shrink: 0; }

/* ── CATEGORY STRIP ────────────────────────────── */
.cat-strip {
  background: var(--fds-white);
  border-bottom: 1px solid var(--fds-mint);
  position: sticky; top: 64px; z-index: 90;
  overflow-x: auto; scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-inner { display: flex; gap: 4px; height: 50px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.cat-pill {
  flex-shrink: 0;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  color: var(--fds-text-muted);
  border: 1.5px solid transparent;
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.cat-pill:hover { color: var(--fds-green); background: var(--fds-mint); border-color: rgba(27,67,50,.15); }
.cat-pill.active { background: var(--fds-green); color: var(--fds-cream); border-color: var(--fds-green); }
.cat-pill__count { font-size: 10px; font-weight: 700; }

/* ── LISTING DETAIL PAGE ───────────────────────── */
.listing-back-bar { background: var(--fds-white); border-bottom: 1px solid var(--fds-mint); padding: 10px 0; }
.listing-back-bar .container { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.back-link { color: var(--fds-green); font-weight: 500; }
.back-link:hover { color: var(--fds-gold); }
.breadcrumb-sep { color: var(--fds-text-muted); }

.listing-hero { height: 300px; position: relative; overflow: hidden; background: var(--fds-green-mid); display: flex; align-items: flex-end; }
.listing-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.listing-hero__placeholder { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:5rem; opacity:.3; }
.listing-hero-overlay { position: relative; width: 100%; padding: 1.5rem 0; background: linear-gradient(transparent, rgba(19,46,35,.85)); }
.listing-hero__badge { display:inline-flex; align-items:center; gap:6px; border-radius:20px; padding:4px 12px; font-size:12px; font-weight:700; backdrop-filter:blur(8px); margin-bottom:8px; }
.listing-hero__title { font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--fds-cream); margin-bottom: 6px; line-height: 1.1; }
.listing-hero__sub { display:flex; gap:12px; align-items:center; flex-wrap:wrap; font-size:14px; color:rgba(250,247,242,.7); }
.listing-hero__sub span { display:inline-flex; align-items:center; gap:4px; }

.listing-section { background: var(--fds-white); border: 1px solid var(--fds-mint); border-radius: var(--fds-radius-md); padding: 1.5rem; margin-bottom: 1.25rem; }
.listing-section__label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fds-green-light); margin-bottom: 10px; }
.listing-section__h { font-size: 1.2rem; color: var(--fds-green); margin-bottom: 1rem; }
.listing-content { font-size: 15px; line-height: 1.75; color: var(--fds-text); }
.listing-content p { margin-bottom: 1rem; }

.listing-status-banner { display:flex; align-items:center; gap:10px; padding:12px 15px; border-radius:9px; margin-bottom:14px; font-size:14px; font-weight:600; }
.listing-status-banner.status-open   { background:#E8F4EE; color:#2D6A4F; border:1px solid rgba(45,106,79,.2); }
.listing-status-banner.status-busy   { background:#FEF9E7; color:#92660A; border:1px solid rgba(200,134,26,.2); }
.listing-status-banner.status-full   { background:#FDEDEC; color:#A93226; border:1px solid rgba(169,50,38,.2); }
.listing-status-banner.status-closed { background:#F3F4F6; color:#6B7280; border:1px solid rgba(0,0,0,.1); }
.status-pulse-dot { width:10px; height:10px; border-radius:50%; background:currentColor; flex-shrink:0; animation:fds-pulse 2s infinite; }
.listing-status__hours { font-weight:400; font-size:13px; }

.listing-bg-status { background:var(--fds-mint); border-radius:7px; padding:8px 12px; font-size:13px; font-weight:600; color:var(--fds-green); margin-bottom:10px; }
.listing-special { background:#FDF3E3; border-radius:7px; padding:8px 12px; font-size:13px; color:#7A4E0A; font-weight:500; margin-bottom:8px; }
.listing-flag { background:#FEF9E7; border-radius:7px; padding:7px 12px; font-size:13px; color:#7D6608; margin-bottom:8px; }
.listing-zones-wrap { margin-top: 12px; }

.listing-hours { border: 1px solid var(--fds-mint); border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.listing-hours__row { display:flex; justify-content:space-between; padding:8px 12px; border-bottom:1px solid var(--fds-mint); font-size:13px; }
.listing-hours__row:last-child { border-bottom:none; }
.listing-hours__day { font-weight:600; color:var(--fds-green); }
.listing-hours__time { color:var(--fds-text); }
.listing-hours__note { font-size:12px; color:var(--fds-text-muted); margin-top:8px; }
.listing-tags { display:flex; gap:6px; flex-wrap:wrap; }

/* ── CONTACT IN SIDEBAR ────────────────────────── */
.contact-row { display:flex; align-items:flex-start; gap:10px; padding:9px 0; border-bottom:1px solid var(--fds-mint); }
.contact-row:last-child { border-bottom:none; }
.contact-icon { width:30px; height:30px; border-radius:7px; background:var(--fds-mint); display:flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0; }
.contact-label { font-size:11px; color:var(--fds-text-muted); }
.contact-value { font-size:13px; font-weight:500; color:var(--fds-green); }
.contact-value a { color:var(--fds-green); }
.contact-value a:hover { color:var(--fds-gold); }
.sidebar-price { font-size:1.4rem; font-weight:700; color:var(--fds-green); }

/* ── NEARBY LIST ───────────────────────────────── */
.nearby-list { display:flex; flex-direction:column; gap:8px; }
.nearby-item { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nearby-item__img { width:42px; height:42px; border-radius:6px; overflow:hidden; flex-shrink:0; background:var(--fds-mint); }
.nearby-item__img img { width:100%; height:100%; object-fit:cover; }
.nearby-item__name { font-size:13px; font-weight:600; color:var(--fds-green); }
.nearby-item:hover .nearby-item__name { color:var(--fds-gold); }
.nearby-item__status { font-size:11px; color:var(--fds-text-muted); }

/* ── ARCHIVE / LISTINGS PAGE ───────────────────── */
.archive-hero { background:linear-gradient(160deg,var(--fds-green),var(--fds-green-mid)); padding:2.5rem 0; }
.archive-hero__inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.archive-hero__title { color:var(--fds-cream); font-size:2rem; }
.archive-hero__desc { color:rgba(250,247,242,.65); font-size:0.95rem; margin-top:6px; }

.archive-layout { display:grid; grid-template-columns:1fr 300px; gap:28px; padding:28px 0 60px; align-items:start; }
.archive-main {}
.archive-sidebar {}

.archive-sort { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; gap:8px; flex-wrap:wrap; }
.archive-sort__count { font-size:13px; color:var(--fds-text-muted); }
.archive-sort__btns { display:flex; gap:4px; }
.sort-btn { padding:5px 11px; border-radius:8px; font-size:12px; font-weight:500; color:var(--fds-text-muted); border:1px solid var(--fds-mint); background:var(--fds-white); text-decoration:none; transition:all .15s; cursor:pointer; }
.sort-btn:hover,.sort-btn.active { background:var(--fds-green); color:var(--fds-cream); border-color:var(--fds-green); }

.listing-grid__ad { grid-column: 1 / -1; }
.no-listings { color:var(--fds-text-muted); font-size:14px; padding:20px 0; }

/* Pagination */
.fds-pagination { margin-top:28px; display:flex; justify-content:center; }
.fds-pagination .nav-links { display:flex; gap:5px; align-items:center; }
.fds-pagination a,.fds-pagination span { display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:9px; font-size:13px; font-weight:500; border:1px solid var(--fds-mint); background:var(--fds-white); color:var(--fds-text); text-decoration:none; transition:all .15s; }
.fds-pagination a:hover { background:var(--fds-mint); color:var(--fds-green); }
.fds-pagination .current { background:var(--fds-green); color:var(--fds-cream); border-color:var(--fds-green); }

/* ── SIDEBAR WIDGETS ───────────────────────────── */
.sidebar-widget { background:var(--fds-white); border:1px solid var(--fds-mint); border-radius:var(--fds-radius-md); padding:1.25rem; margin-bottom:1.25rem; }
.sidebar-widget--cta { background:var(--fds-green); border-color:var(--fds-green); }
.sidebar-widget--cta h3 { color:var(--fds-cream); font-size:1rem; margin-bottom:.5rem; }
.sidebar-widget--cta p { color:rgba(250,247,242,.65); font-size:.85rem; margin-bottom:1rem; }

.sidebar-cat-list { list-style:none; display:flex; flex-direction:column; gap:4px; }
.sidebar-cat-list li { display:flex; align-items:center; justify-content:space-between; }
.sidebar-cat-list li a { font-size:13px; color:var(--fds-text); transition:color .15s; }
.sidebar-cat-list li a:hover { color:var(--fds-gold); }
.sidebar-cat-list li.active a { color:var(--fds-green); font-weight:600; }
.sidebar-cat-list li span { font-size:11px; color:var(--fds-text-muted); }

.sidebar-search { display:flex; gap:5px; }
.sidebar-search input { flex:1; padding:8px 10px; border:1.5px solid var(--fds-mint); border-radius:7px; font-size:13px; font-family:inherit; outline:none; }
.sidebar-search input:focus { border-color:var(--fds-green); }
.sidebar-search button { background:var(--fds-green); color:var(--fds-cream); border:none; border-radius:7px; padding:8px 14px; font-size:13px; font-weight:600; cursor:pointer; font-family:inherit; }

.open-now-list { display:flex; flex-direction:column; gap:6px; }
.open-now-item { display:flex; align-items:center; gap:8px; font-size:13px; text-decoration:none; padding:4px 0; border-bottom:1px solid var(--fds-mint); }
.open-now-item:last-child { border-bottom:none; }
.open-dot { width:7px; height:7px; border-radius:50%; background:var(--fds-green-light); animation:fds-pulse 2s infinite; flex-shrink:0; }
.open-name { font-weight:500; color:var(--fds-green); flex:1; }
.open-name:hover { color:var(--fds-gold); }
.open-suburb { font-size:11px; color:var(--fds-text-muted); }

/* ── AD SLOTS ──────────────────────────────────── */
.fds-ad { margin: 16px 0; text-align: center; }
.fds-ad--placeholder {
  display: flex; align-items: center; justify-content: space-between;
  background: repeating-linear-gradient(45deg, #f9fafb, #f9fafb 10px, #f3f4f6 10px, #f3f4f6 20px);
  border: 1.5px dashed #D1D5DB;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 12px; color: #9CA3AF;
}
.fds-ad--placeholder a { color: var(--fds-gold); font-weight: 600; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .archive-layout { grid-template-columns: 1fr; }
  .archive-sidebar { display: none; }
  .listing-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .listing-grid { grid-template-columns: 1fr; }
  .listing-hero { height: 220px; }
  .archive-hero { padding: 1.5rem 0; }
}
