/* ═══════════════════════════════════════════════════════════════
   VERDANT MARKET — styles.css
   Premium Mobile-First Marketplace UI
═══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  --bg:        #f8fafc;
  --bg-card:   #ffffff;
  --bg-input:  #f1f5f9;
  --surface:   #ffffff;
  --surface-2: #f8fafc;

  --text:      #0f172a;
  --text-2:    #475569;
  --text-3:    #94a3b8;
  --border:    #e2e8f0;
  --border-2:  #cbd5e1;

  --primary:      var(--green-600);
  --primary-lt:   var(--green-50);
  --primary-glow: 0 0 24px rgba(22, 163, 74, 0.35);

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.15);

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --nav-h:      72px;
  --header-h:   110px;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
  --spring:     0.45s cubic-bezier(.34,1.56,.64,1);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

[data-theme="dark"] {
  --bg:        #0a0f1a;
  --bg-card:   #111827;
  --bg-input:  #1e293b;
  --surface:   #111827;
  --surface-2: #0f172a;

  --text:      #f1f5f9;
  --text-2:    #94a3b8;
  --text-3:    #475569;
  --border:    #1e293b;
  --border-2:  #334155;

  --primary-lt: rgba(22,163,74,.15);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.5);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; }

/* ═══════════════════════════════════════════════════════════════
   TOP HEADER
═══════════════════════════════════════════════════════════════ */
.top-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding-bottom: 12px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon { font-size: 24px; }

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  color: var(--text-2);
}

.icon-btn:hover { background: var(--border); transform: scale(1.05); }

.icon-btn .avatar-sm {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  object-fit: cover;
}

.icon .icon { width: 18px; height: 18px; }

/* Search Bar */
.search-wrap { padding: 0 16px; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}

.search-icon {
  width: 18px; height: 18px;
  color: var(--text-3);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
}

.search-input::placeholder { color: var(--text-3); }

.filter-btn {
  width: 30px; height: 30px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.filter-btn:hover { transform: scale(1.08); }
.filter-btn .icon { width: 15px; height: 15px; }

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════════════════════════ */
.main-content {
  padding-top: calc(var(--header-h) + 8px);
  padding-bottom: calc(var(--nav-h) + 20px);
  min-height: 100vh;
}

/* ── Section Pages ─────────────────────────────────────────── */
.page { display: none; animation: fadeUp .35s ease; }
.page.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}









 /* new */
 

/* ── Followers & Monetization ───────────────────── */
.card-followers {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  color: var(--text-3);
  margin-top: 3px;
}
.card-followers svg { width: 11px; height: 11px; flex-shrink: 0; }

.monetization-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--text-3);
}
.monetization-badge.on  { color: var(--primary); }
.monetization-badge.off { color: var(--text-3);  }
[data-theme="dark"] .monetization-badge.on  { color: var(--green-400); }
[data-theme="dark"] .monetization-badge.off { color: var(--text-3);    }
[data-theme="dark"] .card-followers         { color: var(--text-2);    }







/* new off */



/* ── Hero Banners ──────────────────────────────────────────── */
.page-hero {
  margin: 16px 16px 0;
  border-radius: var(--radius-xl);
  padding: 28px 22px 22px;
  color: white;
  position: relative;
  overflow: hidden;
}

.channels-hero  { background: linear-gradient(135deg, #166534 0%, #22c55e 100%); }
.vehicles-hero  { background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%); }
.materials-hero { background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%); }

.page-hero::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50px; right: 40px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-sub { font-size: 13px; opacity: .85; margin-bottom: 14px; }

.hero-stats { display: flex; gap: 8px; flex-wrap: wrap; }

.stat-pill {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* ── Chip Scroll ───────────────────────────────────────────── */
.chip-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 16px;
  scrollbar-width: none;
}

.chip-scroll::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-input);
  color: var(--text-2);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  white-space: nowrap;
}

.chip.active, .chip:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   LISTING CARDS GRID
═══════════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 12px 16px;
}

/* ── Skeleton Loading ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--bg-input) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card { height: 240px; border-radius: var(--radius-lg); }

/* ── Listing Card ──────────────────────────────────────────── */
.listing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  animation: cardIn .4s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.listing-card:active { transform: scale(.97); }

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.listing-card:hover .card-img { transform: scale(1.05); }

.card-badge {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-badge-row {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.badge-auction {
  background: #ef4444;
  color: white;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.4); }
  50%       { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

.badge-buy { background: var(--primary); color: white; }
.badge-negotiable { background: #f59e0b; color: white; }

/* ── Package badges ── */
.badge-pkg-silver {
  background: linear-gradient(135deg,#94a3b8,#cbd5e1);
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.badge-pkg-gold {
  background: linear-gradient(135deg,#d97706,#fbbf24);
  color: #fff;
  box-shadow: 0 2px 8px rgba(217,119,6,.5);
  animation: pkgGoldPulse 2s infinite;
}
.badge-pkg-platinum {
  background: linear-gradient(135deg,#7c3aed,#a78bfa);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124,58,237,.55);
  animation: pkgPlatinumPulse 2s infinite;
}
@keyframes pkgGoldPulse     { 0%,100%{box-shadow:0 2px 8px rgba(217,119,6,.5)}   50%{box-shadow:0 2px 14px rgba(217,119,6,.85)} }
@keyframes pkgPlatinumPulse { 0%,100%{box-shadow:0 2px 8px rgba(124,58,237,.55)} 50%{box-shadow:0 2px 14px rgba(124,58,237,.9)} }

.card-actions {
  position: absolute;
  top: 8px; right: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-action-btn {
  width: 30px; height: 30px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,.5);
}

.card-action-btn:hover { background: white; color: var(--primary); transform: scale(1.1); }
.card-action-btn.fav-active { color: #ef4444; }
.card-action-btn svg { width: 14px; height: 14px; }

.card-body { padding: 10px 11px 12px; }

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-3);
}

.card-meta svg { width: 11px; height: 11px; flex-shrink: 0; }

.card-meta-dot {
  width: 3px; height: 3px;
  background: var(--border-2);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM NAVIGATION
═══════════════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.07);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  color: var(--text-3);
  transition: color var(--transition), transform var(--transition);
  border-radius: var(--radius);
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
}

.nav-item.active .nav-icon { transform: scale(1.1); }

.nav-item:active { transform: scale(.92); }

.nav-icon svg { width: 22px; height: 22px; }

.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2px;
}

/* ── FAB ───────────────────────────────────────────────────── */
.nav-fab-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.fab-main {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: white;
  box-shadow: var(--primary-glow), 0 4px 16px rgba(22,163,74,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--spring), box-shadow var(--transition);
  margin-top: -20px;
  z-index: 10;
}

.fab-main:hover { box-shadow: var(--primary-glow), 0 8px 24px rgba(22,163,74,.5); }
.fab-main:active { transform: scale(.92); }

.fab-icon { width: 24px; height: 24px; transition: transform var(--spring); }
.fab-main.open .fab-icon { transform: rotate(45deg); }

/* Radial fab items */
.fab-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 9;
}

.fab-menu.open {
  pointer-events: auto;
  opacity: 1;
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  padding: 10px 18px 10px 12px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
  transform: translateY(20px) scale(.8);
  opacity: 0;
  transition: all var(--spring);
  white-space: nowrap;
}

.fab-menu.open .fab-item:nth-child(1) { transform: translateY(0) scale(1); opacity: 1; transition-delay: .05s; }
.fab-menu.open .fab-item:nth-child(2) { transform: translateY(0) scale(1); opacity: 1; transition-delay: .1s;  }
.fab-menu.open .fab-item:nth-child(3) { transform: translateY(0) scale(1); opacity: 1; transition-delay: .15s; }

.fab-item:hover { background: var(--primary-lt); color: var(--primary); }

.fab-item-icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.fab-item-icon svg { width: 15px; height: 15px; }

.fab-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  background: rgba(0,0,0,.2);
  backdrop-filter: blur(2px);
}

.fab-overlay.open { display: block; }

/* ═══════════════════════════════════════════════════════════════
   MODALS & OVERLAYS
═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  z-index: 10;
  transition: background var(--transition), transform var(--transition);
}

.modal-close:hover { background: var(--border); transform: scale(1.1); }
.modal-close svg { width: 18px; height: 18px; }

/* ── Listing Detail Sheet ───────────────────────────────────── */
.modal-sheet {
  background: var(--surface);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--spring);
  position: relative;
}

.modal-overlay.open .modal-sheet { transform: translateY(0); }

/* Carousel */
.carousel {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-input);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(0,0,0,.45);
  border-radius: var(--radius-full);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
}

.carousel-btn:hover { background: rgba(0,0,0,.7); transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-btn svg  { width: 18px; height: 18px; }

.carousel-dots {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: all var(--transition);
  cursor: pointer;
}

.dot.active { background: white; width: 18px; border-radius: 3px; }

.carousel-auto-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,.5);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  letter-spacing: .3px;
}

/* Modal Body */
.modal-body { padding: 20px 18px 32px; }

.modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.modal-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-3);
}

.icon-sm { width: 13px; height: 13px; }

.modal-price-wrap { text-align: right; flex-shrink: 0; }

.modal-price {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.modal-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  background: var(--green-100);
  color: var(--green-700);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* Seller Card */
.seller-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-input);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 20px;
}

.seller-avatar {
  width: 46px; height: 46px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.seller-info { flex: 1; }

.seller-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.seller-rating {
  display: block;
  color: #f59e0b;
  font-size: 13px;
  margin-bottom: 1px;
}

.seller-since { display: block; font-size: 11px; color: var(--text-3); }

.seller-follow-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.seller-follow-btn:hover { transform: scale(1.05); box-shadow: var(--primary-glow); }

.modal-section { margin-bottom: 20px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Modal Details Grid */
.modal-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.detail-item {
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.detail-key {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--text-3);
  margin-bottom: 4px;
}

.detail-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* CTA */
.modal-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-contact {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-contact:hover { box-shadow: var(--primary-glow); transform: scale(1.02); }
.btn-contact svg { width: 18px; height: 18px; }

.btn-share, .btn-fav {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.btn-share:hover { background: var(--primary-lt); color: var(--primary); border-color: var(--primary); }
.btn-fav:hover   { background: #fef2f2; color: #ef4444; border-color: #fca5a5; }
.btn-fav.active  { background: #fef2f2; color: #ef4444; border-color: #fca5a5; }
.btn-share svg, .btn-fav svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════════
   FILTER BOTTOM SHEET
═══════════════════════════════════════════════════════════════ */
.filter-sheet {
  background: var(--surface);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--spring);
}

.modal-overlay.open .filter-sheet { transform: translateY(0); }

.filter-handle {
  width: 40px; height: 4px;
  background: var(--border-2);
  border-radius: 2px;
  margin: 12px auto 0;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.filter-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.filter-reset {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.filter-body { padding: 16px 20px; }

.filter-group { margin-bottom: 24px; }

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-3);
  margin-bottom: 10px;
}

.sort-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sort-chip {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-input);
  color: var(--text-2);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.sort-chip.active, .sort-chip:hover {
  background: var(--primary-lt);
  color: var(--primary);
  border-color: var(--primary);
}

/* Range slider */
.range-display {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}

.range-slider {
  width: 100%;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  margin-bottom: 8px;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(22,163,74,.2);
}

.filter-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.filter-select:focus { border-color: var(--primary); }

.filter-footer { padding: 12px 20px 28px; }

.btn-apply {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: white;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-apply:hover { transform: scale(1.02); box-shadow: var(--primary-glow); }

/* ═══════════════════════════════════════════════════════════════
   SHARE MODAL
═══════════════════════════════════════════════════════════════ */
.share-sheet {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: calc(100% - 32px);
  max-width: 400px;
  margin-bottom: 24px;
  transform: scale(.9) translateY(20px);
  transition: transform var(--spring);
}

.modal-overlay.open .share-sheet { transform: scale(1) translateY(0); }

.glass-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .glass-card {
  background: rgba(17,24,39,.85);
  border-color: rgba(255,255,255,.1);
}

.share-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.share-url-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: 11px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.share-url {
  flex: 1;
  font-size: 13px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.copy-btn:hover { transform: scale(1.15); }
.copy-btn svg { width: 16px; height: 16px; }

.share-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.share-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg-input);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.share-platform:hover { transform: scale(1.03); border-color: var(--primary); }

.sp-icon { font-size: 20px; }

.share-close {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}

.share-close:hover { background: var(--border); }

/* ═══════════════════════════════════════════════════════════════
   ADD LISTING SHEET
═══════════════════════════════════════════════════════════════ */
.add-sheet {
  background: var(--surface);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--spring);
}

.modal-overlay.open .add-sheet { transform: translateY(0); }

.add-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 5;
}

.add-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.add-form { padding: 20px; }

.img-upload-zone {
  border: 2px dashed var(--border-2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px;
  margin-bottom: 20px;
  background: var(--bg-input);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-3);
  font-size: 14px;
}

.img-upload-zone:hover {
  border-color: var(--primary);
  background: var(--primary-lt);
  color: var(--primary);
}

.upload-icon { width: 28px; height: 28px; }
.upload-hint { font-size: 11px; }

.form-group { margin-bottom: 16px; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-3);
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}

.form-textarea { resize: vertical; min-height: 90px; }

.condition-chips { display: flex; gap: 8px; flex-wrap: wrap; }

.cond-chip {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-input);
  color: var(--text-2);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.cond-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: white;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-submit:hover { transform: scale(1.02); box-shadow: var(--primary-glow); }
.btn-submit svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════════
   PROFILE SHEET
═══════════════════════════════════════════════════════════════ */
.profile-sheet {
  background: var(--surface);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 95vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--spring);
}

.modal-overlay.open .profile-sheet { transform: translateY(0); }

.profile-close {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 20;
}

.profile-hero {
  position: relative;
  padding: 0 20px 24px;
  text-align: center;
}

.profile-hero-bg {
  height: 110px;
  background: linear-gradient(135deg, var(--green-700), var(--green-400));
  border-radius: 0 0 32px 32px;
  margin: 0 -20px;
  margin-bottom: 0;
  position: relative;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-top: -44px;
}

.profile-avatar {
  width: 88px; height: 88px;
  border-radius: var(--radius-full);
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  background: var(--bg-input);
}

.verified-badge {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 22px; height: 22px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  border: 2px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 12px 0 4px;
}

.profile-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.profile-rating { margin-bottom: 4px; }
.stars { color: #f59e0b; font-size: 15px; }
.rating-num { font-size: 13px; color: var(--text-2); margin-left: 6px; }

.profile-since { font-size: 12px; color: var(--text-3); margin-bottom: 16px; }

.profile-actions { display: flex; gap: 10px; justify-content: center; }

.btn-follow {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-follow:hover { transform: scale(1.05); box-shadow: var(--primary-glow); }

.btn-message {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.btn-message:hover { border-color: var(--primary); color: var(--primary); }
.btn-message svg { width: 15px; height: 15px; }

.btn-edit-profile {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  color: var(--text-2);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.btn-edit-profile:hover { border-color: var(--primary); color: var(--primary); }
.btn-edit-profile svg { width: 15px; height: 15px; }

/* Profile Stats */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-card {
  background: var(--surface);
  padding: 16px 8px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.stat-lbl {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 2px;
}

/* Profile Tabs */
.profile-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 5;
}

.profile-tab {
  flex: 1;
  padding: 14px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.profile-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.profile-tab-content { padding: 16px; }

/* Reviews */
.review-card {
  background: var(--bg-input);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border);
}

.review-name { font-size: 14px; font-weight: 600; }
.review-date { font-size: 11px; color: var(--text-3); }
.review-stars { color: #f59e0b; font-size: 13px; }
.review-text { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* About Tab */
.about-section { margin-bottom: 20px; }
.about-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-3);
  margin-bottom: 6px;
}
.about-text { font-size: 14px; color: var(--text-2); line-height: 1.65; }

.seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-lt);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* Edit profile avatar */
.edit-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.edit-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.change-avatar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-lt);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: background var(--transition);
}

.change-avatar-btn:hover { background: var(--green-100); }
.change-avatar-btn svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all var(--transition);
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .toast { background: #f1f5f9; color: #0f172a; }

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-3);
}

.empty-state-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--text-2); }
.empty-state p { font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════
   DESKTOP — RIGHT SIDE NAV (≥ 1024px)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* Override mobile bottom nav to side nav */
  .bottom-nav {
    bottom: auto;
    top: 50%;
    left: auto;
    right: 20px;
    transform: translateY(-50%);
    height: auto;
    width: 72px;
    flex-direction: column;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 12px 6px;
    gap: 0;
    justify-content: center;
  }

  .nav-item {
    width: 100%;
    padding: 12px 8px;
    border-radius: var(--radius);
    gap: 4px;
  }

  .nav-label { display: none; }

  .nav-fab-wrap { width: 100%; justify-content: center; margin: 6px 0; }

  .fab-main { margin: 0; width: 50px; height: 50px; }

  .fab-menu {
    bottom: auto;
    top: 50%;
    right: calc(100% + 12px);
    left: auto;
    transform: translate(0, -50%);
    flex-direction: column-reverse;
  }

  .fab-menu.open { transform: translate(0, -50%); }

  /* Layout */
  body { padding-right: 100px; }

  .top-header { right: 100px; }

  .main-content { padding-top: calc(var(--header-h) + 8px); padding-bottom: 24px; }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 16px 24px;
  }

  .modal-sheet,
  .filter-sheet,
  .add-sheet,
  .profile-sheet {
    max-width: 680px;
    margin: auto;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    max-height: 88vh;
  }

  .modal-overlay {
    align-items: center;
  }

  .share-sheet { max-width: 420px; }
}

@media (min-width: 1280px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════════════ */
.hidden { display: none !important; }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}




/* ── Pagination Bar ──────────────────────────────────────────── */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px 100px;
  flex-wrap: wrap;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-2);
  background: var(--bg-card);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.page-btn:hover:not(.disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lt);
}
.page-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.page-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.page-num:hover:not(.dots) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lt);
}
.page-num.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--primary-glow);
}
.page-num.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: default;
  color: var(--text-3);
  pointer-events: none;
}





/* ═══════════════════════════════════════════════════
   PROFILE TAB CARDS — LIGHT MODE COLOR OVERRIDES
   Fixes hardcoded dark-only colors in pending/approved/sold tabs
═══════════════════════════════════════════════════ */

/* In light mode, override the hardcoded yellow/cream text colors */
[data-theme="light"] .listing-card .card-body p[style*="color:#FFFFC5"],
[data-theme="light"] .listing-card .card-body p[style*="color: #FFFFC5"] {
  color: #374151 !important;
}

[data-theme="light"] .listing-card .card-body p[style*="color:#FFDE21"],
[data-theme="light"] .listing-card .card-body p[style*="color: #FFDE21"] {
  color: #92400e !important;
}

/* Section header labels (the gradient banner above each group) */
[data-theme="light"] .profile-tab-content > div[style*="rgba(179,128,0"] p:first-child { color: #92400e !important; }
[data-theme="light"] .profile-tab-content > div[style*="rgba(179,128,0"] p:last-child  { color: #78350f !important; }

[data-theme="light"] .profile-tab-content > div[style*="rgba(0,128,0"]   p:first-child { color: #14532d !important; }
[data-theme="light"] .profile-tab-content > div[style*="rgba(0,128,0"]   p:last-child  { color: #166534 !important; }

[data-theme="light"] .profile-tab-content > div[style*="rgba(239,68,68"] p:first-child { color: #991b1b !important; }
[data-theme="light"] .profile-tab-content > div[style*="rgba(239,68,68"] p:last-child  { color: #7f1d1d !important; }

[data-theme="light"] .profile-tab-content > div[style*="rgba(34,197,94"] p:first-child { color: #14532d !important; }
[data-theme="light"] .profile-tab-content > div[style*="rgba(34,197,94"] p:last-child  { color: #166534 !important; }

[data-theme="light"] .profile-tab-content > div[style*="rgba(59,130,246"] p:first-child { color: #1e3a8a !important; }
[data-theme="light"] .profile-tab-content > div[style*="rgba(59,130,246"] p:last-child  { color: #1e40af !important; }

[data-theme="light"] .profile-tab-content > div[style*="rgba(193,28,132"] p:first-child { color: #831843 !important; }
[data-theme="light"] .profile-tab-content > div[style*="rgba(193,28,132"] p:last-child  { color: #9d174d !important; }

/* Inner box labels (exchange window, payment on hold, etc.) */
[data-theme="light"] .listing-card div[style*="rgba(0,128,0,0.12)"] p { color: #14532d !important; }
[data-theme="light"] .listing-card div[style*="rgba(179,128,0,0.12)"] p { color: #78350f !important; }
[data-theme="light"] .listing-card div[style*="rgba(239,68,68,0.1)"] p { color: #991b1b !important; }
[data-theme="light"] .listing-card div[style*="rgba(34,197,94,0.12)"] p { color: #14532d !important; }
[data-theme="light"] .listing-card div[style*="rgba(59,130,246,0.08)"] p { color: #1e3a8a !important; }
[data-theme="light"] .listing-card div[style*="rgba(193,28,132,0.12)"] p { color: #831843 !important; }
[data-theme="light"] .listing-card div[style*="rgba(245,158,11,0.1)"] p  { color: #92400e !important; }

/* Card price colors per state */
[data-theme="light"] .listing-card .card-body p[style*="color:#4ade80"]  { color: #14532d !important; }
[data-theme="light"] .listing-card .card-body p[style*="color:#f87171"]  { color: #991b1b !important; }
[data-theme="light"] .listing-card .card-body p[style*="color:#FFDE21"]  { color: #92400e !important; }
[data-theme="light"] .listing-card .card-body p[style*="color:#f472b6"]  { color: #831843 !important; }
[data-theme="light"] .listing-card .card-body p[style*="color:#60a5fa"]  { color: #1e3a8a !important; }

/* Card date text */
[data-theme="light"] .listing-card .card-body p[style*="color:var(--text-3)"] { color: #64748b !important; }



/* ── Bid History Popup ─────────────────────────────────────── */
@keyframes sheetDown {
  from { opacity:1; transform:translateY(0); }
  to   { opacity:0; transform:translateY(60px); }
}
