/* ============================================================
   Find Directory Site — Shortcode & Form Styles
   ============================================================ */

/* ── GRID COLUMNS (shortcode attr) ─── */
.fds-sc-grid { display: grid; gap: 1.25rem; }
.fds-cols-1 { grid-template-columns: 1fr; }
.fds-cols-2 { grid-template-columns: repeat(2,1fr); }
.fds-cols-3 { grid-template-columns: repeat(3,1fr); }
.fds-cols-4 { grid-template-columns: repeat(4,1fr); }
@media(max-width:900px){ .fds-cols-3,.fds-cols-4{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .fds-cols-2,.fds-cols-3,.fds-cols-4{ grid-template-columns:1fr; } }

/* ── FILTER STRIP ─── */
.fds-sc-filter { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:18px; }

/* ── NOTICES ─── */
.fds-notice { border-radius:8px; padding:14px 18px; margin-bottom:20px; }
.fds-notice p { margin-bottom:6px; font-size:14px; }
.fds-notice p:last-child { margin-bottom:0; }
.fds-notice--success { background:#E8F4EE; border:1px solid rgba(45,106,79,.25); color:#2D6A4F; }
.fds-notice--error   { background:#FDEDEC; border:1px solid rgba(169,50,38,.25); color:#A93226; }
.fds-notice--warning { background:#FEF9E7; border:1px solid rgba(212,172,13,.3); color:#7D6608; }
.fds-notice--info    { background:#EAF4FB; border:1px solid rgba(26,111,168,.2); color:#1A5478; }
.fds-no-results { color:#718096; font-size:14px; padding:16px 0; }

/* ── FORM WRAP ─── */
.fds-form-wrap { max-width:680px; margin:0 auto; }
.fds-form-wrap--narrow { max-width:440px; }
.fds-form-wrap--wide { max-width:860px; }
.fds-form-title { font-size:1.6rem; color:#1B4332; margin-bottom:6px; }
.fds-form-sub { font-size:14px; color:#718096; margin-bottom:24px; }

/* ── FORM SECTIONS ─── */
.fds-form-section { background:#F9F9F7; border:1px solid #E2E8F0; border-radius:10px; padding:20px 22px; margin-bottom:18px; }
.fds-form-section__title { font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:#4A7C59; margin-bottom:16px; font-family:'Inter',sans-serif; }

/* ── FORM ELEMENTS ─── */
.fds-form__group { margin-bottom:14px; }
.fds-form__group:last-child { margin-bottom:0; }
.fds-form__group--centred { text-align: center; }
.fds-form__group--centred .fds-form__label { display: block; text-align: center; }
.fds-form__group--centred .fds-form__input,
.fds-form__group--centred textarea.fds-form__input { max-width: 480px; margin: 0 auto; display: block; }
.fds-form__group--centred .fds-form__hint { text-align: center; }
.fds-form__label { display:block; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#718096; margin-bottom:5px; }
.fds-required { color:#A93226; }
.fds-form__optional { font-size:10px; font-weight:400; text-transform:none; letter-spacing:0; color:#9CA3AF; margin-left:4px; }
.fds-form__hint { font-size:11px; color:#9CA3AF; margin-top:4px; display:block; }
.fds-form__input { display:block; width:100%; padding:10px 13px; border:1.5px solid #E2E8F0; border-radius:8px; font-size:14px; font-family:'Inter',sans-serif; color:#2D3748; background:#FFFFFF; outline:none; transition:border-color .15s; }
.fds-form__input:focus { border-color:#2D5A3D; background:#FFFFFF; }
textarea.fds-form__input { resize:vertical; min-height:90px; }
select.fds-form__input { cursor:pointer; appearance:auto; }
.fds-form__row { display:grid; gap:12px; }
.fds-form__row--half   { grid-template-columns:1fr 1fr; }
.fds-form__row--three  { grid-template-columns:2fr 1fr 1fr; }
@media(max-width:600px){ .fds-form__row--half,.fds-form__row--three{ grid-template-columns:1fr; } }
.fds-form__checkbox { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:#2D3748; cursor:pointer; }
.fds-form__checkbox input { flex-shrink:0; margin-top:3px; }
.fds-form__btn { width:100%; margin-top:8px; font-size:15px; padding:.85rem 2rem; }
.fds-form__btn--lg { font-size:16px; padding:1rem 2.5rem; }
.fds-form__alt { font-size:13px; color:#718096; text-align:center; margin-top:14px; }
.fds-text-link { color:#D4A017; font-weight:500; }
.fds-text-link:hover { color:#B8891A; }

/* ── MY LISTINGS DASHBOARD ─── */
.fds-my-listings { max-width:940px; margin:0 auto; }
.fds-account-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; flex-wrap:wrap; }
.fds-account-header__info { display:flex; align-items:center; gap:14px; }
.fds-account-avatar { width:52px; height:52px; border-radius:50%; background:#1B4332; color:#FAF7F2; font-size:22px; font-weight:700; display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; flex-shrink:0; }
.fds-account-header__name { font-size:1.3rem; color:#1B4332; margin-bottom:2px; }
.fds-account-header__email { font-size:13px; color:#718096; }

.fds-account-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: stretch;
}
.fds-account-stats .fds-stat {
  flex: 1;
  min-width: 0;
}
@media (max-width: 600px) {
  .fds-account-stats { flex-wrap: wrap; }
  .fds-account-stats .fds-stat { flex: 1 1 calc(33% - 10px); }
  .fds-stat--divider { display: none; }
}
.fds-stat { background:#FFFFFF; border:1px solid #E2E8F0; border-radius:10px; padding:14px 18px; text-align:center; }
.fds-stat__val { font-family:'Fraunces',serif; font-size:28px; font-weight:600; color:#1B4332; line-height:1; }
.fds-stat__lbl { font-size:11px; color:#718096; margin-top:4px; text-transform:uppercase; letter-spacing:.06em; }

/* ── LISTINGS TABLE ─── */
.fds-my-listings__table { border:1px solid #E2E8F0; border-radius:10px; overflow:hidden; background:#FFFFFF; margin-bottom:20px; }
.fds-ml-header { display:grid; grid-template-columns:2fr 1.2fr 1fr 1fr 1.4fr; gap:10px; padding:10px 16px; background:#F4F6F1; border-bottom:1px solid #E2E8F0; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:#718096; }
.fds-ml-row { display:grid; grid-template-columns:2fr 1.2fr 1fr 1fr 1.4fr; gap:10px; padding:14px 16px; border-bottom:1px solid #E2E8F0; align-items:center; }
.fds-ml-row:last-child { border-bottom:none; }
.fds-ml-row:hover { background:#FAFAF8; }
.fds-ml-row__name strong { font-size:14px; color:#1B4332; display:block; }
.fds-ml-row__suburb { font-size:12px; color:#718096; }
.fds-ml-row__actions { display:flex; gap:5px; flex-wrap:wrap; }
@media(max-width:700px){
  .fds-ml-header { display:none; }
  .fds-ml-row { grid-template-columns:1fr; gap:6px; }
}

/* ── STATUS BADGES ─── */
.fds-badge { display:inline-block; font-size:11px; font-weight:600; padding:3px 9px; border-radius:20px; }
.fds-badge--published { background:#E8F4EE; color:#2D6A4F; }
.fds-badge--pending { background:#FEF9E7; color:#92660A; }
.fds-badge--draft { background:#F3F4F6; color:#6B7280; }

/* ── ACTION BUTTONS ─── */
.fds-action-btn { display:inline-block; padding:5px 11px; border-radius:7px; font-size:12px; font-weight:600; cursor:pointer; border:none; font-family:'Inter',sans-serif; transition:all .15s; text-decoration:none; }
.fds-action-btn--view { background:#E8F4EE; color:#2D6A4F; }
.fds-action-btn--view:hover { background:#2D6A4F; color:#FAF7F2; }
.fds-action-btn--edit { background:#EAF4FB; color:#1A6FA8; }
.fds-action-btn--edit:hover { background:#1A6FA8; color:#FFFFFF; }
.fds-action-btn--delete { background:#FDEDEC; color:#A93226; }
.fds-action-btn--delete:hover { background:#A93226; color:#FFFFFF; }
.fds-action-btn--quick { background:#F5F3FF; color:#5B21B6; border:1px solid #7C3AED; }
.fds-action-btn--quick:hover { background:#7C3AED; color:#FFFFFF; }
.fds-action-btn--upgrade { background:#FFFBEB; color:#92400E; border:1px solid #F59E0B; }
.fds-action-btn--upgrade:hover { background:#F59E0B; color:#FFFFFF; }

.fds-account-footer { text-align:right; padding-top:8px; font-size:13px; }

/* ── SYNC-WRITTEN CARD FIELDS ───────────────────── */
.listing-card__area-msg {
  background: #FEF9E7;
  border-left: 3px solid #D4A017;
  border-radius: 0 6px 6px 0;
  padding: 5px 9px;
  font-size: 11px;
  color: #7D6608;
  margin-bottom: 6px;
  font-weight: 500;
}
.listing-card__here-now {
  background: #E8F4EE;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11px;
  color: #2D6A4F;
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}
.listing-card__delivery {
  font-size: 10px;
  color: #718096;
  background: #F3F4F6;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   MAP COMPONENT
   ═══════════════════════════════════════════════════════════ */

/* Wrap */
.fds-map-wrap { position:relative; margin-bottom:1.5rem; }

/* Filter strip */
.fds-map-filter {
  display:flex; align-items:center; gap:5px; flex-wrap:wrap;
  padding:10px 0 10px; border-bottom:1px solid #E8F0EB;
  margin-bottom:10px;
}
.fds-map-filter__btn {
  padding:5px 12px; border-radius:20px; font-size:12px; font-weight:500;
  border:1.5px solid #E2E8F0; background:white; color:#718096;
  cursor:pointer; transition:all .15s; font-family:'Inter',sans-serif;
  white-space:nowrap;
}
.fds-map-filter__btn:hover { color:#1B4332; background:#E8F0EB; border-color:rgba(27,67,50,.2); }
.fds-map-filter__btn.active { background:#1B4332; color:white; border-color:#1B4332; }
.fds-map-filter__right { margin-left:auto; display:flex; align-items:center; gap:8px; }
.fds-map-pin-count { font-size:12px; color:#718096; }
.fds-map-refresh-btn {
  width:28px; height:28px; border-radius:50%; border:1px solid #E2E8F0;
  background:white; cursor:pointer; font-size:14px; display:flex;
  align-items:center; justify-content:center; transition:transform .3s;
}
.fds-map-refresh-btn.spinning { animation:fds-spin 1s linear infinite; }
@keyframes fds-spin { to { transform:rotate(360deg); } }

/* Full-width map wrap — bleeds to viewport edge */
.fds-map-wrap--fullwidth {
  margin-left:  calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}
.fds-map-wrap--fullwidth .fds-map-container--fullwidth {
  width: 100%;
}
.fds-map-wrap--fullwidth .fds-map-canvas {
  border-radius: 0 !important;
}

/* Controls bar — below the map, constrained to page width */
.fds-map-controls {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}
.fds-map-wrap--fullwidth .fds-map-controls {
  padding: 0 1.5rem;
}

/* Status row */
.fds-map-controls__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 4px;
  font-size: 12px;
  color: var(--fds-text-muted, #718096);
  border-bottom: 1px solid var(--fds-mint, #E8F0EB);
  margin-bottom: 8px;
}
.fds-map-controls__status .fds-map-refresh-btn { margin-left: auto; }

/* Category filter strip BELOW map — scrollable on mobile */
.fds-map-filter--below {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  overflow-x: auto;
  padding: 6px 0 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fds-map-filter--below::-webkit-scrollbar { display: none; }
.fds-map-filter--below .fds-map-filter__right { display: none; } /* status moved above */

/* Results list — horizontal row of cards below filter */
.fds-map-list--horizontal {
  border: none;
  background: none;
  max-height: none;
}
.fds-map-list--horizontal .fds-map-list__header {
  display: none; /* status bar handles this */
}
.fds-map-list__items--row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: thin;
}
/* Each list card in horizontal mode */
.fds-map-list--horizontal .fds-map-list__item {
  flex: 0 0 220px;
  border: 1px solid var(--fds-mint, #E8F0EB);
  border-radius: 8px;
  background: white;
  padding: 10px 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  white-space: normal;
  cursor: pointer;
  transition: box-shadow .15s;
}
.fds-map-list--horizontal .fds-map-list__item:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.fds-map-list--horizontal .fds-map-list__item.active { background: #E8F4EE; border-color: rgba(45,106,79,.3); }
.fds-map-list--horizontal .fds-map-list__name { font-size:13px; font-weight:600; color:#1B4332; }
.fds-map-list--horizontal .fds-map-list__meta { font-size:11px; color:#9CA3AF; margin-top:1px; }
.fds-map-list--horizontal .fds-map-list__cat-icon { font-size:16px; margin-bottom:4px; }

/* Legacy non-fullwidth map — keep working */
.fds-map-layout { position:relative; }
.fds-map-layout--with-list {
  display:grid; grid-template-columns:1fr 280px; gap:14px; align-items:start;
}
@media(max-width:700px) {
  .fds-map-layout--with-list { grid-template-columns:1fr; }
}

/* Map container */
.fds-map-container { position:relative; }
.fds-map-canvas {
  width: 100%;
  display: block;  /* Safari needs explicit block for height to apply */
  border-radius: 10px;
  overflow: hidden;
  /* Fallback height if inline style fails */
  min-height: 320px;
}
.fds-map-canvas .leaflet-container {
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  /* Safari: Leaflet container must match parent height explicitly */
  width: 100% !important;
  height: 100% !important;
}

/* Override Leaflet popup */
.fds-popup .leaflet-popup-content-wrapper { border-radius:10px; padding:0; box-shadow:0 6px 24px rgba(0,0,0,.15); }
.fds-popup .leaflet-popup-content { margin:0; }
.fds-popup .leaflet-popup-tip-container { display:block; }
.fds-popup a { pointer-events: auto; cursor: pointer; }
.fds-popup .leaflet-popup-content-wrapper { pointer-events: auto; }
/* Prevent map elements below popup from receiving hover/click events */
.leaflet-popup-pane { pointer-events: auto; }
.leaflet-popup-pane .leaflet-popup { pointer-events: auto; }

/* Custom SVG marker — no background */
.fds-map-icon { background:none !important; border:none !important; }

/* Legend */
.fds-map-legend {
  position:absolute; bottom:28px; left:10px; z-index:500;
  background:rgba(255,255,255,.92); backdrop-filter:blur(4px);
  border-radius:8px; padding:8px 10px; display:flex; flex-direction:column; gap:4px;
  box-shadow:0 2px 8px rgba(0,0,0,.12); font-size:11px;
}
.fds-map-legend__item { display:flex; align-items:center; gap:6px; color:#374151; font-weight:500; }
.fds-map-legend__item span {
  width:12px; height:12px; border-radius:50%; flex-shrink:0; display:inline-block;
}

/* Results list */
.fds-map-list {
  background:white; border:1px solid #E2E8F0; border-radius:10px;
  overflow:hidden; display:flex; flex-direction:column;
  max-height:480px;
}
.fds-map-list__header {
  padding:10px 14px; border-bottom:1px solid #E2E8F0; background:#F9FAF7;
  display:flex; align-items:center; justify-content:space-between; flex-shrink:0;
}
.fds-map-list__count { font-size:13px; font-weight:600; color:#1B4332; }
.fds-map-list__updated { font-size:11px; color:#9CA3AF; }
.fds-map-list__items { overflow-y:auto; flex:1; scrollbar-width:thin; }
.fds-map-list__item {
  display:flex; align-items:flex-start; gap:9px; padding:9px 14px;
  border-bottom:1px solid #F3F4F6; cursor:pointer; transition:background .1s;
}
.fds-map-list__item:hover { background:#F9FAF7; }
.fds-map-list__item.active { background:#E8F4EE; }
.fds-map-list__item:last-child { border-bottom:none; }
.fds-map-list__dot {
  width:9px; height:9px; border-radius:50%; flex-shrink:0; margin-top:4px;
}
.fds-map-list__info { flex:1; min-width:0; }
.fds-map-list__name { font-size:12px; font-weight:600; color:#1B4332; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fds-map-list__name a { color:inherit; }
.fds-map-list__name a:hover { color:#D4A017; }
.fds-map-list__meta { font-size:10px; color:#9CA3AF; margin-top:1px; }
.fds-map-list__special { font-size:10px; color:#7A4E0A; margin-top:2px; }
.fds-map-list__empty { padding:16px 14px; font-size:13px; color:#9CA3AF; }
.fds-map-list__loading { display:flex; align-items:center; gap:8px; padding:20px 14px; font-size:13px; color:#9CA3AF; }
.fds-list-travel {
  flex-shrink:0; background:#E8F4EE; border:none; border-radius:6px;
  padding:4px 6px; font-size:13px; cursor:pointer; align-self:center;
}
.fds-list-travel:hover { background:#2D6A4F; }

/* Travel time panel */
.fds-travel-panel {
  display: none; /* shown by JS when travel button clicked */
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000; /* above Leaflet controls (z-index 400–600) */
  width: 240px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  padding: 14px 16px;
}
.fds-travel-panel__close {
  position: absolute; top: 8px; right: 8px; background: none; border: none;
  font-size: 16px; cursor: pointer; color: #9CA3AF; padding: 4px; line-height: 1;
}
.fds-travel-panel__close:hover { color: #374151; }
.fds-travel-panel__title {
  font-size: 13px; font-weight: 700; color: #1B4332;
  margin-bottom: 10px; padding-right: 20px; line-height: 1.3;
}
.fds-travel-result {
  background: #F4F6F1; border-radius: 8px; padding: 10px 12px;
  margin-bottom: 10px;
}
.fds-travel-result__time {
  font-size: 20px; font-weight: 800; color: #1B4332; margin-bottom: 8px;
}
.fds-travel-result__modes {
  display: flex; gap: 6px;
}
.fds-travel-mode {
  flex: 1; padding: 5px 4px; font-size: 11px; font-weight: 600;
  background: #E5E7EB; color: #374151; border: none; border-radius: 6px;
  cursor: pointer; text-align: center;
}
.fds-travel-mode.active {
  background: #1B4332; color: white;
}
.fds-travel-mode:hover:not(.active) { background: #D1D5DB; }
.fds-travel-panel__directions {
  display: block; text-align: center; font-size: 12px; font-weight: 700;
  color: white; background: #2D6A4F; border-radius: 7px;
  padding: 8px; text-decoration: none; margin-top: 4px;
}
.fds-travel-panel__directions:hover { background: #1B4332; }

/* Footer bar */
.fds-map-footer {
  display:flex; align-items:center; justify-content:space-between;
  padding:5px 0; font-size:11px; color:#9CA3AF;
}

/* Spinner */
.fds-spinner {
  width:16px; height:16px; border:2px solid #E2E8F0; border-top-color:#2D6A4F;
  border-radius:50%; animation:fds-spin .7s linear infinite;
}

/* Near me button (optional, add via shortcode or template) */
.fds-map-near-me {
  position:absolute; bottom:60px; right:10px; z-index:500;
  background:white; border:1px solid #E2E8F0; border-radius:8px;
  padding:7px 10px; font-size:12px; font-weight:600; cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.12); font-family:'Inter',sans-serif;
  color:#1B4332;
}
.fds-map-near-me:hover { background:#E8F4EE; }

/* ── GEOFENCE NOTICES (front-end form) ──────────────────────────────────── */
.fds-geofence-notice { margin-bottom:14px; }
/* Leaflet geofence boundary tooltip */
.fds-fence-tip { background:rgba(27,67,50,.85)!important; color:white!important; border:none!important; font-size:12px!important; font-weight:600!important; border-radius:6px!important; padding:5px 10px!important; }
.fds-fence-tip::before { border-top-color:rgba(27,67,50,.85)!important; }

/* ── AVAILABL-MANAGED HOURS PANEL ─────────────────────────────────────── */
.fds-hours-managed {
  background: #E8F4EE;
  border: 1px solid rgba(14,102,85,.2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 4px;
}
.fds-hours-managed__badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #0E6655;
  margin-bottom: 8px;
}
.fds-hours-managed__pre {
  font-family: inherit;
  font-size: 13px;
  color: #1B4332;
  margin: 0 0 8px;
  white-space: pre-wrap;
  line-height: 1.75;
}
.fds-hours-managed__note {
  font-size: 11px;
  color: #4A7C59;
  margin: 0;
  line-height: 1.5;
}

/* ── CATEGORY ICON IMAGES (from tapfindyarra CDN) ─────────────────────── */
.cat-icon--img {
  width: 2rem; height: 2rem;
  object-fit: contain;
  margin-bottom: .5rem;
  display: block;
  margin-left: auto; margin-right: auto;
  image-rendering: -webkit-optimize-contrast;
  filter: brightness(0) saturate(100%) invert(24%) sepia(40%) saturate(600%) hue-rotate(110deg) brightness(85%);
}
/* Show icons in their natural colour on hover */
.cat-card:hover .cat-icon--img { filter: none; }

.fds-cat-icon-img {
  display: inline-block; vertical-align: middle;
  image-rendering: -webkit-optimize-contrast;
}
.fds-cat-icon-emoji { display: inline-block; }

/* Map list category icon cell */
.fds-map-list__cat-icon {
  width: 18px; flex-shrink: 0; text-align: center;
  font-size: 13px; line-height: 1; margin-top: 2px;
}
.fds-map-list__cat-icon img { display: block; }

/* ── STATUS BADGE — CLICKABLE (unlinked → internet presence / linked → Findserv) ── */
.listing-card__status--link {
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity .15s;
}
.listing-card__status--link:hover { opacity: .85; }

/* ── STATUS BANNER CTA ─────────────────────────────────────────────────── */
.listing-status__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  margin-left: auto;
  white-space: nowrap;
  transition: opacity .15s;
}
.listing-status__cta:hover { opacity: .85; }
.listing-status__cta--findserv {
  background: #1B4332;
  color: #FAF7F2;
}
.listing-status__cta--presence {
  background: #E8F4EE;
  color: #0E6655;
  border: 1px solid rgba(14,102,85,.2);
}
.listing-status-banner {
  flex-wrap: wrap;
  gap: 8px;
}

/* ── SUBMIT LISTING — NOTICE BOARD EXPLAINER ─────────────────────────── */
.fds-submit-explainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
@media(max-width:680px) { .fds-submit-explainer { grid-template-columns: 1fr; } }
.fds-submit-explainer__section {
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.fds-submit-explainer__section--noticeboard {
  background: #F9FAF7;
  border: 1px solid #E2E8F0;
}
.fds-submit-explainer__section--availabl {
  background: #E8F4EE;
  border: 1px solid rgba(45,106,79,.2);
}
.fds-submit-explainer__section--premium {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
}
.fds-submit-explainer__section--premium .fds-submit-explainer__icon {
  color: #B45309;
}
.fds-submit-explainer__section--premium strong { color: #92400E; }
.fds-submit-explainer__icon { font-size: 22px; flex-shrink:0; margin-top:2px; }
.fds-submit-explainer__section strong { font-size:14px; font-weight:700; color:#1B4332; display:block; margin-bottom:5px; }
.fds-submit-explainer__section p { font-size:12px; color:#555; line-height:1.6; margin:0 0 10px; }
.fds-submit-explainer__list {
  margin: 4px 0 8px;
  padding-left: 0;
  list-style: none;
  font-size: 12px;
  color: #555;
  line-height: 1.7;
}
.fds-submit-explainer__list li { margin-bottom: 2px; }
.fds-submit-explainer__cta {
  display:inline-block; background:#1B4332; color:white;
  padding:6px 14px; border-radius:6px; font-size:12px; font-weight:700; text-decoration:none;
  transition:opacity .15s;
}
.fds-submit-explainer__cta:hover { opacity:.85; color:white; }

/* ── SINGLE LISTING — AVAILABL REGISTRATION PROMPT ───────────────────── */
.fds-availabl-prompt {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%) !important;
  border-radius: 10px !important;
  padding: 18px !important;
  color: white;
}
.fds-availabl-prompt__icon { font-size:24px; margin-bottom:8px; display:block; }
.fds-availabl-prompt__title {
  font-size:15px; font-weight:700; color:white !important;
  margin:0 0 8px; border:none !important;
}
.fds-availabl-prompt__body { font-size:12px; color:rgba(255,255,255,.85); margin:0 0 10px; line-height:1.6; }
.fds-availabl-prompt__steps {
  font-size:12px; color:rgba(255,255,255,.8); padding-left:18px; margin:0 0 14px; line-height:1.8;
}
.fds-availabl-prompt__steps strong { color:white; }
.fds-availabl-prompt__btn {
  display:block; text-align:center; background:rgba(255,255,255,.15);
  border:1.5px solid rgba(255,255,255,.4); color:white;
  padding:9px; border-radius:7px; font-size:13px; font-weight:700;
  text-decoration:none; transition:background .15s;
}
.fds-availabl-prompt__btn:hover { background:rgba(255,255,255,.25); color:white; }

/* ── BUSINESS IMAGE UPLOAD (submit form) ─────────────────────────────── */
.fds-image-upload,
.fds-gallery-upload {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fds-image-upload__preview {
  position: relative;
  display: inline-block;
  max-width: 320px;
}
.fds-image-upload__preview img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--fds-mint, #E8F0EB);
  display: block;
}
.fds-image-upload__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(169,50,38,.9);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
}
.fds-image-upload__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--fds-mint, #E8F0EB);
  color: var(--fds-green, #1B4332);
  border: 1.5px solid rgba(45,106,79,.2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  max-width: max-content;
}
.fds-image-upload__btn:hover { background: rgba(45,106,79,.15); }

.fds-gallery-upload__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fds-gallery-upload__item {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--fds-mint, #E8F0EB);
  flex-shrink: 0;
}
.fds-gallery-upload__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fds-gallery-upload__remove {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(169,50,38,.85);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── LISTING GALLERY STRIP (single-fds_listing.php) ─────────────────── */
.listing-gallery {
  margin: 1rem 0;
}
.listing-gallery__strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}
.listing-gallery__item {
  flex: 0 0 auto;
  width: 200px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  border: 1px solid var(--fds-mint, #E8F0EB);
  transition: opacity .15s;
}
.listing-gallery__item:hover { opacity: .88; }
.listing-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .listing-gallery__item { width: 160px; height: 110px; }
}

/* ── BACK LINK ────────────────────────────────────────────────────────── */
.fds-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--fds-green);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: opacity .15s;
}
.fds-back-link:hover { opacity: .75; color: var(--fds-green); }

/* ── MY LISTINGS — thumbnail on row ──────────────────────────────────── */
.fds-ml-row { cursor: pointer; transition: background .12s; }
.fds-ml-row:hover { background: #F4FBF7; }
.fds-ml-row__name { display: flex; align-items: center; gap: 10px; }
.fds-ml-row__thumb {
  width: 48px; height: 48px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--fds-mint);
}

/* ── MY LISTINGS — MAP ───────────────────────────────────────────────── */
.fds-my-listings__map {
  margin-bottom: 0;
}

/* ── LISTING DETAIL VIEW ─────────────────────────────────────────────── */
.fds-listing-detail { max-width: 100%; }

.fds-ld__hero {
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.fds-ld__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.fds-ld__title {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  color: var(--fds-green);
  margin: 0 0 0.5rem;
}
.fds-ld__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.fds-ld__status { font-size: 0.85rem; font-weight: 600; }
.fds-ld__cat {
  background: var(--fds-mint);
  border-radius: 9999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fds-green);
}
.fds-ld__header-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Two-column grid: main content + sidebar */
.fds-ld__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 700px) {
  .fds-ld__grid { grid-template-columns: 1fr; }
  .fds-ld__header { flex-direction: column; }
}

.fds-ld__section { margin-bottom: 1.5rem; }
.fds-ld__section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fds-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fds-ld__verified-badge {
  background: #E8F4EE;
  color: #0E6655;
  border-radius: 9999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.fds-ld__body { font-size: 0.95rem; line-height: 1.7; color: var(--fds-text); }
.fds-ld__hours {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  white-space: pre-wrap;
  background: var(--fds-mint);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0;
  line-height: 1.8;
}

/* Gallery strip in detail view */
.fds-ld__gallery {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fds-ld__gallery-img {
  width: 120px;
  height: 85px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--fds-mint);
}

/* Sidebar info groups */
.fds-ld__sidebar {
  background: white;
  border: 1.5px solid var(--fds-mint);
  border-radius: 12px;
  padding: 1.25rem;
  position: sticky;
  top: 1rem;
}
.fds-ld__info-group { margin-bottom: 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--fds-mint); }
.fds-ld__info-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.fds-ld__info-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fds-text-muted); margin-bottom: 0.2rem; }
.fds-ld__info-val { font-size: 0.88rem; color: var(--fds-text); }
.fds-ld__info-val a { color: var(--fds-green); text-decoration: none; font-weight: 600; }
.fds-ld__info-val a:hover { text-decoration: underline; }
.fds-ld__sidebar-actions { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--fds-mint); }

/* ── CATEGORY SEARCH ─────────────────────────────────────────────────── */
#fds-cat-search {
  margin-bottom: 6px;
  border-radius: 8px 8px 0 0;
  border-bottom: none;
}
.fds-cat-multiselect { border-radius: 0 0 8px 8px; }

/* ── PRICE PICKER ────────────────────────────────────────────────────── */
.fds-price-picker {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.fds-price-btn {
  background: white;
  border: 2px solid var(--fds-mint, #E8F0EB);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fds-text-muted, #718096);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  letter-spacing: 0.02em;
}
.fds-price-btn:hover {
  border-color: var(--fds-green, #1B4332);
  color: var(--fds-green, #1B4332);
}
.fds-price-btn.active {
  background: var(--fds-green, #1B4332);
  border-color: var(--fds-green, #1B4332);
  color: white;
}
.fds-price-btn--clear {
  font-size: 0.8rem;
  padding: 0.45rem 0.7rem;
  color: #9CA3AF;
  border-style: dashed;
}
.fds-price-btn--clear.active {
  background: #F3F4F6;
  border-color: #9CA3AF;
  color: #4B5563;
}

/* ── DIRECTORY CATEGORY FILTER STRIP — above map ─────────────────────── */
.fds-dir-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding: 0 0 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 0;
}
.fds-dir-filter::-webkit-scrollbar { display: none; }
.fds-dir-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  background: white;
  border: 1.5px solid var(--fds-mint, #E8F0EB);
  border-radius: 9999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fds-text, #374151);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  cursor: pointer;
}
.fds-dir-filter__btn:hover {
  border-color: var(--fds-green, #1B4332);
  color: var(--fds-green, #1B4332);
  background: #F0F8F4;
}
.fds-dir-filter__btn.active {
  background: var(--fds-green, #1B4332);
  border-color: var(--fds-green, #1B4332);
  color: white;
}
.fds-dir-filter__count {
  font-size: 0.7rem;
  background: rgba(0,0,0,.08);
  border-radius: 9999px;
  padding: 1px 6px;
  font-weight: 700;
}
.fds-dir-filter__btn.active .fds-dir-filter__count {
  background: rgba(255,255,255,.25);
}
.fds-directory__map { margin-bottom: 0; }

/* ── HOURS PRESET BUTTONS ─────────────────────────────────────────────── */
.fds-hours-preset {
  background: var(--fds-mint, #E8F0EB);
  border: 1px solid rgba(45,106,79,.2);
  border-radius: 6px;
  padding: 0.28rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fds-green, #1B4332);
  cursor: pointer;
  transition: background .12s;
  white-space: nowrap;
}
.fds-hours-preset:hover {
  background: rgba(45,106,79,.18);
}

/* ── QUICK-UPDATE BUTTONS IN MY LISTINGS ─────────────────────────────── */
.fds-qu-btn {
  background: var(--fds-mint, #E8F0EB);
  border: 1.5px solid rgba(45,106,79,.15);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .12s, border-color .12s;
  line-height: 1;
}
.fds-qu-btn:hover { background: rgba(45,106,79,.15); }
.fds-qu-btn--active {
  background: var(--fds-green, #1B4332);
  border-color: var(--fds-green, #1B4332);
  box-shadow: 0 0 0 2px rgba(45,106,79,.25);
}
.fds-qu-special-input {
  width: 100%;
  border: 1px solid var(--fds-mint, #E8F0EB);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--fds-text, #374151);
  background: white;
  min-width: 0;
}
.fds-qu-special-input:focus {
  outline: none;
  border-color: var(--fds-green, #1B4332);
}
.fds-qu-save-special {
  margin-top: 4px;
  font-size: 11px;
  padding: 3px 8px;
  background: var(--fds-green, #1B4332);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ── HEADER PHONE ─────────────────────────────────────────────────────── */
.header-phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fds-gold, #C8A84B);
  text-decoration: none;
  margin-left: auto;
  margin-right: 0.75rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--fds-white); }

/* ── LIGHTWEIGHT VISUAL EDITOR (contenteditable) ─────────────────────── */
.fds-visual-editor {
  border: 1.5px solid var(--fds-border, #E2E8F0);
  border-radius: 8px;
  overflow: hidden;
}
.fds-visual-editor__toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  background: #F8FAF8;
  border-bottom: 1px solid var(--fds-border, #E2E8F0);
  flex-wrap: wrap;
}
.fds-visual-editor__toolbar button {
  background: white;
  border: 1px solid #D1D5DB;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--fds-text, #374151);
  transition: background .12s, border-color .12s;
  line-height: 1.4;
}
.fds-visual-editor__toolbar button:hover {
  background: var(--fds-mint, #E8F0EB);
  border-color: var(--fds-green, #1B4332);
  color: var(--fds-green, #1B4332);
}
.fds-editor-sep {
  width: 1px;
  height: 18px;
  background: #D1D5DB;
  margin: 0 4px;
}
.fds-visual-editor__content {
  border: none !important;
  border-radius: 0 !important;
  font-size: 0.9rem;
  color: var(--fds-text, #374151);
}
.fds-visual-editor__content:empty:before {
  content: 'Tell visitors about your business — what you offer, what makes you special…';
  color: #9CA3AF;
  pointer-events: none;
}

/* ── SITEMAP SEARCH OVERLAY on map ───────────────────────────────────── */
.fds-sitemap-search-overlay {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;           /* above Leaflet controls (z-index ~400) */
  width: calc(100% - 2rem);
  max-width: 760px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Ensure the parent container is positioned so the overlay sits over the map */
.fds-sitemap > div:first-of-type {
  position: relative;
}

/* On mobile stack the overlay items */
@media (max-width: 600px) {
  .fds-sitemap-search-overlay { top: 10px; width: calc(100% - 1rem); padding: 10px; }
  .fds-sitemap-search-overlay form > div { flex-direction: column; }
  .fds-sitemap-search-overlay input,
  .fds-sitemap-search-overlay select { width: 100%; max-width: 100% !important; }
  /* Adjust map height to leave room for larger overlay */
  .fds-sitemap .fds-map-canvas { height: 380px !important; }
  /* 3-col → 1-col on mobile */
  .fds-sitemap > div:last-of-type { grid-template-columns: 1fr !important; }
}

/* ── MY LISTINGS STATS ROW DIVIDER ───────────────────────────────────── */
.fds-stat--divider {
  width: 1px;
  flex: 0 0 1px;
  background: var(--fds-mint, #E8F0EB);
  margin: 4px 2px;
  min-height: 36px;
  align-self: stretch;
}

/* ── MY LISTINGS STATS ROW — Premium Quick Update CTA ────────────────── */
.fds-stat--quick-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
  border: 1.5px solid #7C3AED;
  border-radius: 10px;
  padding: 6px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
  min-width: 80px;
}
.fds-stat--quick-cta .fds-stat__val { color: #5B21B6; font-size: 1.1rem; }
.fds-stat--quick-cta .fds-stat__lbl { color: #5B21B6; font-weight: 700; font-size: .7rem; letter-spacing: .03em; }
.fds-stat--quick-cta:hover { background: linear-gradient(135deg, #7C3AED, #6D28D9); transform: scale(1.04); }
.fds-stat--quick-cta:hover .fds-stat__val,
.fds-stat--quick-cta:hover .fds-stat__lbl { color: #FFFFFF; }

/* ══════════════════════════════════════════════════════════════════════════
   STATUS COLOUR SYSTEM — 6 states, traffic-light scale green → grey
   ══════════════════════════════════════════════════════════════════════════
   Applied to:
     .listing-card__status badge
     .listing-status__badge on single listing page
     Quick-update status buttons in My Listings
     Map popup status indicators (via JS inline colour)
   ══════════════════════════════════════════════════════════════════════════ */

/* Base status badge */
.listing-card__status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}
/* Inline variant — used in card body, not overlaid on image */
.listing-card__status--inline {
  position: static;
  display: inline-block;
  z-index: auto;
  pointer-events: auto;
}
/* Status + category row */
.listing-card__status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.listing-card__cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fds-green);
  background: var(--fds-mint);
  padding: 3px 9px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
}
.listing-card__cat:hover { background: #C7ECD5; }
.listing-card__status--link { pointer-events: auto; }

/* ── 1. Available — bright green ──────────────────────────────────────── */
.status-available { background: #059669; }

/* ── 2. Filling up — yellow-green ────────────────────────────────────── */
.status-filling   { background: #84CC16; }

/* ── 3. Wait — amber ─────────────────────────────────────────────────── */
.status-wait      { background: #EAB308; }

/* ── 4. Full — red ───────────────────────────────────────────────────── */
.status-full      { background: #EF4444; }

/* ── 5. Closed — dark charcoal ───────────────────────────────────────── */
.status-closed    { background: #374151; }

/* ── 6. Inactive — grey ──────────────────────────────────────────────── */
.status-inactive  { background: #9CA3AF; }

/* ── 6b. Closed until — charcoal family (dated owner closure, 3.22.0) ──── */
.status-closed-until { background: #4B5563; color: #fff; }

/* ── 7. By appointment — violet ──────────────────────────────────────── */
.status-appointment { background: #7C3AED; color: #fff; }

/* ── 8. Community contact directly — amber ───────────────────────────── */
.status-community { background: #B45309; color: #fff; }

/* ── Hours-based open/closed (standard listings) ─────────────────────── */
.status-hours-open { background: #22C55E; color: #fff; }
.status-hours-none { background: #E5E7EB; color: #6B7280; }

/* ── Backward compat aliases (old class names) ────────────────────────── */
.status-open      { background: #22C55E; }
.status-busy      { background: #84CC16; }
.status-hours     { background: #4A7C59; }

/* ── Quick-update active state in My Listings ─────────────────────────── */
.fds-qu-btn--active.fds-qu-status-btn { box-shadow: 0 0 0 3px rgba(0,0,0,.18); }

/* ── Status legend strip (for future use / help pages) ───────────────── */
.fds-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fds-status-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fds-text);
}
.fds-status-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── hours_only status — muted sage green, between available and filling_up ── */
.status-hours-only { background: #6EBA7F; }

/* ── MAP PIN LABEL CHIPS ─────────────────────────────────────────────────── */
.fds-map-icon {
  background: none !important;
  border: none !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.18));
}
.fds-map-pin {
  /* white chip with colour accent, defined inline via status colour */
  transition: transform .12s, box-shadow .12s;
}
.fds-map-pin:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.25) !important;
}
/* Cluster bubbles — Leaflet.markercluster override */
.fds-map-cluster {
  background: none !important;
  border: none !important;
}
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large {
  /* Hide default markercluster divs — we replace with custom iconCreateFunction */
  background-color: transparent !important;
}
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
  background-color: transparent !important;
}

/* ── LISTING CARD — DARK (INACTIVE CURRENCY) ─────────────────────────────── */
.listing-card--dark {
  opacity: 0.7;
  filter: grayscale(0.6);
}
.listing-card--dark .listing-card__img-wrap img {
  filter: grayscale(1);
  opacity: 0.5;
}
.listing-card--dark .listing-card__name a,
.listing-card--dark .listing-card__body {
  color: #9CA3AF;
}
.listing-card__closed-until {
  font-size: 0.75rem;
  color: #7D6608;
  font-weight: 600;
  margin-top: 4px;
  padding: 2px 6px;
  background: #FEF9E7;
  border-radius: 4px;
  display: inline-block;
}
.listing-card__closed-until--inactive {
  color: #6B7280;
  background: #F3F4F6;
}

/* ── SINGLE LISTING — HERO IMAGE ─────────────────────────────────────────── */
/* Anchor image to bottom so ground/subject is always visible;
   height reduced by 20% from the base theme value (assumed 420px → 336px) */
.listing-hero {
  position: relative;
  overflow: hidden;
  height: var(--fds-hero-h, 270px); /* configurable via FDS Site Settings */
  background-size: cover;
  background-position: center bottom;
  background-color: #1B4332; /* fallback when no image */
}
.listing-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  display: block;
}
.listing-hero__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F4EE;
}
/* Overlay — gradient darkens the bottom so text is always readable */
.listing-hero__overlay,
.listing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,.75) 0%, rgba(17,24,39,.1) 60%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 1.5rem;
}
.listing-hero--no-img .listing-hero__overlay,
.listing-hero--no-img .listing-hero-overlay {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  position: relative;
  inset: auto;
  height: var(--fds-hero-h, 270px);
}
/* Content inside overlay */
.listing-hero__content {
  width: 100%;
  color: #fff;
}
.listing-back-bar {
  display: inline-block;
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  margin-bottom: .75rem;
}
.listing-back-bar:hover { color: #fff; }
.listing-hero__badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: .5rem;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.25);
  color: #fff;
}
.listing-hero__title {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 .4rem;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.listing-hero__featured {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 10px;
  vertical-align: middle;
  letter-spacing: .04em;
}
.listing-hero__sub {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .listing-hero { height: var(--fds-hero-h-mob, 175px); }
}

/* ── SINGLE LISTING — DARK HERO ──────────────────────────────────────────── */
.listing-hero--dark .listing-hero-overlay {
  background: linear-gradient(to top, rgba(17,24,39,.7) 0%, rgba(17,24,39,.2) 100%);
}

/* ══════════════════════════════════════════════════════════════════════════
   BUSINESS STATUS CONTROL PANEL (My Listings detail view)
   ══════════════════════════════════════════════════════════════════════════ */
.fds-status-controls {
  border: 1.5px solid var(--fds-border, #E2E8F0);
  border-radius: 10px;
  padding: 12px 14px !important;
  margin-bottom: 12px;
}
.fds-ctrl-section {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fds-mint, #E8F0EB);
}
.fds-ctrl-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.fds-ctrl-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--fds-text-muted, #718096);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 7px;
}
.fds-ctrl-sublabel {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #B0BAC9;
  font-size: 10px;
}
.fds-ctrl-locked {
  font-size: 11px;
  color: #7D6608;
  background: #FEF9E7;
  border-radius: 5px;
  padding: 5px 8px;
  margin: 0;
}
.fds-ctrl-locked a { color: #7D6608; }

/* ── Radio group — horizontal pills ────────────────────────────────────── */
.fds-ctrl-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.fds-ctrl-radio {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border: 1.5px solid var(--fds-border, #E2E8F0);
  border-radius: 9999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--fds-text-muted, #718096);
  background: white;
  transition: border-color .12s, background .12s, color .12s;
}
.fds-ctrl-radio:hover {
  border-color: var(--ctrl-colour, var(--fds-green, #1B4332));
  color: var(--ctrl-colour, var(--fds-green, #1B4332));
}
.fds-ctrl-radio--active {
  border-color: var(--ctrl-colour, var(--fds-green, #1B4332));
  background: color-mix(in srgb, var(--ctrl-colour, #1B4332) 10%, white);
  color: var(--ctrl-colour, var(--fds-green, #1B4332));
}
.fds-ctrl-radio__input { display: none; }  /* hidden — label acts as control */
.fds-ctrl-radio__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Radio group — stacked (trading status) ─────────────────────────────── */
.fds-ctrl-radios--stacked { flex-direction: column; gap: 4px; }
.fds-ctrl-radio--full {
  border-radius: 7px;
  padding: 6px 10px;
  align-items: flex-start;
  gap: 8px;
}
.fds-ctrl-radio__label {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fds-ctrl-radio__note {
  font-size: 9px;
  font-weight: 400;
  color: #9CA3AF;
  font-style: normal;
}
.fds-ctrl-radio--full.fds-ctrl-radio--active .fds-ctrl-radio__note {
  color: inherit;
  opacity: .75;
}

/* ── Closed until message ────────────────────────────────────────────────── */
.listing-card__special--closed-until {
  color: #7D6608 !important;
  background: #FEF9E7 !important;
}

/* ── MY LISTINGS STATS ROW — inline stat group ───────────────────────── */

/* ══════════════════════════════════════════════════════════════════════════
   GEOFENCE OUTSIDE-REGION MODAL
   ══════════════════════════════════════════════════════════════════════════ */
#fds-geofence-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.fds-gm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.fds-gm-box {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 32px 28px 24px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  animation: fds-gm-in .2s ease-out;
}
@keyframes fds-gm-in {
  from { opacity:0; transform:scale(.95) translateY(8px); }
  to   { opacity:1; transform:none; }
}
.fds-gm-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  text-align: center;
}
.fds-gm-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fds-green, #1B4332);
  text-align: center;
  margin: 0 0 10px;
  line-height: 1.3;
}
.fds-gm-body {
  font-size: 0.88rem;
  color: var(--fds-text, #374151);
  line-height: 1.65;
  text-align: center;
  margin: 0 0 20px;
}
.fds-gm-legend {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fds-text-muted, #718096);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
  display: block;
}
.fds-gm-options {
  border: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fds-gm-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 2px solid var(--fds-border, #E2E8F0);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .14s, background .14s;
  position: relative;
}
.fds-gm-option input[type="radio"] { display: none; }
.fds-gm-option--recommended { border-color: #C6E6D4; background: #F4FBF7; }
.fds-gm-option--selected    { border-color: var(--fds-green, #1B4332) !important; background: #E8F4EE !important; }
.fds-gm-option:hover        { border-color: var(--fds-green, #2D6A4F); }
.fds-gm-option__icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.fds-gm-option__text { display: flex; flex-direction: column; gap: 3px; }
.fds-gm-option__text strong { font-size: 0.9rem; color: var(--fds-text, #1B4332); }
.fds-gm-option__text small  { font-size: 0.78rem; color: var(--fds-text-muted, #718096); line-height: 1.5; }
.fds-gm-option__badge {
  position: absolute;
  top: 8px; right: 10px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--fds-green, #1B4332);
  color: white;
  border-radius: 4px;
  padding: 2px 6px;
}
.fds-gm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fds-gm-btn {
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: opacity .14s;
}
.fds-gm-btn:hover { opacity: .88; }
.fds-gm-btn--primary {
  background: var(--fds-green, #1B4332);
  color: white;
}
.fds-gm-btn--secondary {
  background: var(--fds-mint, #E8F0EB);
  color: var(--fds-green, #1B4332);
}
.fds-gm-footnote {
  font-size: 0.73rem;
  color: var(--fds-text-muted, #9CA3AF);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.5;
}
@media (max-width: 540px) {
  .fds-gm-box { padding: 22px 16px 18px; }
}

/* =============================================
   TIER DIFFERENTIATION — LISTING CARDS
   ============================================= */

/* Standard: Open/Closed hours badge */
.status-hours-open {
  background: #22C55E;
  color: #fff;
  font-weight: 700;
}
.listing-card__status.status-closed {
  background: #374151;
  color: #fff;
}
.status-hours-none {
  background: #E5E7EB;
  color: #6B7280;
}

/* List row badge — must override position:absolute from listing-card__status */
.fds-list-row__status.listing-card__status {
  position: static !important;
  top: auto !important;
  left: auto !important;
  pointer-events: auto;
  flex-shrink: 0;
  align-self: center;
  white-space: nowrap;
}

/* Premium pulse on available */
.listing-card__status--pulse {
  animation: fds-pulse 2s ease-in-out infinite;
}
@keyframes fds-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .65; }
}

/* Community tier card — subtle amber border */
.listing-card--community {
  border-color: #F59E0B;
}

/* Premium / Featured card — teal border top accent */
.listing-card--premium,
.listing-card--featured {
  border-top: 3px solid var(--fds-gold);
}

/* =============================================
   PREMIUM UPGRADE PROMPT (My Listings sidebar)
   ============================================= */
.fds-upgrade-prompt {
  background: linear-gradient(135deg, #FEF3E2 0%, #FFFBF0 100%);
  border: 1.5px solid #F59E0B;
  border-radius: 12px;
  padding: 1.1rem !important;
  margin-bottom: 1rem;
}
.fds-upgrade-prompt .fds-ld__info-label {
  color: #92400E !important;
  font-weight: 700;
}
.fds-upgrade-prompt__body {
  font-size: .85rem;
}
.fds-upgrade-prompt__list {
  list-style: none;
  padding: 0;
  margin: .5rem 0;
}
.fds-upgrade-prompt__list li {
  padding: .3rem 0;
  font-size: .82rem;
  color: #374151;
  border-bottom: 1px solid rgba(245,158,11,.15);
  line-height: 1.4;
}
.fds-upgrade-prompt__list li:last-child { border-bottom: none; }

/* =============================================
   STANDARD STATUS CONTROLS VARIANT
   ============================================= */
.fds-status-controls--standard {
  background: #F9FAFB;
  border-color: #E5E7EB;
  border-radius: 10px;
  padding: .9rem !important;
}

/* =============================================
   PREMIUM QUICK UPDATE PANEL
   ============================================= */
.fds-quick-panel {
  background: var(--fds-green);
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 1.1rem !important;
  position: sticky;
  top: calc(64px + 48px + 1rem);
  z-index: 10;
}
.fds-quick-panel .fds-ld__info-label {
  color: var(--fds-gold) !important;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  margin-bottom: .7rem;
}
.fds-quick-panel__body {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.fds-quick-panel__row {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.fds-quick-panel__row-label {
  font-size: .72rem;
  color: rgba(250,247,242,.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Status grid in quick panel */
.fds-quick-panel__status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.fds-qp-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: .45rem .2rem;
  border-radius: 8px;
  border: 2px solid transparent;
  background: rgba(255,255,255,.08);
  color: rgba(250,247,242,.75);
  cursor: pointer;
  font-size: .7rem;
  font-family: inherit;
  transition: background .15s, border-color .15s, color .15s;
  line-height: 1.2;
}
.fds-qp-status:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.fds-qp-status--active {
  background: var(--qp-colour, #22C55E) !important;
  border-color: rgba(255,255,255,.5) !important;
  color: #fff !important;
  font-weight: 700;
}
.fds-qp-status span { font-size: .65rem; }

/* Input fields in quick panel */
.fds-qp-input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 7px;
  color: #fff;
  padding: .4rem .6rem;
  font-size: .82rem;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.fds-qp-input::placeholder { color: rgba(250,247,242,.4); }
.fds-qp-input:focus {
  outline: none;
  border-color: var(--fds-gold);
  background: rgba(255,255,255,.15);
}

/* Buttons in quick panel */
.fds-qp-save-btn {
  background: var(--fds-gold);
  color: var(--fds-green);
  border: none;
  border-radius: 7px;
  padding: .4rem .75rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .15s;
}
.fds-qp-save-btn:hover { background: #e8a500; }
.fds-qp-clear-btn {
  background: rgba(255,255,255,.1);
  color: rgba(250,247,242,.7);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 7px;
  padding: .4rem .5rem;
  cursor: pointer;
  font-family: inherit;
  font-size: .82rem;
  transition: background .15s;
}
.fds-qp-clear-btn:hover { background: rgba(255,255,255,.2); color:#fff; }

/* Toast */
.fds-qp-toast {
  font-size: .78rem;
  text-align: center;
  border-radius: 6px;
  padding: .3rem .6rem;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.fds-qp-toast--show { opacity: 1; }
.fds-qp-toast--ok { background: rgba(34,197,94,.25); color: #d1fae5; }
.fds-qp-toast--err { background: rgba(239,68,68,.25); color: #fee2e2; }

/* =============================================
   RESPONSIVE — quick panel on mobile
   ============================================= */
@media (max-width: 900px) {
  .fds-quick-panel {
    position: static;
    border-radius: 10px !important;
    margin-bottom: 1rem;
  }
  .fds-quick-panel__status-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 480px) {
  .fds-quick-panel__status-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   TODAY'S SPECIALS PAGE  [fds_todays_specials]
   ============================================= */

.fds-specials-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ── Header ── */
.fds-specials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 1rem;
  border-bottom: 2px solid var(--fds-mint);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.fds-specials-header__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.fds-specials-header__icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.fds-specials-header__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--fds-green);
  margin: 0 0 .15rem;
}
.fds-specials-header__sub {
  font-size: .85rem;
  color: var(--fds-text-muted);
  margin: 0;
}
.fds-specials-refresh-btn {
  background: transparent;
  border: 1.5px solid var(--fds-border);
  border-radius: 9999px;
  padding: .35rem .9rem;
  font-size: .8rem;
  color: var(--fds-text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.fds-specials-refresh-btn:hover {
  border-color: var(--fds-green);
  color: var(--fds-green);
  background: var(--fds-mint);
}

/* ── Filter bar ── */
.fds-specials-filter {
  display: flex;
  gap: .6rem;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.fds-specials-search {
  flex: 1;
  min-width: 200px;
  padding: .5rem .85rem;
  border: 1.5px solid var(--fds-border);
  border-radius: 9999px;
  font-size: .9rem;
  font-family: inherit;
  background: var(--fds-white);
  transition: border-color .15s;
}
.fds-specials-search:focus {
  outline: none;
  border-color: var(--fds-green);
}
.fds-specials-cat-select {
  padding: .48rem .85rem;
  border: 1.5px solid var(--fds-border);
  border-radius: 9999px;
  font-size: .85rem;
  font-family: inherit;
  background: var(--fds-white);
  color: var(--fds-text);
  cursor: pointer;
  min-width: 160px;
  transition: border-color .15s;
}
.fds-specials-cat-select:focus {
  outline: none;
  border-color: var(--fds-green);
}
.fds-specials-count {
  font-size: .8rem;
  color: var(--fds-text-muted);
  white-space: nowrap;
}

/* ── Grid ── */
.fds-specials-grid {
  display: grid;
  grid-template-columns: repeat(var(--fds-cols, 3), 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) { .fds-specials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .fds-specials-grid { grid-template-columns: 1fr; } }

/* ── Specials card ── */
.fds-sp-card {
  background: var(--fds-white);
  border: 1.5px solid var(--fds-mint);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.fds-sp-card:hover {
  box-shadow: 0 8px 30px rgba(27,67,50,.12);
  transform: translateY(-2px);
}

/* Premium card — gold top accent */
.fds-sp-card--premium,
.fds-sp-card--featured {
  border-top: 3px solid var(--fds-gold);
}
/* Dark / inactive card */
.fds-sp-card--dark {
  filter: grayscale(.6);
  opacity: .75;
}

/* Card image */
.fds-sp-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--fds-mint);
  display: block;
  flex-shrink: 0;
}
.fds-sp-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
  display: block;
}
.fds-sp-card:hover .fds-sp-card__img-wrap img { transform: scale(1.04); }
.fds-sp-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--fds-mint);
  color: var(--fds-green);
}

/* Special ribbon across the image */
.fds-sp-card__ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--fds-gold), #e8a500);
  color: var(--fds-green);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3rem .75rem;
}

/* Premium badge on image */
.fds-sp-card__tier-badge {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: rgba(200,134,26,.9);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 9999px;
  letter-spacing: .04em;
}

/* Card body */
.fds-sp-card__body {
  flex: 1;
  padding: .9rem 1rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

/* Meta row: status + category + suburb */
.fds-sp-card__meta-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  font-size: .75rem;
}
.fds-sp-card__status {
  font-size: .7rem;
  font-weight: 700;
  padding: .18rem .5rem;
  border-radius: 9999px;
  color: #fff;
  white-space: nowrap;
}
.fds-sp-card__cat {
  color: var(--fds-text-muted);
  font-weight: 500;
}
.fds-sp-card__suburb {
  color: var(--fds-text-muted);
  margin-left: auto;
}

/* Business name */
.fds-sp-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.fds-sp-card__name a {
  color: var(--fds-green);
  text-decoration: none;
}
.fds-sp-card__name a:hover { color: var(--fds-green-dark); }

/* THE SPECIAL — the star of the show */
.fds-sp-card__special {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 1.5px solid #FCD34D;
  border-radius: 8px;
  padding: .55rem .7rem;
  margin-top: .1rem;
}
.fds-sp-card__special-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .05rem;
}
.fds-sp-card__special-text {
  font-size: .88rem;
  font-weight: 600;
  color: #78350F;
  line-height: 1.35;
}

/* Closed until */
.fds-sp-card__closed-until {
  font-size: .75rem;
  color: #92400E;
  background: #FEF3E2;
  border-radius: 6px;
  padding: .25rem .5rem;
}

/* Price */
.fds-sp-card__price {
  font-size: .78rem;
  color: var(--fds-text-muted);
  font-weight: 600;
}

/* Footer */
.fds-sp-card__footer {
  padding: .65rem 1rem .85rem;
  border-top: 1px solid var(--fds-mint);
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.fds-sp-card__cta {
  flex: 1;
  text-align: center;
  font-size: .82rem;
  padding: .45rem .75rem;
}
.fds-sp-card__call {
  font-size: .82rem;
  padding: .45rem .75rem;
  white-space: nowrap;
}

/* ── Empty state ── */
.fds-specials-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--fds-text-muted);
}
.fds-specials-empty__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.fds-specials-empty h3 {
  font-size: 1.4rem;
  color: var(--fds-green);
  margin-bottom: .5rem;
}

/* ── No filter results ── */
.fds-specials-no-filter-results {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--fds-text-muted);
  grid-column: 1 / -1;
}

/* ── Mobile tweaks ── */
@media (max-width: 600px) {
  .fds-specials-header { flex-direction: column; align-items: flex-start; }
  .fds-specials-filter { flex-direction: column; align-items: stretch; }
  .fds-specials-search { border-radius: 8px; }
  .fds-specials-cat-select { border-radius: 8px; }
  .fds-sp-card__suburb { margin-left: 0; }
}

/* =============================================
   BY APPOINTMENT STATUS
   Violet — distinct from all capacity states.
   Used in both standard (hours-only) and
   premium (traffic-light) listing modes.
   ============================================= */

/* Status badge */
.status-appointment {
  background-color: #7C3AED;
  color: #ffffff;
}

/* Listing card badge */
.listing-card__status.status-appointment {
  background: #7C3AED;
  color: #fff;
  font-weight: 700;
}

/* Map pin accent */
.fds-pin--appointment .fds-pin__accent { background: #7C3AED; }

/* Quick panel active state */
.fds-qp-status.fds-qp-status--active[data-status="by_appointment"] {
  background: #7C3AED !important;
  border-color: rgba(255,255,255,.5) !important;
}

/* Archive/specials card badge */
.fds-sp-card__status.status-appointment {
  background: #7C3AED;
  color: #fff;
}

/* Single listing page status badge */
.fds-listing-status.status-appointment {
  background: #7C3AED;
  color: #fff;
}

/* My Listings detail — by appointment info row */
.fds-appt-info {
  background: #F5F3FF;
  border: 1.5px solid #7C3AED;
  border-radius: 8px;
  padding: .65rem .85rem;
  font-size: .85rem;
  color: #5B21B6;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.fds-appt-info strong { color: #4C1D95; }

/* Upgrade prompt list item highlight */
.fds-upgrade-prompt__list li.appt-note {
  color: #5B21B6;
  border-left: 3px solid #7C3AED;
  padding-left: .5rem;
}

/* Map pin — appointment specific chip */
.leaflet-marker-icon .fds-pin__label.status-appointment {
  border-left-color: #7C3AED;
  background: #F5F3FF;
  color: #5B21B6;
}

/* ── Community listing "Contact directly" badge ───────────────────────── */
/* Amber/gold tone — distinct from appointment violet, softer than a status colour */
.status-community {
  background-color: #B45309;
  color: #ffffff;
}

.listing-card__status.status-community {
  background: #B45309;
  color: #fff;
  font-weight: 700;
}

.fds-sp-card__status.status-community {
  background: #B45309;
  color: #fff;
}

.fds-listing-status.status-community {
  background: #B45309;
  color: #fff;
}

/* Map pin accent */
.fds-pin--community .fds-pin__accent { background: #B45309; }

.leaflet-marker-icon .fds-pin__label.status-community {
  border-left-color: #B45309;
  background: #FEF3C7;
  color: #92400E;
}

/* My Listings — community contact info row */
.fds-community-info {
  background: #FFFBEB;
  border: 1.5px solid #B45309;
  border-radius: 8px;
  padding: .65rem .85rem;
  font-size: .85rem;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.fds-community-info strong { color: #78350F; }

/* ── Tom Select — contact form listing dropdown ───────────────────────── */
#fds-contact-listing + .ts-wrapper {
  width: 100%;
}
#fds-contact-listing + .ts-wrapper .ts-control {
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  padding: .55rem .75rem;
  font-size: .95rem;
  color: #1F2937;
  background: #ffffff !important;
  box-shadow: none;
  min-height: 42px;
}
#fds-contact-listing + .ts-wrapper.focus .ts-control {
  border-color: var(--fds-green, #2D6A4F);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
}
#fds-contact-listing + .ts-wrapper .ts-dropdown {
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  font-size: .9rem;
  margin-top: 2px;
  background: #ffffff !important;
  z-index: 9999;
}
#fds-contact-listing + .ts-wrapper .ts-dropdown-content {
  background: #ffffff !important;
}
#fds-contact-listing + .ts-wrapper .ts-dropdown .option {
  background: #ffffff;
  color: #1F2937;
  padding: .5rem .875rem;
}
#fds-contact-listing + .ts-wrapper .ts-dropdown .option.selected,
#fds-contact-listing + .ts-wrapper .ts-dropdown .option:hover {
  background: #E8F4EE;
  color: #1B4332;
}
#fds-contact-listing + .ts-wrapper .ts-dropdown .option.active {
  background: var(--fds-green, #2D6A4F);
  color: #fff;
}
#fds-contact-listing + .ts-wrapper .clear-button {
  color: #9CA3AF;
  background: transparent;
}
/* Input inside the control must also be white */
#fds-contact-listing + .ts-wrapper .ts-control input {
  background: transparent !important;
  color: #1F2937;
}

/* ── Premium upsell modal — shown after new listing submission ──────────── */
.fds-upsell-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.fds-upsell-box {
  background: #fff;
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  overflow: hidden;
  animation: fds-upsell-in .25s ease;
}
@keyframes fds-upsell-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.fds-upsell-header {
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  color: #fff;
  padding: 1.75rem 2rem 1.5rem;
  text-align: center;
}
.fds-upsell-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.fds-upsell-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 .4rem;
  color: #fff;
  font-family: 'Fraunces', serif;
}
.fds-upsell-subtitle {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  margin: 0;
  line-height: 1.5;
}
.fds-upsell-features {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.fds-upsell-features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.fds-upsell-feature__icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.fds-upsell-features li div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fds-upsell-features li strong {
  font-size: .88rem;
  font-weight: 700;
  color: #1B4332;
}
.fds-upsell-features li span {
  font-size: .8rem;
  color: #6B7280;
  line-height: 1.4;
}
.fds-upsell-actions {
  padding: 0 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.fds-upsell-btn {
  display: block;
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
}
.fds-upsell-btn:hover { opacity: .88; transform: translateY(-1px); }
.fds-upsell-btn--primary {
  background: #C8861A;
  color: #fff;
}
.fds-upsell-btn--secondary {
  background: #F3F4F6;
  color: #6B7280;
  font-weight: 500;
  font-size: .85rem;
}
.fds-upsell-btn--secondary:hover { background: #E5E7EB; opacity: 1; transform: none; }
@media (max-width: 480px) {
  .fds-upsell-header { padding: 1.25rem 1.25rem 1rem; }
  .fds-upsell-features { padding: 1rem 1.25rem; }
  .fds-upsell-actions { padding: 0 1.25rem 1.25rem; }
}

/* ── Listing page accordions ────────────────────────────────────────────── */
.fds-accordions {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
}
.fds-acc {
  border-bottom: 1.5px solid #E5E7EB;
}
.fds-acc:last-child { border-bottom: none; }

.fds-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: #1F2937;
  transition: background .15s;
}
.fds-acc__trigger:hover { background: #F9FAF7; }
.fds-acc--open .fds-acc__trigger { background: #F4FBF7; color: #1B4332; }
.fds-acc__icon { font-size: 1.1rem; flex-shrink: 0; }
.fds-acc__title { flex: 1; }
.fds-acc__badge { margin-left: 4px; }
.fds-acc__chevron {
  font-size: 1.3rem;
  color: #9CA3AF;
  transition: transform .2s;
  line-height: 1;
  flex-shrink: 0;
  transform: rotate(0deg);
}
.fds-acc--open .fds-acc__chevron { transform: rotate(90deg); }

.fds-acc__body {
  display: none !important;
  overflow: hidden;
}
.fds-acc--open .fds-acc__body { display: block !important; }
.fds-acc__inner {
  padding: 4px 18px 18px;
  border-top: 1px solid #F3F4F6;
}

/* Gallery inside accordion */
.listing-gallery__strip--accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.listing-gallery__strip--accordion .listing-gallery__item {
  width: calc(33.33% - 6px);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.listing-gallery__strip--accordion .listing-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 480px) {
  .listing-gallery__strip--accordion .listing-gallery__item { width: calc(50% - 4px); }
}

/* ════════════════════════════════════════════════════════════════════════════
   HOMEPAGE — FEATURED + EVENTS TWO-COLUMN SPLIT
   ════════════════════════════════════════════════════════════════════════════ */
.fds-home-split {
  background: #F9FAF7;
  padding: 3rem 0;
}
.fds-home-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 720px) {
  .fds-home-split__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.fds-home-split__col {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  overflow: hidden;
}
.fds-home-split__header {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.25rem .875rem;
  border-bottom: 1.5px solid #F3F4F6;
  background: #FAFAFA;
}
.fds-home-split__icon { font-size: 1.2rem; flex-shrink: 0; }
.fds-home-split__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1B4332;
  margin: 0;
  flex: 1;
  font-family: 'Fraunces', serif;
}
.fds-home-split__viewall {
  font-size: .8rem;
  font-weight: 600;
  color: var(--fds-green, #2D6A4F);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.fds-home-split__viewall:hover { text-decoration: underline; }
.fds-home-split__empty {
  padding: 1.5rem 1.25rem;
  font-size: .9rem;
  color: #9CA3AF;
}
.fds-home-split__empty a { color: var(--fds-green, #2D6A4F); }

/* ── Featured listing rows ──────────────────────────────────────────────── */
.fds-featured-stack { display: flex; flex-direction: column; }
.fds-feat-row {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid #F3F4F6;
  transition: background .12s;
}
.fds-feat-row:last-child { border-bottom: none; }
.fds-feat-row:hover { background: #F4FBF7; }
.fds-feat-row__img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #E8F4EE;
}
.fds-feat-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fds-feat-row__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.fds-feat-row__body { flex: 1; min-width: 0; }
.fds-feat-row__name {
  font-size: .9rem;
  font-weight: 700;
  color: #1F2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.fds-feat-row__badge {
  font-size: .65rem;
  font-weight: 700;
  background: #C8861A;
  color: #fff;
  border-radius: 4px;
  padding: 1px 5px;
  flex-shrink: 0;
}
.fds-feat-row__meta {
  font-size: .75rem;
  color: #6B7280;
  margin-top: 2px;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.fds-feat-row__status {
  font-size: .7rem !important;
  padding: 3px 8px !important;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Event rows ─────────────────────────────────────────────────────────── */
.fds-event-stack { display: flex; flex-direction: column; }
.fds-event-row {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid #F3F4F6;
  transition: background .12s;
}
.fds-event-row:last-child { border-bottom: none; }
.fds-event-row:hover { background: #F4FBF7; }
.fds-event-row__cal {
  width: 48px;
  flex-shrink: 0;
  background: var(--fds-green, #2D6A4F);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 4px 6px;
  color: #fff;
}
.fds-event-row__day { font-size: 1.35rem; font-weight: 800; line-height: 1; font-family: 'Fraunces', serif; }
.fds-event-row__mon { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; margin-top: 1px; }
.fds-event-row__body { flex: 1; min-width: 0; }
.fds-event-row__name {
  font-size: .9rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.3;
}
.fds-event-row__venue {
  font-size: .75rem;
  color: #6B7280;
  margin-top: 2px;
}
.fds-event-row__excerpt {
  font-size: .75rem;
  color: #9CA3AF;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fds-event-row__chip {
  font-size: .68rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 8px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.fds-event-row__chip--free { background: #DCFCE7; color: #166534; }
.fds-event-row__chip--ticketed { background: #EFF6FF; color: #1D4ED8; }

/* ════════════════════════════════════════════════════════════════════════════
   HOMEPAGE — IS YOUR BUSINESS CTA PANEL
   ════════════════════════════════════════════════════════════════════════════ */
.fds-cta-panel {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  padding: 3.5rem 0;
}
.fds-cta-panel__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 720px) {
  .fds-cta-panel__inner { grid-template-columns: 1fr; gap: 2rem; }
}
.fds-cta-panel__icon { font-size: 2.5rem; margin-bottom: .5rem; }
.fds-cta-panel__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .75rem;
  font-family: 'Fraunces', serif;
  line-height: 1.2;
}
.fds-cta-panel__body {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.fds-cta-panel__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.fds-cta-panel__learn {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.fds-cta-panel__learn:hover { color: #fff; }

/* Feature list on the right side */
.fds-cta-panel__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .fds-cta-panel__features { grid-template-columns: 1fr; }
}
.fds-cta-feat {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: .875rem 1rem;
}
.fds-cta-feat__icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.fds-cta-feat div { display: flex; flex-direction: column; gap: 2px; }
.fds-cta-feat strong { font-size: .88rem; font-weight: 700; color: #fff; }
.fds-cta-feat span { font-size: .78rem; color: rgba(255,255,255,.65); line-height: 1.4; }

/* ════════════════════════════════════════════════════════════════════════════
   SINGLE LISTING PAGE — full layout CSS
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Back breadcrumb bar ─────────────────────────────────────────────────── */
/* listing-back-bar — styled in the listing hero section above */
.listing-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem 0 3rem;
}
@media (max-width: 900px) {
  .listing-detail-grid { grid-template-columns: 1fr; }
}
.listing-main { min-width: 0; }
.listing-detail-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Status banner ───────────────────────────────────────────────────────── */
.listing-status-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  border-radius: 10px;
  background: #F0FDF4;
  border: 1.5px solid #22C55E40;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.listing-status-banner.status-available { background: #ECFDF5; border-color: #05966940; }
.listing-status-banner.status-hours-only { background: #F0FDF9; border-color: #6EBA7F40; }
.listing-status-banner.status-appointment { background: #F5F3FF; border-color: #7C3AED40; }
.listing-status-banner.status-filling-up { background: #F7FEE7; border-color: #84CC1640; }
.listing-status-banner.status-wait { background: #FEFCE8; border-color: #EAB30840; }
.listing-status-banner.status-full { background: #FEF2F2; border-color: #EF444440; }
.listing-status-banner.status-closed { background: #F9FAFB; border-color: #E5E7EB; }
.listing-status-banner.status-inactive { background: #F3F4F6; border-color: #D1D5DB; }

.status-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: fds-pulse 2s ease-in-out infinite;
}
@keyframes fds-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}
.listing-status-banner > div { flex: 1; min-width: 0; }
.listing-status-banner strong { font-size: .95rem; font-weight: 700; color: #1F2937; }
.listing-status__hours { font-size: .82rem; color: #6B7280; }
.listing-status__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.listing-status__cta--findserv { background: #1B4332; color: #fff; }
.listing-status__cta--presence { background: #E8F4EE; color: #1B4332; }

/* ── Special / flag banners ──────────────────────────────────────────────── */
.listing-special {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 1.5px solid #FCD34D;
  border-radius: 8px;
  padding: .6rem 1rem;
  font-size: .88rem;
  color: #78350F;
  margin-bottom: .6rem;
}
.listing-special__label { font-weight: 700; margin-bottom: .25rem; }
.listing-special__text  { font-weight: 700; }
.listing-flag {
  background: #FFF7ED;
  border: 1.5px solid #FDBA74;
  border-radius: 8px;
  padding: .5rem .9rem;
  font-size: .82rem;
  color: #C2410C;
  margin-bottom: .6rem;
}
.listing-bg-status {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9CA3AF;
  margin-bottom: .4rem;
}

/* ── Zones wrap ──────────────────────────────────────────────────────────── */
.listing-zones-wrap { margin-top: .75rem; }
.listing-section__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9CA3AF;
  margin: 0 0 .4rem;
}

/* ── Listing section wrapper ─────────────────────────────────────────────── */
.listing-section {
  margin-bottom: 1rem;
}

/* ── Content area ────────────────────────────────────────────────────────── */
.listing-content {
  font-size: .95rem;
  line-height: 1.7;
  color: #374151;
}
.listing-content p { margin: 0 0 .875rem; }
.listing-content ul, .listing-content ol { padding-left: 1.4rem; margin: 0 0 .875rem; }
.listing-content li { margin-bottom: .25rem; }

/* ── Hours table ─────────────────────────────────────────────────────────── */
.listing-hours { display: flex; flex-direction: column; gap: 2px; }
.listing-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  padding: .35rem 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: .88rem;
}
.listing-hours__row:last-child { border-bottom: none; }
.listing-hours__day { font-weight: 600; color: #374151; flex-shrink: 0; min-width: 90px; }
.listing-hours__time { color: #6B7280; text-align: right; }
.listing-hours__note {
  font-size: .78rem;
  color: #9CA3AF;
  font-style: italic;
  margin-top: .75rem;
}

/* ── Contact rows ────────────────────────────────────────────────────────── */
.contact-row {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.contact-row__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: .92rem;
  font-weight: 600;
  color: var(--fds-green, #2D6A4F);
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-row__item:last-child { border-bottom: none; }
.contact-row__item:hover { text-decoration: underline; }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.contact-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9CA3AF; margin-bottom: 2px; }
.contact-value { font-size: .9rem; color: #1F2937; }
.contact-value a { color: var(--fds-green, #2D6A4F); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .contact-row__item { font-size: .88rem; padding: .7rem 0; }
}

/* ── Sidebar widgets ─────────────────────────────────────────────────────── */
.sidebar-widget {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
.widget-title {
  font-size: .85rem;
  font-weight: 700;
  color: #1B4332;
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sidebar-price {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
}

/* ── Nearby listings ─────────────────────────────────────────────────────── */
.nearby-list { display: flex; flex-direction: column; gap: .5rem; }
.nearby-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  padding: .4rem 0;
  border-bottom: 1px solid #F3F4F6;
}
.nearby-item:last-child { border-bottom: none; }
.nearby-item:hover .nearby-item__name { color: var(--fds-green, #2D6A4F); }
.nearby-item__img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #E8F4EE;
}
.nearby-item__img img { width: 100%; height: 100%; object-fit: cover; }
.nearby-item__name { font-size: .85rem; font-weight: 600; color: #1F2937; }
.nearby-item__status { font-size: .72rem; margin-top: 1px; }

/* ── Tags ────────────────────────────────────────────────────────────────── */
.listing-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

/* ── Availabl prompt sidebar widget ─────────────────────────────────────── */
.fds-availabl-prompt { background: linear-gradient(135deg, #E8F4EE, #F0FDF4); border-color: rgba(45,106,79,.2); }
.fds-availabl-prompt__icon { font-size: 1.5rem; margin-bottom: .25rem; }
.fds-availabl-prompt__title { font-size: .95rem; font-weight: 700; color: #1B4332; margin: 0 0 .4rem; }
.fds-availabl-prompt__body { font-size: .82rem; color: #374151; line-height: 1.6; margin: 0 0 .75rem; }
.fds-availabl-prompt__steps { font-size: .8rem; color: #4B5563; padding-left: 1.25rem; margin: 0 0 .875rem; }
.fds-availabl-prompt__steps li { margin-bottom: .25rem; }
.fds-availabl-prompt__btn {
  display: block;
  text-align: center;
  background: #1B4332;
  color: #fff;
  padding: .55rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
.fds-availabl-prompt__btn:hover { background: #2D6A4F; color: #fff; }

/* ── Hero badge ──────────────────────────────────────────────────────────── */
.listing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .9rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  background: rgba(0,0,0,.35);
  color: #fff;
  backdrop-filter: blur(4px);
  margin-bottom: .5rem;
}
.listing-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 .5rem;
  font-family: 'Fraunces', serif;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.listing-hero__sub {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .88rem;
  color: rgba(255,255,255,.85);
}
.listing-hero__sub span { display: flex; align-items: center; gap: .3rem; }

/* ── Listing type info buttons + popups (Add Your Listing form) ─────────── */
.fds-listing-info-btns {
  display: flex;
  gap: .75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.fds-info-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: .75rem 1.1rem;
  border-radius: 10px;
  border: 2px solid #E5E7EB;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s, transform .1s;
  flex: 1;
  min-width: 150px;
}
.fds-info-btn:hover { transform: translateY(-2px); }
.fds-info-btn--noticeboard { border-color: #D1D5DB; }
.fds-info-btn--noticeboard:hover { border-color: #2D6A4F; background: #F4FBF7; }
.fds-info-btn--premium { border-color: #FCD34D; background: #FFFBEB; }
.fds-info-btn--premium:hover { border-color: #C8861A; background: #FEF3C7; }
.fds-info-btn--availabl { border-color: #A5B4FC; background: #EEF2FF; }
.fds-info-btn--availabl:hover { border-color: #6366F1; background: #E0E7FF; }
.fds-info-btn__icon { font-size: 1.3rem; line-height: 1; }
.fds-info-btn__label { font-size: .9rem; font-weight: 700; color: #1F2937; }
.fds-info-btn--premium .fds-info-btn__label { color: #92400E; }
.fds-info-btn--availabl .fds-info-btn__label { color: #3730A3; }
.fds-info-btn__hint { font-size: .75rem; color: #9CA3AF; }
.fds-info-btn--premium .fds-info-btn__hint { color: #B45309; }
.fds-info-btn--availabl .fds-info-btn__hint { color: #6366F1; }

/* Backdrop */
.fds-info-popup-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}
.fds-info-popup-backdrop--open { display: block; }

/* Popup */
.fds-info-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(.96);
  z-index: 9999;
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  max-width: 440px;
  width: calc(100% - 2rem);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: fds-popup-in .2s ease forwards;
}
.fds-info-popup--open { display: block; }
@keyframes fds-popup-in {
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  from { transform: translate(-50%, -48%) scale(.96); opacity: 0; }
}
.fds-info-popup__close {
  position: absolute;
  top: .875rem;
  right: .875rem;
  background: #F3F4F6;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: .85rem;
  cursor: pointer;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.fds-info-popup__close:hover { background: #E5E7EB; color: #1F2937; }
.fds-info-popup__icon { font-size: 2rem; margin-bottom: .5rem; }
.fds-info-popup__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1B4332;
  margin: 0 0 .5rem;
  font-family: 'Fraunces', serif;
}
.fds-info-popup__intro {
  font-size: .88rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.fds-info-popup__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.fds-info-popup__list li {
  font-size: .875rem;
  color: #374151;
  line-height: 1.5;
  padding-left: .25rem;
}
.fds-info-popup__note {
  font-size: .78rem;
  color: #9CA3AF;
  background: #F9FAFB;
  border-radius: 6px;
  padding: .5rem .75rem;
  margin: 0;
}
.fds-info-popup__cta {
  display: block;
  text-align: center;
  margin-top: .875rem;
  background: #1B4332;
  color: #fff;
  padding: .65rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.fds-info-popup__cta:hover { background: #2D6A4F; color: #fff; }
@media (max-width: 480px) {
  .fds-info-btn { min-width: calc(50% - .4rem); }
  .fds-info-popup { padding: 1.5rem; }
}

/* ── Legal pages (T&C, Privacy, Cookie Policy) ──────────────────────────── */
.fds-legal {
  max-width: 760px;
  font-size: .875rem;
  line-height: 1.75;
  color: #374151;
}
.fds-legal__title {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--fds-green, #1B4332);
  margin: 0 0 .5rem;
}
.fds-legal__meta {
  font-size: .78rem;
  color: #9CA3AF;
  margin: 0 0 1.75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.fds-legal__intro {
  font-size: .9rem;
  color: #6B7280;
  margin: 0 0 1rem;
  line-height: 1.75;
}
.fds-legal__clause {
  margin: 0 0 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #F3F4F6;
}
.fds-legal__clause:last-of-type { border-bottom: none; }

/* Numbered heading — number badge inline with title text */
.fds-legal__clause-title {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #1F2937;
  margin: 0 0 .75rem;
  line-height: 1.3;
}
.fds-legal__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fds-green, #1B4332);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 1px;
}

.fds-legal__clause p {
  font-size: .875rem;
  color: #374151;
  margin: 0 0 .6rem;
  line-height: 1.75;
}

/* Bullet list — indented to align with heading text (after the number badge) */
.fds-legal__list {
  list-style: none;
  margin: .5rem 0 .75rem calc(24px + .75rem); /* align with text after number badge */
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.fds-legal__list li {
  font-size: .875rem;
  color: #4B5563;
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
}
.fds-legal__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #9CA3AF;
  font-weight: 700;
}
.fds-legal__list li strong { color: #1F2937; }
.fds-legal__list li a { color: var(--fds-green, #2D6A4F); }

.fds-legal__footer {
  font-size: .78rem;
  color: #9CA3AF;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;
}
.fds-legal__footer a { color: var(--fds-green, #2D6A4F); }

/* Apply same base styles to fds-policy-wrap (privacy + cookie pages) */
.fds-policy-wrap {
  max-width: 760px;
  font-size: .875rem;
  line-height: 1.75;
  color: #374151;
}
.fds-policy-wrap h1 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--fds-green, #1B4332);
  margin: 0 0 .5rem;
}
.fds-policy-wrap h2 {
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #1F2937;
  margin: 1.5rem 0 .5rem;
  border-bottom: 1px solid #F3F4F6;
  padding-bottom: .4rem;
}
.fds-policy-wrap h3 {
  font-size: .8rem;
  font-weight: 700;
  color: #374151;
  margin: 1rem 0 .35rem;
}
.fds-policy-wrap p {
  font-size: .875rem;
  color: #374151;
  margin: 0 0 .75rem;
}
.fds-policy-wrap ul {
  margin: .4rem 0 .75rem 1.25rem;
  padding: 0;
  font-size: .875rem;
  color: #4B5563;
  line-height: 1.7;
}
.fds-policy-wrap ul li { margin-bottom: .25rem; }
.fds-policy-wrap a { color: var(--fds-green, #2D6A4F); }

/* ── Layout toggle buttons ──────────────────────────────────────────────── */
.archive-layout-toggle {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.layout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid #E5E7EB;
  border-radius: 6px;
  background: #fff;
  color: #9CA3AF;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.layout-btn:hover { border-color: var(--fds-green, #2D6A4F); color: var(--fds-green, #2D6A4F); }
.layout-btn.active { background: var(--fds-green, #2D6A4F); border-color: var(--fds-green, #2D6A4F); color: #fff; }

/* ── Grid mode (default) ────────────────────────────────────────────────── */
/* ── Grid mode — applies to both [fds_listings] shortcode (dynamic ID) and archive page ── */
.listing-grid.fds-layout--grid,
#fds-listing-grid.fds-layout--grid {
  display: grid;
  grid-template-columns: repeat(var(--fds-cols, 3), 1fr);
  gap: 1.25rem;
}
.listing-grid.fds-layout--grid .fds-list-row,
#fds-listing-grid.fds-layout--grid .fds-list-row { display: none !important; }
.listing-grid.fds-layout--grid .fds-grid-item,
#fds-listing-grid.fds-layout--grid .fds-grid-item { display: block; }
@media (max-width: 1100px) {
  .listing-grid.fds-layout--grid,
  #fds-listing-grid.fds-layout--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .listing-grid.fds-layout--grid,
  #fds-listing-grid.fds-layout--grid { grid-template-columns: 1fr; }
}

/* ── List mode ──────────────────────────────────────────────────────────── */
.listing-grid.fds-layout--list,
#fds-listing-grid.fds-layout--list {
  display: flex !important;
  flex-direction: column;
  gap: 0;
}
.listing-grid.fds-layout--list .fds-grid-item,
#fds-listing-grid.fds-layout--list .fds-grid-item { display: none !important; }
.listing-grid.fds-layout--list .fds-list-row,
#fds-listing-grid.fds-layout--list .fds-list-row  { display: flex !important; }
.listing-grid.fds-layout--list .listing-grid__ad.fds-grid-item,
#fds-listing-grid.fds-layout--list .listing-grid__ad.fds-grid-item { display: block !important; }

/* ── List row ───────────────────────────────────────────────────────────── */
.fds-list-row {
  display: none; /* shown only in list mode */
  align-items: center;
  gap: 1rem;
  padding: .875rem 1rem;
  background: #fff;
  border-bottom: 1px solid #F3F4F6;
  text-decoration: none;
  transition: background .12s;
}
.fds-list-row:first-of-type { border-top: 1.5px solid #E5E7EB; border-radius: 12px 12px 0 0; }
.fds-list-row:last-of-type  { border-radius: 0 0 12px 12px; border-bottom: 1.5px solid #E5E7EB; }
.fds-list-row:hover { background: #F4FBF7; }

.fds-list-row__img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #E8F4EE;
}
.fds-list-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fds-list-row__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.fds-list-row__body { flex: 1; min-width: 0; }
.fds-list-row__name {
  font-size: .95rem;
  font-weight: 700;
  color: #1F2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.fds-list-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: #6B7280;
}
.fds-list-row__special {
  font-size: .78rem;
  color: #92400E;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fds-list-row__status {
  font-size: .72rem !important;
  padding: 3px 9px !important;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .fds-list-row { gap: .65rem; padding: .75rem .875rem; }
  .fds-list-row__img { width: 44px; height: 44px; }
  .fds-list-row__meta { display: none; }
  /* On mobile replace the full status badge with a colour dot only */
  .fds-list-row__status {
    font-size: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    width: 11px;
    height: 11px;
    border-radius: 50% !important;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
  }
  /* Colour dot uses the badge background colour via a pseudo-element */
  .fds-list-row__status::before {
    content: '';
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: currentColor;
  }
  /* Tooltip on tap — uses the title attribute */
  .fds-list-row__status[title]:focus::after,
  .fds-list-row__status[title]:active::after {
    content: attr(title);
    position: absolute;
    right: 0;
    top: 18px;
    background: #1F2937;
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
  }
}

/* ── Price indicator — list row ─────────────────────────────────────────── */
.fds-list-row__price {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: .8rem;
  color: var(--fds-green, #1B4332);
  background: #E8F4EE;
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: .02em;
}

/* ── Price indicator — single listing sidebar ───────────────────────────── */
.sidebar-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fds-green, #1B4332);
  letter-spacing: .04em;
}

/* ── Price badge — single listing page (below status banner) ────────────── */
.listing-price-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fds-green, #1B4332);
  background: #E8F4EE;
  border: 1.5px solid rgba(45,106,79,.2);
  border-radius: 8px;
  padding: .4rem .9rem;
  margin-bottom: .6rem;
  letter-spacing: .04em;
}
.listing-price-badge__label {
  font-size: .78rem;
  font-weight: 500;
  color: #6B7280;
  letter-spacing: 0;
}

/* ── Map overlay — search + category select ─────────────────────────────── */
.fds-map-search-overlay {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 2rem);
  max-width: 620px;
  pointer-events: none;
}
.fds-map-search-overlay__inner {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  padding: 8px 10px;
  pointer-events: auto;
}
.fds-map-search-overlay__field {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.fds-map-search-overlay__icon { font-size: .9rem; flex-shrink: 0; color: #9CA3AF; }
.fds-map-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .88rem;
  color: #1F2937;
  background: transparent;
  min-width: 0;
}
.fds-map-search-input::placeholder { color: #9CA3AF; }
.fds-map-cat-select {
  border: none;
  border-left: 1.5px solid #E5E7EB;
  padding: 0 .5rem 0 .75rem;
  font-size: .82rem;
  color: #374151;
  background: #fff;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  max-width: 180px;
}
@media (max-width: 540px) {
  .fds-map-search-overlay { top: 8px; }
  .fds-map-search-overlay__inner { flex-direction: column; padding: 8px; gap: 6px; }
  .fds-map-cat-select { border-left: none; border-top: 1.5px solid #E5E7EB; padding: .4rem 0; max-width: 100%; }
}

/* ── Claim listing — progressive search autocomplete ───────────────────── */
.fds-claim-search { position: relative; }
.fds-claim-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 9000;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.fds-claim-suggestions__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  cursor: pointer;
  transition: background .1s;
  flex-wrap: wrap;
}
.fds-claim-suggestions__item:hover,
.fds-claim-suggestions__item[aria-selected="true"] {
  background: #F4FBF7;
}
.fds-claim-suggestions__name {
  font-size: .9rem;
  font-weight: 600;
  color: #1F2937;
  flex: 1;
  min-width: 0;
}
.fds-claim-suggestions__meta {
  font-size: .75rem;
  color: #9CA3AF;
  flex-shrink: 0;
}
.fds-claim-suggestions__claimed {
  font-size: .68rem;
  font-weight: 700;
  background: #FEE2E2;
  color: #991B1B;
  border-radius: 20px;
  padding: 1px 7px;
  flex-shrink: 0;
}
.fds-claim-suggestions__none {
  padding: .75rem 1rem;
  font-size: .85rem;
  color: #9CA3AF;
  font-style: italic;
}

/* ── Hero search autocomplete dropdown ─────────────────────────────────── */
.fds-hero-search-wrap { position: relative; width: 100%; }

.fds-hero-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  z-index: 9999;
  max-height: 420px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  border: 1.5px solid #E5E7EB;
}

.fds-hero-suggestions__item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .65rem 1rem;
  cursor: pointer;
  transition: background .1s;
  text-decoration: none;
}
.fds-hero-suggestions__item:hover,
.fds-hero-suggestions__item[aria-selected="true"] {
  background: #F4FBF7;
}
.fds-hero-sug__img {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  background: #E8F4EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.fds-hero-sug__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fds-hero-sug__body { flex: 1; min-width: 0; }
.fds-hero-sug__name {
  font-size: .9rem;
  font-weight: 700;
  color: #1F2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fds-hero-sug__name mark {
  background: #FEF08A;
  color: #1F2937;
  border-radius: 2px;
  padding: 0 1px;
}
.fds-hero-sug__meta {
  display: flex;
  gap: .5rem;
  font-size: .75rem;
  color: #9CA3AF;
  margin-top: 2px;
  flex-wrap: wrap;
}
.fds-hero-sug__status {
  font-size: .68rem !important;
  padding: 2px 8px !important;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;
}

.fds-hero-suggestions__none {
  padding: .875rem 1rem;
  font-size: .85rem;
  color: #9CA3AF;
  font-style: italic;
}
.fds-hero-suggestions__footer {
  border-top: 1px solid #F3F4F6;
  padding: .6rem 1rem;
}
.fds-hero-suggestions__footer a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--fds-green, #2D6A4F);
  text-decoration: none;
}
.fds-hero-suggestions__footer a:hover { text-decoration: underline; }

/* ── Recently viewed listings ───────────────────────────────────────────── */
.fds-recently-viewed-wrap {
  margin-top: 2rem;
  padding: 1.5rem 0 2rem;
  background: #F9FAFB;
  border-top: 1.5px solid #E5E7EB;
}
.fds-recently-viewed__title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9CA3AF;
  margin: 0 0 .875rem;
}
.fds-recently-viewed__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
@media (max-width: 600px) {
  .fds-recently-viewed__list { grid-template-columns: repeat(2, 1fr); }
}
.fds-rv-item {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-decoration: none;
  border: 1.5px solid #F3F4F6;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .12s, box-shadow .12s;
}
.fds-rv-item:hover {
  border-color: #C6E6D4;
  box-shadow: 0 2px 8px rgba(45,106,79,.1);
}
.fds-rv-item__img {
  width: 100%;
  aspect-ratio: 16/9;
  background: #E8F4EE;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.fds-rv-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fds-rv-item__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: #E8F4EE;
}
.fds-rv-item__body { padding: .4rem .6rem .5rem; }
.fds-rv-item__name {
  font-size: .8rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fds-rv-item__meta {
  font-size: .7rem;
  color: #9CA3AF;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ════════════════════════════════════════════════════════════════════════════
   PREMIUM QUICK UPDATE PAGE — [fds_premium_quick]
   ════════════════════════════════════════════════════════════════════════════ */
.fds-pq-page { max-width: 720px; margin: 0 auto; padding: 1.5rem 0 3rem; }

/* Listing selector (multi-listing users) */
.fds-pq-selector {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.fds-pq-selector__btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
  min-width: 200px;
}
.fds-pq-selector__btn img,
.fds-pq-selector__btn span:first-child {
  width: 40px; height: 40px;
  border-radius: 6px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: #E8F4EE;
  flex-shrink: 0;
}
.fds-pq-selector__btn.active { border-color: var(--fds-green, #2D6A4F); background: #F4FBF7; }
.fds-pq-selector__name { font-size: .88rem; font-weight: 700; color: #1F2937; }
.fds-pq-selector__tier { font-size: .72rem; color: #C8861A; font-weight: 600; }

/* Panels */
.fds-pq-panel { display: none; }
.fds-pq-panel--active { display: block; }

/* Header */
.fds-pq-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  color: #fff;
  flex-wrap: wrap;
}
.fds-pq-header__img {
  width: 64px; height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.fds-pq-header__placeholder {
  width: 64px; height: 64px;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.fds-pq-header__info { flex: 1; min-width: 0; }
.fds-pq-header__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .25rem;
  font-family: 'Fraunces', serif;
}
.fds-pq-header__meta { font-size: .82rem; color: rgba(255,255,255,.75); }
.fds-pq-header__hours { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 3px; }
.fds-pq-header__view {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}
.fds-pq-header__view:hover { color: #fff; }

/* Sections */
.fds-pq-section {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.fds-pq-section__title {
  font-size: .95rem;
  font-weight: 800;
  color: #1B4332;
  margin: 0 0 .3rem;
  font-family: 'Fraunces', serif;
}
.fds-pq-section__desc {
  font-size: .8rem;
  color: #9CA3AF;
  margin: 0 0 1rem;
  line-height: 1.5;
}

/* Status grid */
.fds-pq-status-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.fds-pq-status-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: .65rem .75rem;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
  min-width: 72px;
  flex: 1;
}
.fds-pq-status-btn:hover { transform: translateY(-2px); border-color: var(--pq-col, #2D6A4F); }
.fds-pq-status-btn--active {
  border-color: var(--pq-col, #2D6A4F);
  background: color-mix(in srgb, var(--pq-col, #2D6A4F) 10%, #fff);
}
.fds-pq-status-btn__icon { font-size: 1.3rem; line-height: 1; }
.fds-pq-status-btn__label { font-size: .68rem; font-weight: 700; color: #374151; text-align: center; line-height: 1.2; }

/* Field row */
.fds-pq-field-row {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.fds-pq-input {
  flex: 1;
  min-width: 0;
  padding: .6rem .875rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  font-size: .9rem;
  color: #1F2937;
  background: #fff;
  outline: none;
  transition: border-color .15s;
}
.fds-pq-input:focus { border-color: var(--fds-green, #2D6A4F); box-shadow: 0 0 0 3px rgba(45,106,79,.1); }
.fds-pq-field-row__actions { display: flex; gap: .4rem; }
.fds-pq-save-btn {
  padding: .55rem 1rem;
  background: var(--fds-green, #1B4332);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}
.fds-pq-save-btn:hover { opacity: .88; }
.fds-pq-clear-btn {
  padding: .55rem .75rem;
  background: #F3F4F6;
  color: #6B7280;
  border: none;
  border-radius: 7px;
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s;
}
.fds-pq-clear-btn:hover { background: #E5E7EB; }

/* Price picker */
.fds-pq-price-picker { display: flex; gap: .5rem; }
.fds-pq-price-btn {
  flex: 1;
  padding: .65rem;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  background: #fff;
  font-size: .95rem;
  font-weight: 800;
  color: #374151;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s;
}
.fds-pq-price-btn:hover { border-color: #C8861A; color: #C8861A; }
.fds-pq-price-btn--active { border-color: #C8861A; background: #FEF3C7; color: #92400E; }

/* Products & services grid */
.fds-pq-ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
/* Speciality is the first child — full width centred */
.fds-pq-ps-grid > div:first-child {
  grid-column: 1 / -1;
  text-align: center;
}
.fds-pq-ps-grid > div:first-child .fds-pq-input {
  max-width: 480px;
  margin: 0 auto;
  display: block;
}
.fds-pq-ps-grid > div:first-child .fds-pq-ps-label {
  display: block;
  text-align: center;
}
.fds-pq-ps-label { font-size: .75rem; font-weight: 700; color: #6B7280; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: .3rem; }
.fds-pq-save-ps-btn {
  padding: .6rem 1.25rem;
  background: var(--fds-green, #1B4332);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
}
.fds-pq-save-ps-btn:hover { opacity: .88; }

/* Toast */
.fds-pq-toast {
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .75rem;
  border-radius: 6px;
  margin-top: .65rem;
  display: none;
}
.fds-pq-toast--show { display: block; }
.fds-pq-toast--ok { background: #DCFCE7; color: #166534; }
.fds-pq-toast--err { background: #FEE2E2; color: #991B1B; }

/* ── Quick Update — Mobile location section ──────────────────────────────── */
.fds-pq-loc-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: .75rem;
}
.fds-pq-loc-toggle__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: .7rem .85rem;
  border: 1.5px solid var(--fds-border, #E5E7EB);
  border-radius: 9px;
  cursor: pointer;
  background: #FFFFFF;
  position: relative;
  transition: border-color .15s, background .15s;
}
.fds-pq-loc-toggle__option input[type="radio"] {
  position: absolute;
  top: .7rem;
  right: .8rem;
  margin: 0;
}
.fds-pq-loc-toggle__option.is-active {
  border-color: #7C3AED;
  background: #F5F3FF;
}
.fds-pq-loc-toggle__icon { font-size: 1.25rem; }
.fds-pq-loc-toggle__label { font-weight: 700; font-size: .85rem; color: #1F2937; }
.fds-pq-loc-toggle__desc { font-size: .72rem; color: #6B7280; line-height: 1.35; }
.fds-pq-loc-status { margin-bottom: .6rem; }
.fds-pq-loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.fds-pq-loc-badge--live { background: #DCFCE7; color: #166534; }
.fds-pq-loc-badge--off  { background: #F3F4F6; color: #6B7280; }
.fds-pq-loc-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.fds-pq-loc-share-btn {
  background: #7C3AED;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.fds-pq-loc-share-btn:hover { background: #6D28D9; }
.fds-pq-loc-share-btn:disabled { opacity: .6; cursor: wait; }
.fds-pq-loc-stop-btn {
  background: #FEE2E2;
  color: #991B1B;
  border: 1.5px solid #FCA5A5;
  border-radius: 8px;
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  width: 100%;
  text-align: center;
}
.fds-pq-loc-stop-btn:hover { background: #DC2626; color: #FFFFFF; border-color: #DC2626; }
.fds-pq-loc-stop-btn:disabled { opacity: .6; cursor: wait; }
.fds-pq-loc-duration {
  padding: .5rem .65rem;
  border-radius: 8px;
  border: 1px solid var(--fds-border, #E5E7EB);
  font-size: .82rem;
}
@media (max-width: 600px) {
  .fds-pq-loc-toggle { grid-template-columns: 1fr; }
  .fds-pq-loc-actions { flex-direction: column; align-items: stretch; }
}

/* Footer */
.fds-pq-footer {
  margin-top: .5rem;
  text-align: center;
}
.fds-pq-footer a { font-size: .85rem; color: #9CA3AF; text-decoration: none; }
.fds-pq-footer a:hover { color: var(--fds-green, #2D6A4F); }

@media (max-width: 540px) {
  .fds-pq-status-grid { grid-template-columns: repeat(3, 1fr); }
  .fds-pq-ps-grid { grid-template-columns: 1fr; }
  .fds-pq-ps-grid > div:first-child .fds-pq-input { max-width: 100%; }
  .fds-pq-price-picker { flex-wrap: wrap; }
  .fds-pq-section { padding: 1rem; }
  .fds-pq-header { padding: 1rem; }
}

/* ── [fds_listings] shortcode toolbar ──────────────────────────────────── */
.fds-sc-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: .75rem;
}

/* ── Contact form listing autocomplete ──────────────────────────────────── */
.fds-cl-search { position: relative; }
.fds-cl-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 9999;
  max-height: 300px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.fds-cl-suggestions__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  cursor: pointer;
  background: #ffffff;
  transition: background .1s;
  flex-wrap: wrap;
}
.fds-cl-suggestions__item:hover,
.fds-cl-suggestions__item[aria-selected="true"] {
  background: #F4FBF7;
}
.fds-cl-sug__name {
  font-size: .9rem;
  font-weight: 600;
  color: #1F2937;
  flex: 1;
  min-width: 0;
}
.fds-cl-sug__meta {
  font-size: .75rem;
  color: #9CA3AF;
  flex-shrink: 0;
}
.fds-cl-suggestions__none {
  padding: .75rem 1rem;
  font-size: .85rem;
  color: #9CA3AF;
  font-style: italic;
  background: #ffffff;
}

/* ── Map results list — layout toggle in header ─────────────────────────── */
.fds-map-list__header {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.fds-map-list__toggle {
  margin-left: auto;
  flex-shrink: 0;
}
/* List mode — vertical rows instead of horizontal scroll cards */
.fds-map-list__items:not(.fds-map-list__items--row) {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 480px;
  overflow-y: auto;
}
.fds-map-list__items:not(.fds-map-list__items--row) .fds-map-list__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .875rem;
  border-bottom: 1px solid #F3F4F6;
  cursor: pointer;
  width: 100%;
  background: #fff;
  transition: background .1s;
}
.fds-map-list__items:not(.fds-map-list__items--row) .fds-map-list__item:hover {
  background: #F4FBF7;
}

/* ── Premium Quick — listing picker (multi-listing selector screen) ─────── */
.fds-pq-picker { margin-bottom: 1.5rem; }
.fds-pq-picker--hidden { display: none; }
.fds-pq-picker__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1B4332;
  margin: 0 0 1rem;
  font-family: 'Fraunces', serif;
}
.fds-pq-picker__grid {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.fds-pq-picker__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .875rem 1.125rem;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.fds-pq-picker__card:hover {
  border-color: var(--fds-green, #2D6A4F);
  background: #F4FBF7;
  box-shadow: 0 2px 12px rgba(45,106,79,.1);
}
.fds-pq-picker__img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #E8F4EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.fds-pq-picker__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fds-pq-picker__body { flex: 1; min-width: 0; }
.fds-pq-picker__name {
  font-size: .95rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fds-pq-picker__meta {
  font-size: .78rem;
  color: #9CA3AF;
  margin-bottom: 4px;
}
.fds-pq-picker__status {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: #374151;
  font-weight: 600;
}
.fds-pq-picker__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fds-pq-picker__arrow {
  font-size: 1.25rem;
  color: #D1D5DB;
  flex-shrink: 0;
  transition: color .15s, transform .15s;
}
.fds-pq-picker__card:hover .fds-pq-picker__arrow {
  color: var(--fds-green, #2D6A4F);
  transform: translateX(3px);
}

/* Back button */
.fds-pq-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .875rem;
  background: #F3F4F6;
  border: none;
  border-radius: 7px;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: background .12s;
}
.fds-pq-back:hover { background: #E5E7EB; }
.fds-pq-back--hidden { display: none; }

/* ── Map pin wrapper — must have pointer-events:auto so Leaflet receives clicks ── */
.fds-map-pin-wrap {
  pointer-events: auto !important;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
}
.leaflet-div-icon.fds-map-pin-wrap {
  pointer-events: auto !important;
}

/* ── Leaflet divIcon click fix — must override Leaflet's own stylesheet ─── */
/* Leaflet sets pointer-events:none on .leaflet-div-icon by default,
   which prevents all click events on custom div icons. */
.leaflet-marker-icon.leaflet-div-icon,
.leaflet-marker-icon.fds-map-pin-wrap,
.leaflet-div-icon.fds-map-pin-wrap {
  pointer-events: auto !important;
  cursor: pointer !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
/* Ensure the popup wrapper itself is always interactive */
.leaflet-popup-content-wrapper,
.leaflet-popup-content {
  pointer-events: auto !important;
}
/* Prevent popup tip from blocking clicks */
.leaflet-popup-tip-container {
  pointer-events: none;
}

/* ── Is this your business? — community listing bottom prompt ──────────── */
.fds-claim-prompt {
  background: #FEF3E2;
  border-top: 3px solid #C8861A;
  padding: 2rem 0;
  margin-top: 2.5rem;
}
.fds-claim-prompt__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.fds-claim-prompt__icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.fds-claim-prompt__body {
  flex: 1;
  min-width: 0;
}
.fds-claim-prompt__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #92400E;
  margin: 0 0 .35rem;
}
.fds-claim-prompt__text {
  font-size: .9rem;
  color: #B45309;
  margin: 0;
  line-height: 1.5;
}
.fds-claim-prompt__btn {
  display: inline-block;
  background: #C8861A;
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.4rem;
  border-radius: 7px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
  text-decoration: none;
}
.fds-claim-prompt__btn:hover { background: #92400E; }
@media (max-width: 600px) {
  .fds-claim-prompt__inner { flex-direction: column; text-align: center; }
  .fds-claim-prompt__btn { width: 100%; text-align: center; }
}

/* ── Archive search bar ─────────────────────────────────────────────────── */
.archive-search-bar {
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  padding: .875rem 0;
}
.archive-search-bar__inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  padding: .55rem .875rem;
  transition: border-color .15s, box-shadow .15s;
}
.archive-search-bar__inner:focus-within {
  border-color: var(--fds-green, #2D6A4F);
  box-shadow: 0 0 0 3px rgba(45,106,79,.1);
}
.archive-search-bar__icon { font-size: 1rem; flex-shrink: 0; color: #9CA3AF; }
.archive-search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .95rem;
  color: #1F2937;
  background: transparent;
  min-width: 0;
}
.archive-search-bar__input::placeholder { color: #9CA3AF; }
.archive-search-bar__clear {
  background: none;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.archive-search-bar__clear:hover { color: #374151; }

/* ── Single listing map + travel time ──────────────────────────────────── */
.fds-listing-map__travel {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #F4FBF7;
  border: 1px solid #D1FAE5;
  border-radius: 0 0 8px 8px;
  padding: .6rem 1rem;
  font-size: .875rem;
}
.fds-listing-map__travel-icon { font-size: 1rem; flex-shrink: 0; }
.fds-listing-map__travel-label { color: #6B7280; flex-shrink: 0; }
.fds-listing-map__travel-time {
  font-weight: 800;
  color: #1B4332;
  font-size: 1rem;
  flex: 1;
}
.fds-listing-map__directions {
  font-size: .8rem;
  font-weight: 700;
  color: #2D6A4F;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.fds-listing-map__directions:hover { text-decoration: underline; }

/* ── Featured badges ────────────────────────────────────────────────────── */
/* Card and list row — small star beside name */
.listing-card__featured-badge {
  display: inline-block;
  font-size: .75rem;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1;
}
/* Single listing hero */
.listing-hero__featured {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 10px;
  vertical-align: middle;
  letter-spacing: .04em;
}
/* Front page featured row badge — tier-aware colours */
.fds-feat-row__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}
.fds-feat-row__badge--community {
  background: #FEF3E2;
  color: #92400E;
  border: 1px solid #C8861A;
}
.fds-feat-row__badge--standard {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.fds-feat-row__badge--premium {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}
.fds-feat-row__badge--featured {
  background: #FEF9C3;
  color: #854D0E;
  border: 1px solid #FCD34D;
}

/* ── Availabl live signal indicator ────────────────────────────────────────
   Applied to listing cards and map pins when _fds_currency_rating is live.
   Visually distinguishes real-time Availabl data from hours-derived status.
   Colour: #059669 (Availabl teal-green) vs #6EBA7F (hours-only sage green)
   ─────────────────────────────────────────────────────────────────────── */
.listing-card--live .listing-card__status.status-available,
.listing-card--live .listing-card__status.status-filling,
.listing-card--live .listing-card__status.status-wait,
.listing-card--live .listing-card__status.status-full {
  box-shadow: 0 0 0 2px rgba(5,150,105,.25);
}
/* Live dot pulse — shown on map pins and status badges for live-linked listings */
.fds-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #059669;
  margin-right: 5px;
  flex-shrink: 0;
  animation: fds-pin-pulse 2s ease-out infinite;
}

/* Status colour reference
   #059669  Available (Availabl live)   — teal-green, distinct, live signal
   #6EBA7F  Open (hours only)           — sage green, muted, no live signal
   #7C3AED  By appointment              — violet
   #84CC16  Filling up                  — yellow-green
   #EAB308  Wait                        — amber
   #EF4444  Full                        — red
   #374151  Closed                      — dark charcoal
   #9CA3AF  Inactive                    — grey
*/

/* ── Map search bar — above the map ────────────────────────────────────── */
.fds-map-search-bar {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: .6rem .75rem;
  position: relative;
  z-index: 10;
  /* Constrain to page content width when wrap is fullwidth */
  max-width: var(--container, 1200px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.fds-map-search-bar__inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #F9FAFB;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  padding: .45rem .75rem;
  transition: border-color .15s;
}
.fds-map-search-bar__inner:focus-within {
  border-color: var(--fds-green, #2D6A4F);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,106,79,.1);
}
.fds-map-search-bar__clear {
  background: none;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  font-size: .85rem;
  padding: 0 2px;
  flex-shrink: 0;
  line-height: 1;
}
.fds-map-search-bar__clear:hover { color: #374151; }
.fds-map-search-bar__icon { font-size: .9rem; color: #9CA3AF; flex-shrink: 0; }
.fds-map-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: .9rem;
  color: #1F2937;
  min-width: 0;
}
.fds-map-cat-select {
  border: none;
  outline: none;
  background: transparent;
  font-size: .85rem;
  color: #374151;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Listing address — shown below map in Address accordion ─────────────── */
.listing-address {
  margin-top: .75rem;
  padding: .65rem .875rem;
  background: #F9FAFB;
  border-radius: 7px;
  font-size: .9rem;
  color: #374151;
  font-weight: 500;
  border: 1px solid #E5E7EB;
}
.listing-address--mobile {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1E3A8A;
}

/* ── Submit/Edit form — Location type toggle ─────────────────────────────── */
.fds-location-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: .5rem;
}
.fds-location-toggle__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: .85rem 1rem;
  border: 1.5px solid var(--fds-border, #E5E7EB);
  border-radius: 10px;
  cursor: pointer;
  background: #FFFFFF;
  transition: border-color .15s, background .15s;
  position: relative;
}
.fds-location-toggle__option input[type="radio"] {
  position: absolute;
  top: .85rem;
  right: 1rem;
  margin: 0;
}
.fds-location-toggle__option.is-active {
  border-color: var(--fds-green, #2D6A4F);
  background: #F4FBF7;
}
.fds-location-toggle__icon { font-size: 1.4rem; }
.fds-location-toggle__label { font-weight: 700; font-size: .9rem; color: #1F2937; }
.fds-location-toggle__desc { font-size: .76rem; color: #6B7280; line-height: 1.4; }
@media (max-width: 600px) {
  .fds-location-toggle { grid-template-columns: 1fr; }
}

/* ── Mobile — Browse Directory + All Listings ──────────────────────────── */
@media (max-width: 640px) {
  /* Search bar full width, compact on mobile */
  .fds-map-search-bar { padding: .5rem .75rem; }
  .fds-map-search-bar__inner { padding: .4rem .65rem; }
  .fds-map-search-input { font-size: .85rem; }
  .fds-map-cat-select { font-size: .8rem; max-width: 110px; }

  /* Directory category pills — smaller on mobile */
  .fds-dir-filter__btn { font-size: .78rem; padding: 5px 10px; }
  .fds-dir-filter__count { font-size: .68rem; }

  /* Card grid — 1 column on mobile */
  .listing-grid.fds-layout--grid,
  #fds-listing-grid.fds-layout--grid {
    grid-template-columns: 1fr !important;
  }

  /* List rows — keep image, drop meta, dot status */
  .fds-list-row { padding: .65rem .75rem; gap: .6rem; }
  .fds-list-row__name { font-size: .9rem; }

  /* Archive search bar compact */
  .archive-search-bar { padding: .5rem .75rem; }
  .archive-search-bar__inner { padding: .4rem .65rem; }
  .archive-search-bar__input { font-size: .85rem; }
}

/* ── Hours help bubble tooltip ────────────────────────────────────────────── */
.fds-help-bubble {
  display: inline-block;
  position: relative;
  margin-left: 6px;
  vertical-align: middle;
  cursor: help;
}
.fds-help-bubble__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #065F46;
  font-size: 11px;
  font-weight: 700;
  border: 1.5px solid #6EE7B7;
  line-height: 1;
  user-select: none;
}
.fds-help-bubble__tooltip {
  display: none;
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: #1F2937;
  color: #F9FAFB;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.55;
  padding: 10px 13px;
  border-radius: 8px;
  width: 280px;
  z-index: 999;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.fds-help-bubble__tooltip code {
  background: #374151;
  color: #6EE7B7;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: .76rem;
}
.fds-help-bubble__tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #1F2937;
}
/* Show on hover or focus */
.fds-help-bubble:hover .fds-help-bubble__tooltip,
.fds-help-bubble__icon:focus + .fds-help-bubble__tooltip {
  display: block;
}
/* Mobile: show above */
@media (max-width: 600px) {
  .fds-help-bubble__tooltip {
    left: 50%;
    top: auto;
    bottom: 26px;
    transform: translateX(-50%);
    width: 240px;
  }
  .fds-help-bubble__tooltip::before {
    right: auto;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-right-color: transparent;
    border-top-color: #1F2937;
    border-bottom: none;
  }
}

/* ═══ Sidebar layout — stacks on mobile ═══════════════════════════════ */
.fds-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 700px) {
  .fds-sidebar-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ═══ Today's Specials toggle button ══════════════════════════════════ */
.fds-specials-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #92400E;
  background: #FEF3E2;
  border: 1.5px solid #F59E0B;
  border-radius: 20px;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.fds-specials-toggle:hover { background: #FDE68A; }
.fds-specials-toggle.active {
  background: #F59E0B;
  color: #ffffff;
  border-color: #D97706;
}

/* ═══ Preferred contact badge on listing card ═════════════════════════ */
.listing-card__pref-contact {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #166534;
  background: #F0FDF4;
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 6px;
  white-space: nowrap;
  vertical-align: middle;
}

/* ═══ Tier badge — stays on image ═════════════════════════════════════ */
.listing-card__tier-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400E;
  background: rgba(251, 191, 36, 0.9);
  z-index: 2;
}

/* ═══ Trust tier badge — listing card and detail page ═════════════════ */
.listing-card__trust {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  white-space: nowrap;
}
.listing-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
}

/* ═══ Listing hero info badges ════════════════════════════════════════ */
.listing-hero__role,
.listing-hero__pref,
.listing-hero__google-rank {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: middle;
}
.listing-hero__pref {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.listing-hero__role {
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.listing-hero__google-rank {
  background: rgba(59,130,246,0.3);
  color: #fff;
}

/* ═══ Near Me — visitor geolocation controls ══════════════════════════ */
.fds-map-nearme {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.fds-map-nearme__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1D4ED8;
  background: #EFF6FF;
  border: 1.5px solid #93C5FD;
  border-radius: 20px;
  cursor: pointer;
  transition: background .15s;
}
.fds-map-nearme__btn:hover { background: #DBEAFE; }
.fds-map-nearme__radius {
  padding: 4px 8px;
  font-size: 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: #fff;
}
.fds-map-nearme__clear {
  padding: 4px 10px;
  font-size: 12px;
  color: #6B7280;
  background: #F3F4F6;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  cursor: pointer;
}
.fds-map-nearme__clear:hover { background: #E5E7EB; }
.fds-map-nearme__status {
  font-size: 12px;
  color: #6B7280;
}

/* ═══ Feature/amenity tag pills ═══════════════════════════════════════ */
.listing-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}
.listing-card__tag {
  font-size: 10px;
  font-weight: 600;
  color: #4B5563;
  background: #F3F4F6;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.listing-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.listing-hero__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 9999px;
  text-decoration: none;
}
.listing-hero__tag:hover { background: rgba(255,255,255,0.35); }
