/* ============================================================================
   ZOTSALA.COM — Premium Marketplace Stylesheet
   Theme: Warm Earth — built around the Zotsala logo palette
   Colors: Dark roasted brown + warm caramel + cream + sand
   ============================================================================ */

:root {
  /* Brand palette (extracted from the Zotsala logo) */
  --bg: #faf7f2;                  /* warm off-white page background */
  --bg-soft: #f4ede7;             /* cream soft sections */
  --bg-card: #ffffff;             /* pure white cards (clean contrast) */
  --fg: #3d2820;                  /* dark roasted brown — headings */
  --fg-muted: #7c6655;            /* warm muted brown — body text */
  --fg-subtle: #a8957f;           /* light warm gray — subtle text */
  --border: #e8dcc8;              /* soft cream border */
  --border-strong: #d4b7a1;      /* warm tan border */

  /* Primary — caramel tan (the logo's accent) */
  --primary: #a86e40;              /* warm caramel */
  --primary-hover: #8b5a2e;       /* darker caramel on hover */
  --primary-soft: #f8efe4;        /* very soft caramel tint */
  --primary-tint: #fdf8f3;        /* whisper of caramel */

  /* Accent — deep brown for contrast (the logo's main color) */
  --accent: #3d2820;              /* dark roasted brown */
  --accent-hover: #2a1a13;        /* near-black brown */
  --accent-soft: #ede4dc;         /* soft brown tint */

  /* Secondary accent — golden sand (for highlights) */
  --sand: #c6a183;
  --sand-soft: #f0e6db;

  /* Hot / featured — warm terracotta */
  --hot: #c8552a;
  --hot-soft: #fde9df;

  /* Status colors (kept neutral, but warm-tinted) */
  --success: #5a7a3a;
  --success-soft: #e8f0db;
  --warning: #b58120;
  --warning-soft: #faf0d8;
  --danger: #a83828;
  --danger-soft: #fae4e0;
  --star: #d4982a;

  /* Shadow system — warm-tinted, soft */
  --shadow-xs: 0 1px 2px rgba(61, 40, 32, 0.04);
  --shadow-sm: 0 1px 3px rgba(61, 40, 32, 0.06), 0 1px 2px rgba(61, 40, 32, 0.04);
  --shadow-md: 0 4px 8px rgba(61, 40, 32, 0.08), 0 2px 4px rgba(61, 40, 32, 0.04);
  --shadow-lg: 0 12px 24px rgba(61, 40, 32, 0.10), 0 4px 8px rgba(61, 40, 32, 0.05);
  --shadow-xl: 0 20px 32px rgba(61, 40, 32, 0.12), 0 8px 16px rgba(61, 40, 32, 0.06);
  --shadow-warm: 0 8px 24px -8px rgba(168, 110, 64, 0.4);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --max-w: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: var(--fg); }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); }
h3 { font-size: 1.0625rem; }
h4 { font-size: 0.9375rem; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.0625rem; color: var(--fg); letter-spacing: -0.025em; font-weight: 800; }
.brand-text small { font-size: 0.6875rem; color: var(--fg-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

.search-form { flex: 1; max-width: 32rem; display: none; }
@media (min-width: 768px) { .search-form { display: flex; gap: 0.5rem; } }
.search-wrap { position: relative; flex: 1; }
.search-wrap input {
  width: 100%;
  height: 42px;
  padding: 0 1rem 0 2.625rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--fg);
  transition: all 0.15s;
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.search-wrap svg { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--fg-muted); pointer-events: none; }

.main-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav a {
  color: var(--fg);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: all 0.15s;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--primary); text-decoration: none; }
.main-nav a.active { color: var(--primary); background: var(--primary-soft); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5625rem 1.125rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: white; border-color: var(--primary-hover); box-shadow: var(--shadow-warm); }
.btn-dark { background: var(--accent); color: white; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--accent-hover); color: white; border-color: var(--accent-hover); }
.btn-accent { background: var(--accent); color: white; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); color: white; }
.btn-outline { background: white; color: var(--fg); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: white; }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--primary); }
.btn-sm { padding: 0.4375rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--radius); background: white; color: var(--fg); }
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0; left: -100%;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-xl);
  padding: 1.5rem 1rem;
  z-index: 100;
  transition: left 0.25s ease;
  overflow-y: auto;
}
.mobile-nav.open { left: 0; }
.mobile-nav .close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--fg-muted); padding: 0.25rem; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1.5rem; }
.mobile-nav nav a { padding: 0.875rem; border-radius: var(--radius); color: var(--fg); font-weight: 600; display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; }
.mobile-nav nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--primary); }
.mobile-nav nav a.active { background: var(--primary-soft); color: var(--primary); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 40, 32, 0.4);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* ============================ HERO — warm gradient with logo colors ============================ */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(61, 40, 32, 0.95) 0%, rgba(168, 110, 64, 0.92) 100%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(198, 161, 131, 0.15) 0%, transparent 50%);
  color: #fdf8f3;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(198, 161, 131, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168, 110, 64, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fdf8f3;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 1rem;
  color: white;
  max-width: 36rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero h1 .accent { color: #f0d4a8; }  /* warm cream highlight */
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(253, 248, 243, 0.92);
  max-width: 32rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* 3-field search — white on dark hero (pops) */
.hero-search {
  display: flex;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 44rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xl);
}
.hero-search > * { border: none; }
.hero-search select {
  padding: 0 1rem;
  background: var(--bg-soft);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  border-right: 1px solid var(--border);
  max-width: 12rem;
  height: 56px;
  border-radius: 0;
}
.hero-search input {
  flex: 1;
  border: none;
  padding: 0 1.25rem;
  height: 56px;
  font-size: 1rem;
  color: var(--fg);
  background: white;
}
.hero-search input:focus { outline: none; }
.hero-search button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0 1.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-search button:hover { background: var(--accent-hover); }
@media (max-width: 640px) {
  .hero-search { flex-direction: column; border-radius: var(--radius); }
  .hero-search select, .hero-search input, .hero-search button { width: 100%; border-right: none; border-bottom: 1px solid var(--border); height: 52px; }
  .hero-search button { border-bottom: none; }
}

/* Trust indicators row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(253, 248, 243, 0.85);
}
.hero-trust > div { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.hero-trust svg { color: #f0d4a8; }

/* ============================ STATS BAR ============================ */
.stats-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.stats-bar .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .stats-bar .grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0 0.5rem;
  border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-card .icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-card .num { font-size: 1.5rem; font-weight: 900; color: var(--fg); line-height: 1; letter-spacing: -0.025em; }
.stat-card .label { font-size: 0.75rem; color: var(--fg-muted); font-weight: 500; }

/* ============================ SECTIONS ============================ */
section.block { padding: 3rem 0; }
section.block.tinted { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.section-header h2 { margin-bottom: 0.25rem; }
.section-header p { font-size: 0.9375rem; color: var(--fg-muted); max-width: 32rem; }
.section-header .link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}
.section-header .link:hover { color: var(--primary-hover); text-decoration: none; }

/* ============================ CATEGORIES ============================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(6, 1fr); gap: 1rem; } }
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0.75rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--fg);
}
.cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-4px);
}
.cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: all 0.2s;
  position: relative;
}
.cat-card:hover .cat-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  transform: scale(1.05);
}
.cat-card h3 { font-size: 0.8125rem; margin-bottom: 0.125rem; font-weight: 700; }
.cat-card .count { font-size: 0.7rem; color: var(--fg-muted); font-weight: 500; }

/* ============================ LISTINGS ============================ */
.grid-listings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .grid-listings { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-listings { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .grid-listings { grid-template-columns: repeat(5, 1fr); } }

.listing-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  position: relative;
}
.listing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transform: translateY(-3px);
}

.listing-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.listing-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 40, 32, 0.02), rgba(61, 40, 32, 0.08));
  z-index: 1;
}
.listing-image .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  z-index: 2;
}
.listing-image .type-chip {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: white;
  color: var(--fg-muted);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.listing-image .type-chip.product { color: var(--success); }
.listing-image .type-chip.service { color: var(--primary); background: var(--primary-soft); }

/* Featured badge */
.listing-card.featured::before {
  content: '★ Featured';
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  padding: 0.3125rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--hot);
  color: white;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.listing-body { padding: 0.9375rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.listing-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 0.375rem;
  letter-spacing: -0.025em;
}
.listing-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.35;
  margin-bottom: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.listing-card:hover .listing-title { color: var(--primary); }
.listing-desc {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.listing-vendor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.listing-vendor .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.listing-vendor strong { color: var(--fg); font-weight: 600; }
.listing-vendor .rating { margin-left: auto; display: inline-flex; align-items: center; gap: 0.125rem; font-weight: 700; color: var(--fg); }

/* ============================ BUSINESS CARDS ============================ */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

.biz-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.biz-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transform: translateY(-3px);
}
.biz-cover {
  position: relative;
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.biz-cover .initial {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.biz-cover .badge-tl, .biz-cover .badge-tr {
  position: absolute;
  top: 0.625rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3125rem 0.625rem;
  background: white;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.biz-cover .badge-tl { left: 0.625rem; color: var(--success); }
.biz-cover .badge-tr { right: 0.625rem; color: var(--hot); background: var(--hot-soft); }
.biz-body { padding: 1.125rem; display: flex; flex-direction: column; flex: 1; }
.biz-cat-chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.625rem;
  background: var(--primary-soft);
  color: var(--primary);
}
.biz-name {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 0.375rem;
  line-height: 1.25;
  color: var(--fg);
}
.biz-card:hover .biz-name { color: var(--primary); }
.biz-desc {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin-bottom: 0.875rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.biz-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: 0.625rem;
  flex-wrap: wrap;
}
.biz-meta .sep { color: var(--border-strong); margin: 0 0.375rem; }
.biz-meta strong { color: var(--fg); font-weight: 700; }
.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding-top: 0.75rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.biz-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  color: var(--fg-muted);
  font-weight: 600;
}

/* ============================ STARS ============================ */
.stars { display: inline-flex; gap: 0.0625rem; }
.star { font-size: var(--star-size, 14px); line-height: 1; color: var(--border-strong); }
.star.filled { color: var(--star); }

/* ============================ FORMS ============================ */
.form-row { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.6875rem 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: inherit;
  background: white;
  color: var(--fg);
  transition: all 0.15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.form-textarea { min-height: 5rem; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-hint { font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.25rem; }
.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .form-card { padding: 2.25rem; } }
.field-error { border-color: var(--danger) !important; color: var(--danger); font-size: 0.75rem; margin-top: 0.25rem; }

/* ============================ STEPPER ============================ */
.stepper { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; }
.step { display: flex; align-items: center; gap: 0.5rem; flex: 1; }
.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  background: var(--bg-soft);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}
.step-dot.current { background: var(--primary); color: white; border-color: var(--primary); }
.step-dot.done { background: var(--accent); color: white; border-color: var(--accent); }
.step-line { flex: 1; height: 2px; background: var(--border); }
.step:last-child .step-line { display: none; }

/* ============================ TABS ============================ */
.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.tab-link {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--fg-muted);
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s;
  margin-bottom: -2px;
}
.tab-link:hover { color: var(--primary); }
.tab-link.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ============================ FLASH ============================ */
.flash {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.flash.success { background: var(--success-soft); color: var(--success); border-color: #c8d8a8; }
.flash.error { background: var(--danger-soft); color: var(--danger); border-color: #e8c0b8; }
.flash.info { background: var(--primary-soft); color: var(--primary); border-color: var(--border-strong); }

/* ============================ FILTER BAR ============================ */
.filter-bar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .filter-bar { flex-direction: row; align-items: center; } }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--fg);
  font-weight: 600;
}
.filter-chip button { background: none; border: none; padding: 0; line-height: 1; color: var(--fg-muted); font-size: 1rem; }
.filter-chip button:hover { color: var(--danger); }

/* ============================ BUSINESS DETAIL ============================ */
.biz-detail-cover {
  position: relative;
  aspect-ratio: 16 / 6;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .biz-detail-cover { aspect-ratio: 16 / 5; } }
.biz-detail-cover .initial {
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.04em;
  text-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.biz-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .biz-header { flex-direction: row; align-items: flex-start; } }
.biz-header h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.biz-header .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}
.biz-header .cta-group { display: flex; flex-direction: row; gap: 0.5rem; flex-wrap: wrap; }
@media (min-width: 768px) { .biz-header .cta-group { flex-direction: column; width: 12rem; } }
.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.info-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--fg);
}
.info-card .info-row { font-size: 0.8125rem; color: var(--fg-muted); margin-bottom: 0.25rem; }

/* ============================ LISTING DETAIL ============================ */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .listing-grid { grid-template-columns: 3fr 2fr; } }
.listing-visual {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}
.listing-visual .icon {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-lg);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}
.listing-price-big {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.order-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 88px;
  box-shadow: var(--shadow-md);
}

/* ============================ COMMUNITY ============================ */
.post-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.875rem;
  display: flex;
  gap: 1rem;
  transition: all 0.15s;
}
.post-card:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.post-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.post-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.375rem; color: var(--fg); }
.post-body { font-size: 0.875rem; color: var(--fg-muted); margin-bottom: 0.625rem; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ============================ ABOUT ============================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card {
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.15s;
}
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.value-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-soft), var(--sand-soft));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ============================ EMPTY STATES ============================ */
.empty {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 28rem;
  margin: 0 auto;
}
.empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--fg-muted);
}
.empty h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.empty p { color: var(--fg-muted); margin-bottom: 1.5rem; font-size: 0.9375rem; }

/* ============================ FOOTER — dark brown ============================ */
.site-footer {
  margin-top: auto;
  background: #2a1a13;
  color: #d4b7a1;
  padding: 4rem 0 1.5rem;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .site-footer .grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h3 {
  color: white;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.site-footer a { color: #d4b7a1; font-size: 0.875rem; font-weight: 500; }
.site-footer a:hover { color: white; text-decoration: none; }
.site-footer ul li { margin-bottom: 0.625rem; }
.site-footer .brand-mark { background: linear-gradient(135deg, var(--primary), var(--sand)); }
.site-footer .brand-text strong { color: white; }
.site-footer .brand-text small { color: rgba(212, 183, 161, 0.7); }
.site-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(212, 183, 161, 0.6);
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) { .site-footer .bottom { flex-direction: row; justify-content: space-between; } }

/* ============================ ADMIN ============================ */
.admin-bar { background: #2a1a13; color: white; padding: 0.625rem 0; font-size: 0.8125rem; }
.admin-bar a { color: white; }
.admin-bar a:hover { color: #d4b7a1; }
.admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
@media (min-width: 768px) { .admin-layout { grid-template-columns: 240px 1fr; } }
.admin-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  height: fit-content;
}
.admin-sidebar h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin: 0.75rem 0 0.25rem;
  padding-left: 0.5rem;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--fg);
  font-weight: 600;
}
.admin-sidebar a:hover { background: var(--bg-soft); color: var(--primary); text-decoration: none; }
.admin-sidebar a.active { background: var(--primary-soft); color: var(--primary); }
.admin-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th {
  text-align: left;
  padding: 0.6875rem 0.625rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  font-weight: 700;
}
.admin-table td {
  padding: 0.875rem 0.625rem;
  border-bottom: 1px solid var(--border);
}
.admin-table tr:hover td { background: var(--bg-soft); }

/* ============================ LOGIN ============================ */
.login-card {
  max-width: 26rem;
  margin: 4rem auto;
  padding: 2.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* ============================ UTIL ============================ */
.text-center { text-align: center; }
.text-muted { color: var(--fg-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.rounded { border-radius: var(--radius); }
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: block; } }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-chip { display: inline-block; padding: 0.25rem 0.625rem; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: 0.7rem; color: var(--fg-muted); font-weight: 600; }
.visible-mobile { display: inline; }
@media (min-width: 768px) { .visible-mobile { display: none; } }
