/* ════════════════════════════════════════
   FyndIt — main.css
   Brand: Navy #0d1b3e · Red #d32f2f · Blue #2952b3
════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0d1b3e;
  --accent:     #d32f2f;
  --accent2:    #2952b3;
  --blue:       #1a3a8f;
  --blue-light: #2952b3;
  --red:        #d32f2f;
  --muted:      #7a8ba8;
  --bg:         #f0f3f9;
  --navy:       #0d1b3e;
  --white:      #ffffff;
  --surface:    #f0f3f9;
  --border:     rgba(13,27,62,0.1);
  --radius:     18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cabinet Grotesk', 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.5;
}

/* ════════════════════════════════════════
   NAVBAR — INDEX
════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(8, 15, 36, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  animation: slideDown 0.8s ease forwards;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.5px; color: white;
  text-decoration: none;
}
.logo img { height: 40px; width: auto; object-fit: contain; display: block; }
.logo span { color: var(--accent); font-style: italic; }

.desktop-nav { display: flex; gap: 1.25rem; list-style: none; align-items: center; }
.desktop-nav a {
  text-decoration: none; color: rgba(255,255,255,0.65);
  font-size: 0.88rem; letter-spacing: 0.02em; transition: color 0.2s;
}
.desktop-nav a:hover { color: white; }
.btn-nav {
  background: var(--accent); color: white !important;
  padding: 0.55rem 1.3rem; border-radius: 100px;
  font-weight: 500; transition: all 0.2s !important;
}
.btn-nav:hover {
  background: #e53935 !important; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(211,47,47,0.4);
}
.hamburger { display: none; }

/* ════════════════════════════════════════
   NAVBAR — VENDOR PAGE VARIANT
════════════════════════════════════════ */
.navbar-vendor {
  position: sticky; top: 0;
  justify-content: center;
  padding: 0 2rem;
  height: 58px;
  animation: none;
}
.nav-back {
  position: absolute; left: 2rem;
  display: flex; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.83rem; transition: color 0.2s;
}
.nav-back:hover { color: white; }
.nav-profile-wrap {
  position: absolute; right: 2rem;
  display: flex; align-items: center;
}

/* ════════════════════════════════════════
   PROFILE DROPDOWN
════════════════════════════════════════ */
.profile-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 6px 14px 6px 8px;
  cursor: pointer; color: white;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  transition: background 0.2s; position: relative;
}
.profile-btn:hover { background: rgba(255,255,255,0.13); }
.profile-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #d32f2f, #ff6f00);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.profile-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #0d1b3e; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  min-width: 220px; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s; z-index: 9999;
}
.profile-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.profile-dropdown-header,
.pd-header { padding: 14px 16px 10px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.profile-dropdown-header .pd-name,
.pd-header .pd-name { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: white; }
.profile-dropdown-header .pd-email,
.pd-header .pd-email { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.profile-dropdown-section,
.pd-section { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.profile-dropdown-section:last-child,
.pd-section:last-child { border-bottom: none; }
.profile-dropdown-label,
.pd-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); padding: 4px 16px 6px; }
.profile-dropdown a,
.pd-section a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; color: rgba(255,255,255,0.8);
  text-decoration: none; font-size: 0.85rem;
  transition: background 0.15s, color 0.15s;
}
.profile-dropdown a:hover,
.pd-section a:hover { background: rgba(255,255,255,0.06); color: white; }
.pd-icon,
.profile-dropdown a .pd-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.pd-icon.customer, .pd-icon.c { background: rgba(41,82,179,0.25); }
.pd-icon.vendor,   .pd-icon.v { background: rgba(211,47,47,0.25); }
.pd-icon.settings, .pd-icon.s { background: rgba(255,255,255,0.07); }
.pd-icon.logout,   .pd-icon.lo { background: rgba(255,80,80,0.1); }
.profile-dropdown .logout-link,
.pd-section .logout { color: rgba(255,100,100,0.8) !important; }
.profile-dropdown .logout-link:hover,
.pd-section .logout:hover { color: #ff6464 !important; }

/* ════════════════════════════════════════
   MOBILE PROFILE SECTION
════════════════════════════════════════ */
.mobile-profile-section { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 12px; padding-top: 12px; }
.mobile-profile-section .mp-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); padding: 0 0 8px; }
.mobile-profile-section a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; }

/* ════════════════════════════════════════
   SECTION BACKGROUNDS
════════════════════════════════════════ */
.stats-strip, .market-filters, .featured, .search-preview, .activity, footer {
  background: var(--bg) !important;
}
.stats-strip  { border-top: 1px solid rgba(13,27,62,0.1); border-bottom: 1px solid rgba(13,27,62,0.1); }
.market-filters { border-bottom: 1px solid rgba(13,27,62,0.1); }
.stat { border-right: 1px solid rgba(13,27,62,0.1); }
footer { border-top: 1px solid rgba(13,27,62,0.1); }
.footer-logo { color: var(--ink); }
footer p { color: rgba(13,27,62,0.35); }
.footer-links a { color: rgba(13,27,62,0.35); }
.footer-links a:hover { color: rgba(13,27,62,0.8); }
.section-header h2 { color: var(--ink); }
.see-all { color: rgba(13,27,62,0.4); }
.see-all:hover { color: var(--accent); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 8rem 2rem 4rem; position: relative; overflow: hidden;
  background: var(--bg);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,58,143,0.2) 0%, transparent 70%);
  top: -100px; left: -150px;
  animation: drift1 8s ease-in-out infinite alternate;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(211,47,47,0.12) 0%, transparent 70%);
  bottom: -50px; right: -100px;
  animation: drift2 10s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(60px,40px) scale(1.1); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,-60px) scale(1.15); } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(41,82,179,0.1); border: 1px solid rgba(41,82,179,0.3);
  color: var(--blue); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 100px;
  margin-bottom: 2rem; animation: fadeUp 0.8s 0.2s ease both;
}
.pulse-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.7); } }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.08; letter-spacing: -0.03em;
  max-width: 780px; margin-bottom: 1.5rem; color: var(--ink);
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  color: rgba(13,27,62,0.55); font-size: 1.1rem;
  max-width: 440px; line-height: 1.6; margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.6s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

.search-box {
  display: flex; background: rgba(13,27,62,0.05);
  border: 1px solid rgba(13,27,62,0.15); border-radius: 16px;
  padding: 6px; max-width: 680px; width: 100%;
  animation: fadeUp 0.8s 0.8s ease both;
  box-shadow: 0 20px 60px rgba(13,27,62,0.08), 0 0 0 1px rgba(13,27,62,0.04);
}
.search-box input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 0.9rem 1.2rem; color: var(--ink);
  font-size: 0.95rem; font-family: inherit;
}
.search-box input::placeholder { color: rgba(13,27,62,0.4); }
.search-divider { width: 1px; background: rgba(13,27,62,0.12); margin: 8px 0; }
.search-box button {
  background: var(--accent); color: white; border: none;
  padding: 0.9rem 2rem; border-radius: 12px;
  font-size: 0.95rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.search-box button:hover { background: #e53935; box-shadow: 0 4px 20px rgba(211,47,47,0.5); }

.hero-tags {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  justify-content: center; margin-top: 1.5rem;
  animation: fadeUp 0.8s 1s ease both;
}
.tag {
  background: rgba(13,27,62,0.06); border: 1px solid rgba(13,27,62,0.12);
  color: rgba(13,27,62,0.6); font-size: 0.8rem;
  padding: 0.35rem 0.85rem; border-radius: 100px;
  cursor: pointer; transition: all 0.2s;
}
.tag:hover {
  background: rgba(41,82,179,0.1); border-color: rgba(41,82,179,0.4);
  color: var(--accent2);
}

/* ════════════════════════════════════════
   STATS
════════════════════════════════════════ */
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 3rem 2rem; text-align: center; transition: background 0.3s; }
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(41,82,179,0.04) !important; }
.stat-num {
  font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--ink), rgba(13,27,62,0.55));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* ════════════════════════════════════════
   SECTION HEADER
════════════════════════════════════════ */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }
.section-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent2); margin-bottom: 0.5rem; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--ink); }

/* ════════════════════════════════════════
   FILTERS
════════════════════════════════════════ */
.market-filters { padding: 2rem 5rem; }
.filter-container { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.filter-container input, .filter-container select {
  background: rgba(13,27,62,0.04); border: 1px solid rgba(13,27,62,0.12);
  color: var(--ink); padding: 0.65rem 1rem; border-radius: 10px;
  font-size: 0.88rem; font-family: inherit; outline: none; transition: border-color 0.2s;
}
.filter-container input:focus, .filter-container select:focus { border-color: rgba(41,82,179,0.5); }
.filter-container select option { background: var(--bg); color: var(--ink); }
.filter-container input { min-width: 200px; }
.filter-container input::placeholder { color: rgba(13,27,62,0.35); }
.filter-btn {
  background: var(--accent); color: white; border: none;
  padding: 0.65rem 1.4rem; border-radius: 10px;
  font-size: 0.88rem; font-family: inherit; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { background: #e53935; box-shadow: 0 4px 15px rgba(211,47,47,0.4); }

/* ════════════════════════════════════════
   VENDOR CAROUSEL (index)
════════════════════════════════════════ */
.featured { padding: 5rem; overflow: hidden; }
.carousel-wrapper { position: relative; }
.carousel-track-outer { overflow: hidden; border-radius: 20px; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.vendor-card {
  background: rgba(13,27,62,0.82); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; overflow: hidden;
  flex: 0 0 calc(33.333% - 1rem); min-width: calc(33.333% - 1rem);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  cursor: pointer; position: relative;
}
.vendor-card:hover {
  transform: translateY(-6px); background: rgba(13,27,62,0.92);
  border-color: rgba(41,82,179,0.5);
  box-shadow: 0 20px 60px rgba(13,27,62,0.3), 0 0 0 1px rgba(41,82,179,0.2);
}
.vendor-img-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.vi-1 { background: linear-gradient(135deg, #1a0a00, #3d1c00, #d32f2f); }
.vi-2 { background: linear-gradient(135deg, #001a3d, #003d5c, #0098ff); }
.vi-3 { background: linear-gradient(135deg, #001a0a, #003d1c, #00c853); }
.vendor-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(211,47,47,0.9); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 100px;
}
.vendor-body { padding: 1.2rem; }
.vendor-category { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.4rem; }
.vendor-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.vendor-desc { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.5; margin-bottom: 1rem; }
.vendor-rating { color: var(--accent2); font-size: 0.85rem; margin-bottom: 0.4rem; }
.vendor-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }
.vendor-location { color: var(--muted); font-size: 0.82rem; display: flex; align-items: center; gap: 0.3rem; }
.vendor-price { font-weight: 600; font-size: 0.9rem; color: white; }
.vendor-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.2rem; align-items: center; }
.vendor-btn {
  width: 100%; background: var(--accent); color: white; border: none;
  padding: 0.85rem 1.5rem; border-radius: 100px;
  font-family: inherit; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s; text-align: center; text-decoration: none;
  display: block;
}
.vendor-btn:hover { background: #e53935; box-shadow: 0 6px 20px rgba(211,47,47,0.4); }
.vendor-btn-secondary {
  background: none; border: none; color: var(--accent);
  font-family: inherit; font-size: 0.88rem; font-weight: 500;
  cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; padding: 0.2rem 0; transition: opacity 0.2s;
}
.vendor-btn-secondary:hover { opacity: 0.7; }

/* ════════════════════════════════════════
   CAROUSEL CONTROLS (index)
════════════════════════════════════════ */
.carousel-controls { display: flex; justify-content: flex-end; align-items: center; margin-top: 2rem; }
.carousel-arrows { display: flex; gap: 0.75rem; }
.carousel-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(13,27,62,0.15); background: var(--bg);
  color: var(--ink); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; box-shadow: 0 2px 8px rgba(13,27,62,0.08);
}
.carousel-arrow:hover { background: var(--accent); color: white; border-color: var(--accent); box-shadow: 0 4px 16px rgba(211,47,47,0.35); }
.carousel-dots { display: none; gap: 0.5rem; align-items: center; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(13,27,62,0.2); cursor: pointer;
  transition: all 0.25s; border: none; padding: 0;
}
.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ════════════════════════════════════════
   MAP + LISTINGS (index)
════════════════════════════════════════ */
.search-preview { display: grid; grid-template-columns: 3fr 2fr; gap: 1.5rem; padding: 0 5rem 5rem; }
.map-wrapper { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 60px rgba(13,27,62,0.2); height: 420px; position: relative; }
#leafletMap { width: 100%; height: 100%; }

.leaflet-control-zoom { border: none !important; box-shadow: none !important; }
.leaflet-control-zoom a {
  background: rgba(8,15,36,0.9) !important; border: 1px solid rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.7) !important; border-radius: 8px !important;
  width: 32px !important; height: 32px !important; line-height: 30px !important;
  font-size: 1rem !important; transition: all 0.2s !important;
}
.leaflet-control-zoom a:hover { background: var(--accent) !important; color: white !important; border-color: var(--accent) !important; }
.leaflet-control-zoom-in { margin-bottom: 4px !important; }
.leaflet-attribution-flag { display: none !important; }
.leaflet-control-attribution { background: rgba(8,15,36,0.7) !important; color: rgba(255,255,255,0.3) !important; font-size: 0.6rem !important; border-radius: 6px 0 0 0 !important; backdrop-filter: blur(4px); }
.leaflet-control-attribution a { color: var(--accent) !important; }

.map-expand-btn {
  position: absolute; bottom: 1.8rem; right: 0.6rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,15,36,0.9); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8); border-radius: 8px;
  cursor: pointer; z-index: 500; backdrop-filter: blur(8px); transition: all 0.2s;
}
.map-expand-btn:hover { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 4px 16px rgba(211,47,47,0.45); }

/* ════════════════════════════════════════
   FULLSCREEN MAP MODAL
════════════════════════════════════════ */
.map-modal { position: fixed; inset: 0; z-index: 3000; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.map-modal.open { opacity: 1; visibility: visible; }
.map-modal-inner { position: absolute; inset: 0; display: flex; flex-direction: column; }
#leafletMapFull { flex: 1; width: 100%; min-height: 0; }
.map-modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 600;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.5); transition: all 0.2s; padding: 0;
}
.map-modal-close:hover { background: var(--accent); border-color: var(--accent); color: white; transform: scale(1.08); box-shadow: 0 6px 24px rgba(211,47,47,0.45); }
.map-modal-logo-pill {
  position: absolute; top: 1rem; left: 1rem; z-index: 600;
  background: var(--navy); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 0.45rem 1rem;
  font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4); pointer-events: none;
}
.map-modal-logo-pill span { color: var(--accent); font-style: italic; }
.map-modal-info-pill {
  position: absolute; top: 3.6rem; left: 1rem; z-index: 600;
  background: rgba(13,27,62,0.85); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px; padding: 0.3rem 0.85rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.45);
  backdrop-filter: blur(8px); pointer-events: none;
}
.map-modal-info-pill strong { color: var(--accent2); }
.map-modal-header, .map-modal-mobile-close { display: none !important; }

/* ════════════════════════════════════════
   LISTING SIDEBAR (index)
════════════════════════════════════════ */
.listing-preview { display: flex; flex-direction: column; gap: 1rem; }
.mini-card {
  background: rgba(13,27,62,0.82); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  transition: all 0.25s; cursor: pointer;
}
.mini-card:hover { border-color: rgba(41,82,179,0.45); background: rgba(13,27,62,0.92); }
.mini-card.active { border-color: var(--accent2) !important; background: rgba(13,27,62,0.95) !important; box-shadow: 0 0 0 1px rgba(41,82,179,0.3), 0 8px 24px rgba(41,82,179,0.15); }
.mini-avatar { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0; }
.ma-1 { background: linear-gradient(135deg, #3d1c00, #d32f2f); }
.ma-2 { background: linear-gradient(135deg, #001a3d, #0098ff); }
.ma-3 { background: linear-gradient(135deg, #001a0a, #00c853); }
.mini-info { flex:1; }
.mini-name { font-weight:600; font-size:0.92rem; margin-bottom:0.2rem; color:white; }
.mini-sub  { color: var(--muted); font-size:0.8rem; }
.mini-price { font-size:0.88rem; font-weight:600; color: var(--accent2); }

/* ════════════════════════════════════════
   CTA
════════════════════════════════════════ */
.cta {
  margin: 0 5rem 5rem; padding: 5rem; border-radius: 28px;
  background: linear-gradient(135deg, #080f24, #0d1b3e, #080f24);
  border: 1px solid rgba(41,82,179,0.2);
  text-align: center; position: relative; overflow: hidden; color: white;
}
.cta::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(41,82,179,0.2) 0%, transparent 70%); pointer-events: none;
}
.cta h2 { font-family:'Playfair Display',serif; font-size:3rem; position:relative; color:white; }
.cta p  { color:rgba(255,255,255,0.5); margin:1rem auto 2.5rem; max-width:440px; }
.cta-btn-dark {
  background: var(--accent); color: white; border: none;
  padding: 1rem 2.5rem; border-radius: 100px;
  font-size: 1rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all 0.25s; position: relative;
}
.cta-btn-dark:hover { background:#e53935; transform:translateY(-2px); box-shadow:0 10px 40px rgba(211,47,47,0.5); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer { padding: 3rem 5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:700; color:var(--ink); }
.footer-logo span { color:var(--accent); font-style:italic; }
footer p { color:rgba(13,27,62,0.35); font-size:0.82rem; }
.footer-links { display:flex; gap:2rem; }
.footer-links a { color:rgba(13,27,62,0.35); font-size:0.82rem; text-decoration:none; transition:color 0.2s; }
.footer-links a:hover { color:rgba(13,27,62,0.8); }

/* ════════════════════════════════════════
   MOBILE MENU
════════════════════════════════════════ */
.mobile-menu {
  display: flex; position: fixed; top: 0; right: 0;
  width: min(360px, 100vw); height: 100vh;
  background: #080f24; z-index: 2000;
  flex-direction: column; justify-content: center;
  padding: 5rem 2.5rem 3rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  overflow: hidden; visibility: hidden;
}
.mobile-menu::before { content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(41,82,179,0.2) 0%, transparent 70%); pointer-events: none; }
.mobile-menu::after  { content: ''; position: absolute; bottom: -60px; left: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(211,47,47,0.1) 0%, transparent 70%); pointer-events: none; }
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-close-btn {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; line-height: 1;
}
.mobile-close-btn:hover { background: var(--accent); border-color: var(--accent); color: white; transform: rotate(90deg); }
.mobile-nav-links { list-style: none; margin: 0 0 2rem 0; padding: 0; }
.mobile-nav-links li { opacity: 0; transform: translateX(30px); transition: opacity 0.35s ease, transform 0.35s ease; }
.mobile-menu.open .mobile-nav-links li:nth-child(1) { opacity:1; transform:translateX(0); transition-delay:0.15s; }
.mobile-menu.open .mobile-nav-links li:nth-child(2) { opacity:1; transform:translateX(0); transition-delay:0.21s; }
.mobile-menu.open .mobile-nav-links li:nth-child(3) { opacity:1; transform:translateX(0); transition-delay:0.27s; }
.mobile-menu.open .mobile-nav-links li:nth-child(4) { opacity:1; transform:translateX(0); transition-delay:0.33s; }
.mobile-link {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: rgba(255,255,255,0.2);
  text-decoration: none; padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, letter-spacing 0.2s;
  letter-spacing: -0.02em; line-height: 1.2;
}
.mobile-link:hover { color: white; letter-spacing: 0.01em; }
.mobile-nav-links li:last-child .mobile-link { border-bottom: none; }
.mobile-cta-btn {
  display: inline-block; background: var(--accent); color: white;
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 600;
  font-size: 0.95rem; padding: 0.9rem 2rem; border-radius: 100px;
  text-decoration: none; opacity: 0; transform: translateY(10px);
  transition: background 0.2s, transform 0.2s; width: fit-content;
}
.mobile-menu.open .mobile-cta-btn { opacity: 1; transform: translateY(0); transition: opacity 0.35s ease 0.38s, transform 0.35s ease 0.38s, background 0.2s; }
.mobile-cta-btn:hover { background: #e53935; }
.mobile-menu-footer { position: absolute; bottom: 2rem; left: 2.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.15); letter-spacing: 0.05em; }
.menu-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1999; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease; pointer-events: none; }
.menu-backdrop.open { opacity: 1; visibility: visible; pointer-events: all; }

/* ════════════════════════════════════════
   FLOATING CTA
════════════════════════════════════════ */
.floating-cta {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--accent); color: white; border: none;
  padding: 1rem 1.8rem; border-radius: 100px;
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; box-shadow: 0 8px 30px rgba(211,47,47,0.4);
  transition: all 0.25s; z-index: 200;
}
.floating-cta:hover { transform:translateY(-3px) scale(1.03); box-shadow:0 14px 40px rgba(211,47,47,0.55); }

/* ════════════════════════════════════════
   FADE IN
════════════════════════════════════════ */
.fade-in { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }
.mini-card, .activity-item, .stat, .vendor-card { opacity: 1 !important; }

/* ════════════════════════════════════════
   LEAFLET POPUP
════════════════════════════════════════ */
.fynd-popup .leaflet-popup-content-wrapper {
  background: #0d1b3e; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.6); padding: 0;
}
.fynd-popup .leaflet-popup-content { margin: 12px 14px; }
.fynd-popup .leaflet-popup-tip-container { display: none; }
@keyframes lPulse { 0%,100% { transform:scale(1); opacity:0.25; } 50% { transform:scale(1.6); opacity:0.1; } }

/* ════════════════════════════════════════
   VENDOR PAGE — LAYOUT
════════════════════════════════════════ */
.page-layout {
  max-width: 1120px; margin: 0 auto;
  padding: 1.75rem 1.75rem 4rem;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 1.5rem; align-items: start;
}

/* ════════════════════════════════════════
   VENDOR PAGE — CARD BASE
════════════════════════════════════════ */
.card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 12px rgba(13,27,62,0.06); margin-bottom: 1.25rem;
}
.card:last-child { margin-bottom: 0; }
.card-title {
  font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
  padding-bottom: 0.75rem; margin-bottom: 1rem;
  border-bottom: 1px solid rgba(13,27,62,0.07);
  display: flex; align-items: center; gap: 0.45rem;
}

/* ════════════════════════════════════════
   VENDOR PAGE — HERO CARD
════════════════════════════════════════ */
.hero-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 12px rgba(13,27,62,0.06); margin-bottom: 1.25rem;
  position: relative;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent2)); z-index: 2;
}
.hero-carousel {
  position: relative; width: 100%; aspect-ratio: 21/9;
  background: var(--ink); overflow: hidden;
}
.hero-carousel .carousel-track {
  display: flex; height: 100%;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide {
  min-width: 100%; height: 100%; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.carousel-slide img { width:100%; height:100%; object-fit:cover; }
.carousel-slide.placeholder {
  background: linear-gradient(135deg,#0d1b3e,#1a3a8f);
  color: rgba(255,255,255,0.5); flex-direction: column; gap: 0.5rem;
}
.slide-icon { font-size: 2.5rem; }
.slide-label { font-size: 0.9rem; }
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: white; padding: 2rem 1.25rem 0.9rem;
  font-size: 0.83rem; font-weight: 500;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.13); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2); color: white;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; font-size: 1.1rem; transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(211,47,47,0.8); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.hero-carousel .carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 10;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--accent); transform: scale(1.35); }

.hero-info { padding: 1.2rem 1.75rem 1.5rem; border-top: 1px solid rgba(13,27,62,0.07); }
.hero-name-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.vendor-avatar {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem; box-shadow: 0 3px 12px rgba(211,47,47,0.25);
}
.hero-name-row h1 { font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.22rem 0.65rem; border-radius: 100px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-verified   { background:rgba(0,168,68,0.1);   color:#1976d2; border:1px solid rgba(41,82,179,0.2); }
.badge-category   { background:rgba(211,47,47,0.08); color:#d32f2f; border:1px solid rgba(211,47,47,0.18); }
.badge-experience { background:rgba(13,27,62,0.05);  color:#7a8ba8; border:1px solid rgba(13,27,62,0.1); }
.hero-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0; }
.meta-item { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.84rem; color: var(--muted); }
.meta-item strong { color: var(--ink); }
.rating-stars { color: var(--accent2); }
.meta-divider { width: 1px; height: 13px; background: rgba(13,27,62,0.15); margin: 0 0.8rem; }

/* ════════════════════════════════════════
   VENDOR PAGE — ABOUT / SERVICES
════════════════════════════════════════ */
.about-text { font-size: 0.92rem; line-height: 1.75; color: #5a6a80; }
.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.service-list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: #3a4a60;
  padding: 0.55rem 0.8rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.service-list li:hover { border-color: rgba(211,47,47,0.25); background: rgba(211,47,47,0.03); }
.service-dot { width: 6px; height: 6px; flex-shrink: 0; background: var(--accent); border-radius: 50%; }

/* ════════════════════════════════════════
   VENDOR PAGE — MAP
════════════════════════════════════════ */
.map-container {
  position: relative; width: 100%; height: 210px;
  border-radius: 12px; overflow: hidden;
  border: 1.5px solid var(--border); isolation: isolate;
}
.map-container iframe { width:100%; height:100%; display:block; border:none; }
.map-pin-label {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); border: 1px solid rgba(211,47,47,0.3);
  border-radius: 100px; padding: 0.28rem 0.85rem;
  font-size: 0.76rem; font-weight: 600; color: white;
  white-space: nowrap; box-shadow: 0 2px 10px rgba(211,47,47,0.35);
  pointer-events: none; z-index: 10;
}

/* ════════════════════════════════════════
   VENDOR PAGE — REVIEWS
════════════════════════════════════════ */
.reviews-list { display: flex; flex-direction: column; gap: 0.85rem; }
.review { padding: 1rem 1.1rem; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--border); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.55rem; }
.review-author-wrap { display: flex; align-items: center; gap: 0.6rem; }
.review-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: white;
}
.review-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.review-date { font-size: 0.74rem; color: var(--muted); margin-top: 0.05rem; }
.review-stars { color: var(--accent2); font-size: 0.88rem; letter-spacing: 1px; }
.review-text { font-size: 0.87rem; color: #5a6a80; line-height: 1.62; }

/* ════════════════════════════════════════
   VENDOR PAGE — SIDEBAR
════════════════════════════════════════ */
.sidebar { position: sticky; top: 70px; }
.sidebar-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  box-shadow: 0 1px 12px rgba(13,27,62,0.06); margin-bottom: 1.1rem;
}
.sidebar-card:last-child { margin-bottom: 0; }
.sidebar-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.3rem; }
.sidebar-price strong { font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.sidebar-price span { font-size: 0.86rem; color: var(--muted); }
.sidebar-price-note { font-size: 0.79rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.1rem; }
.sidebar-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(13,27,62,0.07); }
.sidebar-stat { display: flex; flex-direction: column; gap: 0.1rem; }
.sidebar-stat strong { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.sidebar-stat span { font-size: 0.69rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }

.request-btn {
  width: 100%; background: var(--accent); color: white; border: none;
  border-radius: 12px; padding: 0.85rem 1.25rem;
  font-family: 'Cabinet Grotesk', sans-serif; font-size: 0.93rem; font-weight: 700;
  cursor: pointer; letter-spacing: 0.01em;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-bottom: 0.6rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(211,47,47,0.3);
}
.request-btn:hover { background: #e53935; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(211,47,47,0.4); }
.message-btn {
  width: 100%; background: transparent; color: var(--ink);
  border: 1.5px solid rgba(13,27,62,0.14);
  padding: 0.85rem 1.25rem; border-radius: 12px;
  font-family: 'Cabinet Grotesk', sans-serif; font-size: 0.93rem; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.message-btn:hover { border-color: var(--accent2); background: rgba(41,82,179,0.04); }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.contact-list li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.86rem; color: #3a4a60; }
.contact-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: rgba(211,47,47,0.07); border: 1px solid rgba(211,47,47,0.12); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.contact-link { color: var(--ink); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.contact-link:hover { color: var(--accent); text-decoration: underline; }

/* ════════════════════════════════════════
   OWNER BANNER
════════════════════════════════════════ */
.owner-banner {
  background: rgba(41,82,179,0.07); border: 1.5px solid rgba(41,82,179,0.18);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem;
}
.owner-banner-icon { font-size: 1.4rem; flex-shrink: 0; }
.owner-banner-text { flex: 1; }
.owner-banner-text strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 0.15rem; }
.owner-banner-text span  { font-size: 0.78rem; color: var(--muted); }
.owner-banner-btn {
  background: var(--accent2); color: white; text-decoration: none;
  font-size: 0.8rem; font-weight: 700; padding: 0.55rem 1rem; border-radius: 9px;
  white-space: nowrap; transition: background 0.2s; flex-shrink: 0;
}
.owner-banner-btn:hover { background: #1a3a8f; }

.edit-btn {
  width: 100%; background: var(--accent2); color: white; border: none;
  border-radius: 12px; padding: 0.85rem 1.25rem;
  font-family: 'Cabinet Grotesk', sans-serif; font-size: 0.93rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-bottom: 0.6rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(41,82,179,0.25);
}
.edit-btn:hover { background: #1a3a8f; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(41,82,179,0.35); }
.analytics-btn {
  width: 100%; background: transparent; color: var(--ink);
  border: 1.5px solid rgba(13,27,62,0.14); padding: 0.85rem 1.25rem; border-radius: 12px;
  font-family: 'Cabinet Grotesk', sans-serif; font-size: 0.93rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.analytics-btn:hover { border-color: var(--accent2); background: rgba(41,82,179,0.04); }

/* ════════════════════════════════════════
   RESPONSIVE — INDEX
════════════════════════════════════════ */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .desktop-nav { display: none; }
  .hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    cursor: pointer; z-index: 2001; background: none; border: none;
    padding: 8px; border-radius: 10px; transition: background 0.2s;
  }
  .hamburger:hover { background: rgba(255,255,255,0.08); }
  .hamburger span {
    display: block; width: 22px; height: 2px; background: white;
    border-radius: 2px; transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), opacity 0.3s, width 0.3s;
    transform-origin: center;
  }
  .hamburger span:nth-child(2) { width: 16px; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 7rem 1.5rem 3rem; min-height: auto; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .search-box { flex-direction: column; gap: 0; border-radius: 16px; }
  .search-box input { width: 100%; }
  .search-divider { width: 100%; height: 1px; margin: 0 8px; }
  .search-box button { border-radius: 10px; width: 100%; }
  .hero-tags { gap: 0.5rem; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .stat { padding: 1.8rem 1rem; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid rgba(13,27,62,0.1); border-right: 1px solid rgba(13,27,62,0.1); }
  .stat:nth-child(4) { border-top: 1px solid rgba(13,27,62,0.1); }
  .stat-num { font-size: 2rem; }
  .market-filters { padding: 1.5rem; }
  .filter-container { flex-direction: column; align-items: stretch; }
  .filter-container input, .filter-container select, .filter-btn { width: 100%; }
  .filter-container input { min-width: unset; }
  .featured { padding: 2.5rem 1.5rem; }
  .vendor-card { flex: 0 0 100% !important; min-width: 100% !important; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .section-header h2 { font-size: 1.7rem; }
  .carousel-arrows { display: none; }
  .carousel-dots { display: flex; }
  .carousel-controls { justify-content: center; }
  .search-preview { grid-template-columns: 1fr; padding: 0 1.5rem 2.5rem; }
  .map-wrapper { height: 240px; }
  .activity { padding: 0 1.5rem 2.5rem; }
  .activity-grid { grid-template-columns: 1fr; }
  .cta { margin: 0 1.5rem 2.5rem; padding: 3rem 1.5rem; border-radius: 20px; }
  .cta h2 { font-size: 2rem; }
  footer { flex-direction: column; gap: 1.2rem; text-align: center; padding: 2.5rem 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
  .floating-cta { bottom: 1.2rem; right: 1.2rem; padding: 0.85rem 1.4rem; font-size: 0.85rem; }
}
@media (max-width: 900px) {
  .vendor-card { flex: 0 0 calc(50% - 0.75rem); min-width: calc(50% - 0.75rem); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .stat-num { font-size: 1.7rem; }
}

/* ════════════════════════════════════════
   RESPONSIVE — VENDOR PAGE
════════════════════════════════════════ */
@media (max-width: 860px) {
  .navbar-vendor { padding: 0 1.1rem; }
  .nav-back { left: 1.1rem; font-size: 0.8rem; }
  .nav-profile-wrap { right: 1.1rem; }
  .profile-btn .btn-label { display: none; }
  .page-layout { grid-template-columns: 1fr; padding: 1rem 0.9rem 6rem; gap: 0; }
  .main-col  { order: 0; }
  .card { padding: 1.1rem; margin-bottom: 1rem; border-radius: 14px; }
  .card-title { font-size: 0.98rem; }
  .hero-card { margin-bottom: 1rem; border-radius: 14px; }
  .hero-carousel { aspect-ratio: 16/8; }
  .hero-info { padding: 1rem 1.1rem 1.2rem; }
  .hero-name-row { gap: 0.75rem; margin-bottom: 0.6rem; }
  .hero-name-row h1 { font-size: 1.25rem; }
  .vendor-avatar { width: 46px; height: 46px; font-size: 1.3rem; border-radius: 10px; }
  .badge { font-size: 0.62rem; padding: 0.18rem 0.5rem; }
  .badge-row { gap: 0.3rem; margin-top: 0.3rem; }
  .meta-item { font-size: 0.79rem; }
  .meta-divider { margin: 0 0.5rem; }
  .service-list { grid-template-columns: 1fr; gap: 0.45rem; }
  .map-container { height: 185px; }
  .review-text { font-size: 0.84rem; }
  .owner-banner { flex-wrap: wrap; }
  .owner-banner-btn { width: 100%; text-align: center; }
}
@media (max-width: 500px) {
  .sidebar-stats { grid-template-columns: repeat(4,1fr); gap: 0.5rem; }
  .sidebar-stat strong { font-size: 1rem; }
}
@media (max-width: 380px) {
  .page-layout { padding: 0.75rem 0.65rem 6rem; }
  .hero-name-row h1 { font-size: 1.1rem; }
  .sidebar-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .testimonials { padding: 0 1.5rem 2.5rem !important; }
}