/* =====================================================
   LOCAL DIRECTORY — Stylesheet v2
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
img { max-width: 100%; }

:root {
  --brand:         #4F46E5;
  --brand-dark:    #4338CA;
  --brand-light:   #EEF2FF;
  --brand-muted:   #818CF8;
  --accent:        #F59E0B;
  --accent-dark:   #D97706;
  --accent-light:  #FEF3C7;
  --fb:            #1877F2;
  --fb-dark:       #1464D2;
  --success:       #059669;
  --success-light: #D1FAE5;
  --warning:       #D97706;
  --warning-light: #FEF3C7;
  --error:         #DC2626;
  --error-light:   #FEE2E2;
  --bg:            #F1F3F8;
  --surface:       #FFFFFF;
  --surface-2:     #F9FAFB;
  --border:        #E5E7EB;
  --border-strong: #D1D5DB;
  --text:          #111827;
  --text-2:        #374151;
  --muted:         #6B7280;
  --muted-2:       #9CA3AF;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     16px;
  --shadow-xs:     0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:     0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-md:     0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-lg:     0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --t:             150ms ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main { flex: 1; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

/* ── Header ── */
.site-header {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(229,231,235,.8);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; height: 66px; gap: 8px; }

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.02em;
  margin-right: 8px;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.25rem; }

.main-nav { display: flex; gap: 2px; flex: 1; }
.main-nav a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}
.main-nav a:hover { background: var(--bg); color: var(--text); }
.main-nav a.active { background: var(--brand-light); color: var(--brand); font-weight: 600; }
.main-nav a.nav-join { color: var(--brand); border: 1px solid #C7D2FE; }
.main-nav a.nav-join:hover { background: var(--brand-light); }

.header-auth { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.user-name { font-weight: 600; font-size: .875rem; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: .69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.badge-member   { background: var(--brand-light); color: var(--brand); }
.badge-business { background: var(--accent-light); color: #78350F; }
.badge-club     { background: #EDE9FE; color: #5B21B6; }
.badge-job      { background: #ECFDF5; color: #065F46; }
.badge-pending  { background: var(--warning-light); color: #92400E; }
.badge-active   { background: var(--success-light); color: #064E3B; }
.badge-rejected { background: var(--error-light); color: #7F1D1D; }
.badge-graig    { background: #dcfce7; color: #166534; }

/* ── Listing image ── */
.listing-image {
  width: auto;
  max-width: 200px;
  max-height: 160px;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  display: block;
}

/* ── Recommendations ── */
.recommendations { margin-top: 32px; }
.recommendation-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.recommendation-item:last-child { border-bottom: none; }
.rec-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.rec-body { font-size: .9rem; line-height: 1.6; margin-top: 4px; color: var(--text-2); }
.rec-meta { font-size: .8rem; color: var(--muted); }

/* ── My Listings table ── */
.my-listings-table { width: 100%; border-collapse: collapse; }
.my-listings-table th { text-align: left; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 2px solid var(--border); }
.my-listings-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: .9rem; }
.my-listings-table tr:last-child td { border-bottom: none; }

/* Section heading */
.section-heading { font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; color: var(--text); }

/* Community gallery — carousel */
.gallery-section { background: var(--surface); padding: 48px 0; border-top: 1px solid var(--border); }
.gallery-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
  flex: 0 0 calc(33.333% - 8px);
  scroll-snap-align: start;
}
@media (max-width: 960px) {
  .gallery-item { flex: 0 0 calc(50% - 6px); }
}
@media (max-width: 700px) {
  .gallery-item { flex: 0 0 90%; }
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); padding: 28px 10px 8px; }
.gallery-caption { color: #fff; font-size: .78rem; line-height: 1.3; }
.gallery-credit { color: rgba(255,255,255,.55); font-size: .68rem; margin-top: 3px; }
.gallery-nav { display: flex; gap: 8px; }
.gallery-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
  box-shadow: var(--shadow-xs);
}
.gallery-btn:hover { background: var(--bg); border-color: var(--border-strong); }

/* Gallery admin grid */
.gallery-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.gallery-admin-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.gallery-admin-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery-admin-caption { font-size: .8rem; color: var(--text-2); padding: 8px 10px 4px; }

/* Hours picker (form) */
.hours-picker { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.hours-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: .84rem; }
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; width: 82px; flex-shrink: 0; color: var(--text-2); }
.hours-times { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hours-times input[type=time] { width: 82px; min-width: 0; border: 1px solid var(--border-strong); border-radius: 6px; padding: 3px 6px; font-size: .82rem; color: var(--text); background: var(--surface); }
.hours-sep { color: var(--muted); flex-shrink: 0; }
.hours-toggle { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .82rem; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.hours-toggle input { cursor: pointer; accent-color: var(--brand); }

/* Hours table (listing display) */
.hours-table { border-collapse: collapse; font-size: .875rem; width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 5px 0; }
.hours-day-col { font-weight: 600; color: var(--text-2); padding-right: 16px; min-width: 86px; }
.hours-today .hours-day-col { color: var(--brand); }
.hours-today td { font-weight: 700; }
.hours-closed-txt { color: var(--muted); font-style: italic; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79,70,229,.25), inset 0 1px 0 rgba(255,255,255,.1);
}
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 4px 12px rgba(79,70,229,.35); }
.btn-fb { background: var(--fb); color: #fff; box-shadow: 0 1px 2px rgba(24,119,242,.25); }
.btn-fb:hover { background: var(--fb-dark); box-shadow: 0 4px 12px rgba(24,119,242,.35); }
.btn-outline {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-sm { padding: 6px 13px; font-size: .8rem; }
.btn-danger { background: var(--error); color: #fff; box-shadow: 0 1px 2px rgba(220,38,38,.25); }
.btn-danger:hover { background: #B91C1C; }

/* ── Flash messages ── */
.flash { padding: 13px 0; font-size: .875rem; font-weight: 500; }
.flash .container { display: flex; align-items: center; gap: 10px; }
.flash-success { background: var(--success-light); color: #065F46; border-bottom: 1px solid #A7F3D0; }
.flash-warning { background: var(--warning-light); color: #92400E; border-bottom: 1px solid #FDE68A; }
.flash-error   { background: var(--error-light);   color: #991B1B; border-bottom: 1px solid #FECACA; }
.flash-info    { background: var(--brand-light);   color: var(--brand); border-bottom: 1px solid #C7D2FE; }

/* ── Hero ── */
.hero {
  background: #0d2b1e;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-banner {
  width: 100%;
  line-height: 0;
  text-align: center;
  padding-top: 20px;
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 700px) {
  .hero-banner img { max-width: 420px; width: auto; margin: 0 auto; }
}
.hero .container {
  padding-top: 20px;
  padding-bottom: 20px;
}
.hero-search {
  display: flex;
  max-width: 580px;
  margin: 0 auto 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  overflow: hidden;
}
.hero-search input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: transparent;
  outline: none;
  min-width: 0;
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search button {
  padding: 10px 22px;
  background: var(--brand);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background var(--t);
  font-family: inherit;
  margin: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}
.hero-search button:hover { background: var(--brand-dark); }
.hero-stats {
  display: inline-flex;
  gap: 22px;
  font-size: .8rem;
  opacity: .7;
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stats span { display: flex; align-items: center; gap: 6px; }
.hero-stats span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .65;
}

/* ── Filters ── */
.filters-wrap { padding: 4px 0 0; scroll-margin-top: 72px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 16px 0 6px; }
.filter-label { font-size: .73rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; margin-right: 2px; }

.filter-seg {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.filter-seg a {
  padding: 7px 18px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: all var(--t);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.filter-seg a:last-child { border-right: none; }
.filter-seg a:hover { background: var(--bg); color: var(--text); }
.filter-seg a.active { background: var(--brand); color: #fff; }

.filter-pill {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: .81rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.filter-pill:hover { background: var(--bg); border-color: var(--border-strong); color: var(--text); }
.filter-pill.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 1px 4px rgba(79,70,229,.3); }

/* ── Results meta ── */
.results-meta { font-size: .84rem; color: var(--muted); font-weight: 500; padding: 6px 0 2px; }

/* ── Grid ── */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; padding: 16px 0 60px; }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, transform .22s ease, border-color .15s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.card-top-accent { height: 3px; background: var(--border); flex-shrink: 0; }
.card.type-business .card-top-accent { background: linear-gradient(90deg, var(--accent) 0%, #FCD34D 100%); }
.card.type-job      .card-top-accent { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-muted) 100%); }
.card.is-featured {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-sm);
}
.card.is-featured:hover {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-md);
}
.card-body { padding: 18px 20px 14px; flex: 1; }
.card-meta { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.card-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  text-decoration: none;
  line-height: 1.4;
  letter-spacing: -.01em;
  transition: color var(--t);
}
.card-title:hover { color: var(--brand); }
.card-title::after { content: ''; position: absolute; inset: 0; }
.card-desc {
  color: var(--muted);
  font-size: .855rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  padding: 11px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  font-size: .79rem;
  color: var(--muted);
  background: var(--surface-2);
  flex-wrap: wrap;
}
.card-footer span { display: flex; align-items: center; gap: 4px; }

/* ── Detail page ── */
.detail-page { padding: 36px 0 72px; }
.detail-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 500;
  margin-bottom: 20px;
  transition: color var(--t);
}
.detail-breadcrumb:hover { color: var(--text); }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.detail-main { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.detail-main h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.detail-main .desc { margin-top: 22px; color: var(--text-2); line-height: 1.82; white-space: pre-wrap; }
.detail-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.sidebar-box h3 { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--muted-2); margin-bottom: 16px; }
.detail-row { display: flex; gap: 12px; margin-bottom: 12px; font-size: .875rem; align-items: flex-start; }
.detail-row:last-child { margin-bottom: 0; }
.detail-row strong { min-width: 90px; color: var(--muted); font-weight: 500; flex-shrink: 0; }
.detail-row a { color: var(--brand); text-decoration: none; }
.detail-row a:hover { text-decoration: underline; }

/* ── Forms ── */
.form-page { padding: 48px 0 72px; }
.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-box h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.form-box p.subtitle { color: var(--muted); margin-bottom: 30px; font-size: .9rem; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; font-size: .84rem; color: var(--text-2); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  appearance: auto;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: .79rem; color: var(--muted); margin-top: 5px; }
.form-value { margin: 0; padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.type-tabs { display: flex; gap: 12px; margin-bottom: 28px; }
.type-tab {
  flex: 1;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all var(--t);
  background: var(--surface);
}
.type-tab:hover { border-color: var(--border-strong); background: var(--surface-2); }
.type-tab.selected { border-color: var(--brand); background: var(--brand-light); }
.type-tab h3 { font-size: 1rem; margin-bottom: 3px; font-weight: 700; color: var(--text); }
.type-tab.selected h3 { color: var(--brand); }
.type-tab p { font-size: .79rem; color: var(--muted); }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 88px 20px; color: var(--muted); }
.empty-state .icon { font-size: 3.5rem; margin-bottom: 18px; opacity: .65; }
.empty-state h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* ── Footer ── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted); }
.footer-inner a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color var(--t); }
.footer-inner a:hover { color: var(--text); }

/* ── Admin ── */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 66px); }
.admin-nav { background: var(--surface); border-right: 1px solid var(--border); padding: 24px 0; }
.admin-nav a {
  display: block;
  padding: 9px 20px;
  font-size: .875rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--t);
  border-right: 2px solid transparent;
}
.admin-nav a:hover { background: var(--bg); color: var(--text); }
.admin-nav a.active { background: var(--brand-light); color: var(--brand); border-right-color: var(--brand); font-weight: 600; }
.admin-content { padding: 32px; }
.admin-content h1 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; letter-spacing: -.02em; }

.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th { background: var(--surface-2); padding: 11px 16px; text-align: left; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--border); }
.data-table td { padding: 13px 16px; font-size: .875rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-2); }
.data-table a { color: var(--brand); text-decoration: none; font-weight: 500; }
.data-table a:hover { text-decoration: underline; }

.action-links { display: flex; align-items: center; }
.action-links form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.action-links a,
.action-links button {
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: opacity var(--t);
}
.action-links a:hover,
.action-links button:hover { opacity: .65; }
.action-approve { color: var(--success); }
.action-reject  { color: var(--error); }
.action-delete  { color: var(--muted-2); }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-card .number { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; }
.stat-card .label { font-size: .77rem; color: var(--muted); margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

/* ── Features strip ── */
/* ── Group CTA ── */
.group-cta {
  background: #0d2b1e;
  color: #fff;
  padding: 52px 0;
}
.group-cta-inner { text-align: center; }
.group-cta-inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.group-cta-inner > p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  max-width: 520px;
  margin: 0 auto 36px;
}
.group-cta-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.group-cta-item {
  padding: 28px 20px;
  background: rgba(255,255,255,.04);
}
.group-cta-item:hover { background: rgba(255,255,255,.08); transition: background var(--t); }
.group-cta-icon { font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.group-cta-label { font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.group-cta-desc { font-size: .82rem; color: rgba(255,255,255,.58); line-height: 1.6; }
.group-cta-btn { padding: 13px 28px; font-size: .95rem; margin-bottom: 4px; }

.features { background: var(--surface); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-item { padding: 30px 28px; border-right: 1px solid var(--border); text-align: center; }
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 1.5rem; margin-bottom: 12px; }
.feature-title { font-size: .95rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; color: var(--text); }
.feature-desc { font-size: .84rem; color: var(--muted); line-height: 1.65; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-main { padding: 24px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}
/* Header two-row layout — applies in portrait AND landscape on phones */
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0 0; gap: 0; }
  .logo { order: 1; padding-bottom: 10px; }
  .header-auth { order: 2; margin-left: auto; padding-bottom: 10px; gap: 7px; }
  .main-nav { order: 3; flex: none; width: 100%; padding: 6px 0 8px; border-top: 1px solid var(--border); overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 700px) {
  .hero-search { border-radius: var(--radius-sm); }
  .hero-stats { gap: 14px; }
  .listings-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .group-cta-items { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-inner div { justify-content: center; }
  .my-listings-table th:nth-child(4),
  .my-listings-table td:nth-child(4) { display: none; }
  .detail-main { padding: 20px 16px; }
  .detail-main h1 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .form-box { padding: 24px 16px; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-content { padding: 20px 16px; }
  .btn-fb { font-size: .8rem; padding: 8px 12px; }
  .hero-search input { padding: 12px 14px; font-size: .9rem; }
  .hero-search button { padding: 8px 14px; font-size: .85rem; }
}
@media (min-width: 701px) and (max-width: 932px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Showcase strip ── */
.showcase-section { background: linear-gradient(135deg, var(--brand-light) 0%, #e0e7ff 100%); border-top: 1px solid #c7d2fe; border-bottom: 1px solid #c7d2fe; padding: 20px 0; }
.showcase-section-inner { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.showcase-section-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 3px 8px; border-radius: 20px; }
.showcase-section-heading { font-size: .95rem; font-weight: 700; color: var(--brand-dark); }
.showcase-cards { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.showcase-cards::-webkit-scrollbar { display: none; }
.showcase-cards-centered { justify-content: center; }
.showcase-card { flex: 0 0 260px; background: #fff; border-radius: var(--radius); border: 1px solid #c7d2fe; box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow var(--t), transform var(--t); display: flex; flex-direction: column; }
.showcase-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.showcase-card-img { width: 100%; height: 130px; object-fit: contain; background: var(--brand-light); }
.showcase-card-img-placeholder { width: 100%; height: 130px; background: linear-gradient(135deg, var(--brand-light), #c7d2fe); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.showcase-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.showcase-card-name { font-size: .75rem; font-weight: 600; color: var(--brand-dark); }
.showcase-card-headline { font-size: .875rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.showcase-card-cta { font-size: .78rem; color: var(--brand); font-weight: 600; margin-top: auto; padding-top: 8px; }
