/* ═══════════════════════════════════════════════════════════
   IDLESELL.COM — PREMIUM MARKETPLACE STYLESHEET
   Dubai Luxury Aesthetic · Cormorant Garamond + DM Sans
═══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ──────────────────────────────────────── */
:root {
  /* Light Mode */
  --bg:           #FFFFFF;
  --bg-secondary: #F5F5F5;
  --bg-card:      #FFFFFF;
  --bg-input:     #F8F8F8;
  --border:       #E8E8E8;
  --border-strong:#D0D0D0;
  --text:         #0A0A0A;
  --text-secondary:#555555;
  --text-muted:   #888888;
  --gold:         #D4A017;
  --gold-light:   #E8B84B;
  --gold-dark:    #B8880E;
  --gold-bg:      rgba(212,160,23,0.08);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.14);
  --shadow-gold:  0 4px 24px rgba(212,160,23,0.25);
  --header-bg:    rgba(255,255,255,0.96);
  --overlay:      rgba(0,0,0,0.4);
  --admin-bg:     #0F0F0F;
  --admin-card:   #1A1A1A;
  --admin-border: #2A2A2A;
  --admin-text:   #FFFFFF;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg:           #0A0A0A;
  --bg-secondary: #141414;
  --bg-card:      #1A1A1A;
  --bg-input:     #222222;
  --border:       #2A2A2A;
  --border-strong:#3A3A3A;
  --text:         #F5F5F5;
  --text-secondary:#AAAAAA;
  --text-muted:   #666666;
  --gold:         #E8B84B;
  --gold-light:   #F0C966;
  --gold-dark:    #D4A017;
  --gold-bg:      rgba(232,184,75,0.10);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.5);
  --shadow-gold:  0 4px 32px rgba(232,184,75,0.35);
  --header-bg:    rgba(10,10,10,0.96);
  --overlay:      rgba(0,0,0,0.65);
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, .logo { font-family: 'Cormorant Garamond', serif; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; line-height: 1.15; }
h3 { font-size: 1.3rem; font-weight: 600; }

/* ── CONTAINER ──────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ── LOGO ───────────────────────────────────────────────── */
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.logo-idle { color: var(--text); }
.logo-sell { color: var(--gold); }
.logo-dot  { color: var(--gold); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-gold {
  background: var(--gold);
  color: #0A0A0A;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-gold.btn-lg { padding: 14px 32px; font-size: 0.95rem; border-radius: var(--radius-md); }
.btn-gold.btn-full { width: 100%; justify-content: center; padding: 14px; }
.btn-outline {
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-bg);
}
.btn-outline.btn-lg { padding: 14px 32px; font-size: 0.95rem; border-radius: var(--radius-md); }
.btn-ghost {
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.btn-ghost:hover { background: var(--bg-secondary); }
.btn-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.btn-icon:hover { border-color: var(--gold); color: var(--gold); }
.btn-icon svg { width: 18px; height: 18px; }
.btn-whatsapp {
  background: #25D366;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition);
}
.btn-whatsapp:hover { background: #1db954; transform: translateY(-1px); }
.btn-whatsapp svg { width: 18px; height: 18px; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 68px;
  display: flex; align-items: center; gap: 40px;
}
.main-nav { display: flex; gap: 32px; flex: 1; }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  cursor: pointer;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform var(--transition);
  border-radius: 2px;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-sun { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ── PAGES ──────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }
#pages-wrapper { padding-top: 68px; }

/* ── SCROLL ANIMATIONS ──────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── HERO ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.75) 0%,
    rgba(10,10,10,0.55) 50%,
    rgba(10,10,10,0.4) 100%
  );
}
[data-theme="dark"] .hero-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 800px;
}
.hero-tag {
  display: inline-block;
  background: rgba(212,160,23,0.25);
  border: 1px solid rgba(212,160,23,0.5);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.0;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-btns .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.hero-btns .btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  color: white;
}
.hero-trust-row {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.hero-trust-row span { display: flex; align-items: center; gap: 8px; }
.hero-trust-row svg { width: 14px; height: 14px; fill: var(--gold); }

/* Search */
.hero-search {
  position: relative; z-index: 2;
  width: 100%; max-width: 860px;
  padding: 0 20px;
  margin-top: 40px;
}
.search-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  transition: box-shadow var(--transition);
}
.search-box:focus-within { box-shadow: var(--shadow-lg), 0 0 0 2px var(--gold); }
.search-category, .search-location {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.875rem;
  padding: 10px 14px;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  min-width: 160px;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.95rem;
  padding: 10px 16px;
}
.search-input::placeholder { color: var(--text-muted); }
.search-divider {
  width: 1px; height: 24px;
  background: var(--border);
  flex-shrink: 0;
}
.search-btn {
  background: var(--gold);
  color: #0A0A0A;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.search-btn:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.search-btn svg { width: 16px; height: 16px; }

/* ── SECTION SHARED ─────────────────────────────────────── */
.section-header {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-tag {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 4px 12px; border-radius: 100px;
}
.section-title { font-family: 'Cormorant Garamond', serif; color: var(--text); }
.section-link {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--gold);
  transition: gap var(--transition);
  cursor: pointer;
}
.section-link:hover { gap: 10px; }
.section-link svg { width: 14px; height: 14px; }

/* ── CATEGORIES ─────────────────────────────────────────── */
.categories-section { padding: 100px 0 80px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.cat-card:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.cat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.cat-icon svg { width: 24px; height: 24px; color: var(--text-secondary); transition: color var(--transition); }
.cat-card:hover .cat-icon { background: var(--gold); }
.cat-card:hover .cat-icon svg { color: #0A0A0A; }
.cat-card span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
  transition: color var(--transition);
}
.cat-card:hover span { color: var(--gold); }

/* ── PRODUCT CARDS ──────────────────────────────────────── */
.listings-section { padding: 0 0 100px; }
.listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
}
.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .card-image-wrap img { transform: scale(1.08); }
.card-condition {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase;
}
.badge-like-new { background: rgba(34,197,94,0.15); color: #16a34a; border: 1px solid rgba(34,197,94,0.3); }
.badge-good      { background: rgba(59,130,246,0.15); color: #2563eb; border: 1px solid rgba(59,130,246,0.3); }
.badge-fair      { background: rgba(245,158,11,0.15); color: #d97706; border: 1px solid rgba(245,158,11,0.3); }
[data-theme="dark"] .badge-like-new { background: rgba(34,197,94,0.2); color: #4ade80; }
[data-theme="dark"] .badge-good     { background: rgba(59,130,246,0.2); color: #60a5fa; }
[data-theme="dark"] .badge-fair     { background: rgba(245,158,11,0.2); color: #fbbf24; }
.card-heart {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: none;
}
.card-heart:hover { transform: scale(1.15); }
.card-heart svg { width: 16px; height: 16px; color: var(--text-muted); transition: all var(--transition); stroke-width: 2; }
.card-heart.active svg { fill: #e11d48; color: #e11d48; }
.card-body { padding: 16px; }
.card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.card-title {
  font-size: 0.9rem; font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-muted);
}
.card-location { display: flex; align-items: center; gap: 4px; }
.card-location svg { width: 12px; height: 12px; flex-shrink: 0; }
.card-time { font-size: 0.75rem; }
.card-seller-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted);
}
.seller-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
  color: #0A0A0A;
  flex-shrink: 0;
}

/* List view */
.listings-grid.list-view {
  grid-template-columns: 1fr;
}
.listings-grid.list-view .product-card {
  display: flex; flex-direction: row;
}
.listings-grid.list-view .card-image-wrap {
  width: 180px; min-width: 180px;
  aspect-ratio: unset;
  height: 140px;
}
.listings-grid.list-view .card-body {
  flex: 1; padding: 16px 20px;
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.hiw-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.hiw-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(25% / 2); right: calc(25% / 2);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0.3;
  pointer-events: none;
}
.hiw-step { text-align: center; }
.hiw-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.hiw-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}
.hiw-icon svg { width: 28px; height: 28px; color: var(--gold); }
.hiw-step:hover .hiw-icon {
  background: var(--gold);
  box-shadow: var(--shadow-gold);
}
.hiw-step:hover .hiw-icon svg { color: #0A0A0A; }
.hiw-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.hiw-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ── STATS ──────────────────────────────────────────────── */
.stats-section { padding: 100px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-card {
  text-align: center;
  padding: 48px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── WHY SECTION ────────────────────────────────────────── */
.why-section { padding: 100px 0; background: var(--bg-secondary); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.why-icon {
  width: 56px; height: 56px;
  background: var(--gold-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.why-icon svg { width: 24px; height: 24px; color: var(--gold); }
.why-card:hover .why-icon { background: var(--gold); }
.why-card:hover .why-icon svg { color: #0A0A0A; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-section { padding: 80px 0; }
.cta-inner {
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1204 50%, #0A0A0A 100%);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(212,160,23,0.2);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-text h2 { color: white; font-size: 2rem; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,0.65); font-size: 1rem; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p { font-size: 0.875rem; color: var(--text-secondary); margin: 16px 0 24px; line-height: 1.7; }
.footer-logo { font-size: 1.5rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-col a {
  display: block; margin-bottom: 10px;
  font-size: 0.875rem; color: var(--text-secondary);
  transition: color var(--transition);
  cursor: pointer;
}
.footer-col a:hover { color: var(--gold); }
.footer-newsletter p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 14px; }
.newsletter-form {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.newsletter-form input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--gold); }
.app-badges { display: flex; flex-direction: column; gap: 8px; }
.app-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 500;
  transition: all var(--transition);
}
.app-badge:hover { border-color: var(--gold); }
.app-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.badge-sub { font-size: 0.7rem; color: var(--text-muted); margin-left: auto; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 0.8rem; color: var(--text-muted);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

/* ── BROWSE PAGE ────────────────────────────────────────── */
.browse-layout {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 40px;
  padding: 48px 32px;
  min-height: calc(100vh - 68px);
}
.browse-sidebar {
  width: 260px; min-width: 260px;
  flex-shrink: 0;
  position: sticky; top: 100px; align-self: flex-start;
  max-height: calc(100vh - 120px); overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.sidebar-header h3 { font-size: 1.1rem; }
.clear-filters-btn {
  font-size: 0.8rem; color: var(--gold);
  background: none; border: none; cursor: pointer;
  font-family: inherit;
}
.filter-group { margin-bottom: 28px; }
.filter-group h4 {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 12px;
}
.filter-group label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--text-secondary);
  cursor: pointer; margin-bottom: 8px;
  transition: color var(--transition);
}
.filter-group label:hover { color: var(--gold); }
.filter-group input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.price-range input:focus { border-color: var(--gold); }
.price-range span { color: var(--text-muted); font-size: 0.875rem; }
.filter-group select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.filter-group select:focus { border-color: var(--gold); }
.filter-apply-btn { width: 100%; margin-top: 8px; padding: 12px; justify-content: center; }
.browse-main { flex: 1; }
.browse-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.browse-results-info { font-size: 0.875rem; color: var(--text-secondary); }
.browse-controls { display: flex; align-items: center; gap: 12px; }
#sort-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  font-family: inherit;
}
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.view-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  background: var(--bg-input);
}
.view-btn:hover { color: var(--text); }
.view-btn.active { background: var(--gold); color: #0A0A0A; }
.view-btn svg { width: 14px; height: 14px; }
.load-more-wrap { text-align: center; margin: 48px 0; }
.browse-main .listings-grid { grid-template-columns: repeat(3, 1fr); }

/* ── DETAIL PAGE ────────────────────────────────────────── */
.detail-container { padding: 48px 32px; max-width: 1280px; margin: 0 auto; }
.detail-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 32px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.gallery-nav:hover { background: var(--gold); color: #0A0A0A; }
.gallery-nav svg { width: 16px; height: 16px; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-thumbs {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px; height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.detail-category {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}
.detail-condition { font-size: 0.75rem; }
.detail-title { font-size: 2rem; margin-bottom: 16px; line-height: 1.2; }
.detail-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.detail-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.875rem; color: var(--text-secondary);
  margin-bottom: 20px;
}
.detail-location svg { width: 14px; height: 14px; color: var(--gold); }
.detail-description {
  font-size: 0.9rem; line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.detail-meta-row {
  display: flex; gap: 24px;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 28px;
}
.detail-actions {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.seller-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex; gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.seller-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  color: #0A0A0A;
  flex-shrink: 0;
}
.seller-info { flex: 1; }
.seller-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.seller-since { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.seller-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 0.8rem; }
.stars { color: var(--gold); }
.rating-val { font-weight: 700; }
.rating-count { color: var(--text-muted); }
.seller-response { font-size: 0.8rem; color: var(--text-secondary); }
.seller-actions { display: flex; flex-direction: column; gap: 8px; min-width: 160px; }
.safety-tips {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
}
.safety-tips h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 10px; color: var(--gold); }
.safety-tips li { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 4px; padding-left: 12px; position: relative; }
.safety-tips li::before { content: '·'; position: absolute; left: 0; color: var(--gold); }
.similar-section { margin-top: 48px; }
.similar-section h3 { font-size: 1.5rem; margin-bottom: 24px; }
.similar-scroll {
  display: flex; gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.similar-scroll .product-card { min-width: 240px; max-width: 240px; }

/* ── SELL PAGE ──────────────────────────────────────────── */
.sell-container { max-width: 760px; margin: 0 auto; padding: 60px 32px 80px; }
.sell-header { text-align: center; margin-bottom: 48px; }
.sell-header h1 { font-size: 2.5rem; margin-bottom: 8px; }
.sell-header p { font-size: 1rem; color: var(--text-secondary); }
.sell-progress { margin-bottom: 48px; }
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 0.4s ease;
}
.progress-steps {
  display: flex; justify-content: space-between;
}
.prog-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--text-muted); font-weight: 500;
}
.prog-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  transition: all var(--transition);
}
.prog-step.active .prog-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: #0A0A0A;
}
.prog-step.done .prog-dot {
  background: #16a34a;
  border-color: #16a34a;
  color: white;
}
.prog-step.active span { color: var(--gold); }
.sell-step { display: none; }
.sell-step.active { display: block; }
.sell-step h2 { font-size: 1.8rem; margin-bottom: 8px; }
.step-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 32px; }
.upload-area {
  border: 2px dashed var(--gold);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--gold-bg);
  margin-bottom: 24px;
}
.upload-area:hover { background: rgba(212,160,23,0.12); }
.upload-icon svg { width: 48px; height: 48px; color: var(--gold); margin: 0 auto 16px; }
.upload-area h3 { font-size: 1.1rem; margin-bottom: 8px; }
.upload-area p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 4px; }
.upload-link { color: var(--gold); cursor: pointer; text-decoration: underline; }
.upload-hint { font-size: 0.8rem !important; color: var(--text-muted) !important; }
.uploaded-photos { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.photo-preview {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.req { color: var(--gold); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-bg);
}
.form-group textarea { resize: vertical; }
.condition-radio { display: flex; gap: 12px; }
.radio-card {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  font-size: 0.875rem; font-weight: 500;
}
.radio-card input { display: none; }
.radio-card:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-bg);
  color: var(--gold);
}
.step-nav { display: flex; gap: 12px; margin-top: 32px; }
.pricing-box { margin-bottom: 32px; }
.price-input-wrap {
  display: flex; align-items: center; gap: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  transition: border-color var(--transition);
}
.price-input-wrap:focus-within { border-color: var(--gold); }
.currency-label {
  padding: 0 20px;
  background: var(--bg-secondary);
  border-right: 2px solid var(--border);
  font-size: 0.875rem; font-weight: 700;
  color: var(--text-secondary);
  height: 60px;
  display: flex; align-items: center;
}
.price-big-input {
  flex: 1;
  border: none; outline: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--text);
  padding: 0 20px;
  background: var(--bg-input);
  height: 60px;
}
.price-big-input::placeholder { color: var(--text-muted); font-weight: 400; }
.price-suggest-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  transition: all var(--transition);
  margin-bottom: 16px;
}
.price-suggest-btn:hover { background: var(--gold-bg); }
.price-suggest-btn svg { width: 16px; height: 16px; }
.price-suggestion {
  background: var(--gold-bg);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.negotiable-row { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; font-weight: 500; }
.toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle-switch {
  position: relative;
  width: 44px; height: 24px;
  background: var(--border-strong);
  border-radius: 100px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.toggle-switch::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform var(--transition);
}
.toggle-label input:checked ~ .toggle-switch { background: var(--gold); }
.toggle-label input:checked ~ .toggle-switch::after { transform: translateX(20px); }
.toggle-label input { display: none; }
.pickup-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pickup-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 500;
}
.pickup-card input { display: none; }
.pickup-card:has(input:checked) { border-color: var(--gold); background: var(--gold-bg); color: var(--gold); }
.pickup-icon svg { width: 28px; height: 28px; }
.review-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
}
.review-card .review-image { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }
.review-row { display: flex; gap: 8px; margin-bottom: 10px; font-size: 0.875rem; }
.review-label { font-weight: 700; min-width: 100px; color: var(--text-secondary); }
.btn-post { font-size: 1rem; padding: 16px 40px; }

/* ── AUTH MODAL ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  padding: 20px;
}
.modal-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px; width: 100%;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity:0; transform:scale(0.95) translateY(10px); } to { opacity:1; transform:scale(1) translateY(0); } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.modal-close:hover { border-color: var(--text); color: var(--text); }
.modal-close svg { width: 14px; height: 14px; }
.modal-logo { font-size: 1.75rem; text-align: center; margin-bottom: 28px; }
.auth-tabs { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 28px; }
.auth-tab {
  flex: 1; padding: 10px; text-align: center;
  font-size: 0.875rem; font-weight: 600;
  transition: all var(--transition);
  color: var(--text-secondary);
}
.auth-tab.active { background: var(--gold); color: #0A0A0A; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.google-btn {
  width: 100%; padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--text);
  background: var(--bg);
  transition: all var(--transition);
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 20px;
}
.google-btn:hover { border-color: var(--border-strong); background: var(--bg-secondary); }
.auth-divider { text-align: center; position: relative; margin: 16px 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { position: relative; background: var(--bg); padding: 0 12px; font-size: 0.8rem; color: var(--text-muted); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.forgot-pw { font-size: 0.8rem; color: var(--gold); align-self: flex-end; cursor: pointer; }

/* ── ADMIN ──────────────────────────────────────────────── */
#page-admin { background: var(--admin-bg); min-height: calc(100vh - 68px); }
#admin-gate {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 68px);
  padding: 40px;
}
.admin-gate-box {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 400px; width: 100%;
  text-align: center;
}
.admin-gate-box h2 { color: white; margin: 16px 0 8px; font-size: 1.8rem; }
.admin-gate-box p { color: #777; font-size: 0.875rem; margin-bottom: 28px; }
.admin-gate-box .form-group { text-align: left; }
.admin-gate-box .form-group label { color: #aaa; }
.admin-gate-box .form-group input {
  background: #0A0A0A;
  border-color: var(--admin-border);
  color: white;
}
.admin-pw-error { display: block; color: #e11d48; font-size: 0.8rem; margin-top: 4px; }
.admin-layout { display: flex; height: calc(100vh - 68px); }
.admin-sidebar {
  width: 240px; min-width: 240px;
  background: var(--admin-card);
  border-right: 1px solid var(--admin-border);
  display: flex; flex-direction: column;
  padding: 24px 0;
  overflow-y: auto;
}
.admin-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--admin-border);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.admin-badge {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: #0A0A0A;
  padding: 2px 8px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  font-size: 0.875rem; font-weight: 500;
  color: #777;
  transition: all var(--transition);
  cursor: pointer;
}
.admin-nav-link svg { width: 16px; height: 16px; }
.admin-nav-link:hover { color: white; background: rgba(255,255,255,0.05); }
.admin-nav-link.active { color: var(--gold); background: rgba(212,160,23,0.1); border-right: 2px solid var(--gold); }
.admin-back-btn { margin-top: auto; border-top: 1px solid var(--admin-border); padding-top: 20px; }
.admin-content {
  flex: 1; overflow-y: auto;
  padding: 32px;
  background: var(--admin-bg);
  color: var(--admin-text);
}
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.admin-page-header h1 { font-size: 1.8rem; color: white; }
.admin-date { font-size: 0.875rem; color: #666; }
.admin-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color var(--transition);
}
.admin-stat-card:hover { border-color: var(--gold); }
.ast-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #666; margin-bottom: 8px; }
.ast-value { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.ast-change { font-size: 0.75rem; font-weight: 600; }
.ast-change.positive { color: #4ade80; }
.ast-change.negative { color: #f87171; }
.admin-charts-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 32px;
}
.admin-chart-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.admin-chart-card h3 { font-size: 0.9rem; color: #aaa; margin-bottom: 20px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.admin-chart-card canvas { max-height: 240px; }
.full-width-chart { grid-column: 1 / -1; }
.admin-activity { background: var(--admin-card); border: 1px solid var(--admin-border); border-radius: var(--radius-md); padding: 24px; }
.admin-activity h3 { font-size: 0.9rem; color: #aaa; margin-bottom: 20px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.activity-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--admin-border);
  font-size: 0.875rem; color: #aaa;
}
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.admin-table-wrap { background: var(--admin-card); border: 1px solid var(--admin-border); border-radius: var(--radius-md); overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.admin-table th {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  border-bottom: 1px solid var(--admin-border);
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #ccc;
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-table img { width: 48px; height: 36px; object-fit: cover; border-radius: 4px; }
.status-badge {
  display: inline-flex;
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
}
.status-active   { background: rgba(74,222,128,0.15); color: #4ade80; }
.status-sold     { background: rgba(212,160,23,0.15); color: var(--gold); }
.status-pending  { background: rgba(251,191,36,0.15); color: #fbbf24; }
.status-flagged  { background: rgba(248,113,113,0.15); color: #f87171; }
.admin-actions { display: flex; gap: 6px; }
.admin-action-btn {
  font-size: 0.75rem; padding: 5px 10px;
  border-radius: 4px; font-weight: 600;
  transition: all var(--transition);
  font-family: inherit;
  cursor: pointer;
}
.btn-edit   { background: rgba(59,130,246,0.15); color: #60a5fa; }
.btn-delete { background: rgba(248,113,113,0.15); color: #f87171; }
.btn-feature { background: rgba(212,160,23,0.15); color: var(--gold); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.settings-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.settings-card h3 { font-size: 1rem; color: white; margin-bottom: 20px; font-family: 'DM Sans'; }
.settings-card .form-group { margin-bottom: 16px; }
.settings-card label { color: #aaa; }
.settings-card input { background: #0A0A0A; border-color: var(--admin-border); color: white; }

/* ── TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--text);
  color: var(--bg);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── MOBILE NAV OVERLAY ─────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  padding: 80px 32px 40px;
  flex-direction: column; gap: 8px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay .nav-link {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.mobile-close svg { width: 16px; height: 16px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(5,1fr); }
  .listings-grid { grid-template-columns: repeat(3,1fr); }
  .browse-main .listings-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .categories-grid { grid-template-columns: repeat(4,1fr); }
  .hiw-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats-grid { grid-template-columns: repeat(2,1fr); }
  .admin-charts-row { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .hero-headline { font-size: 3rem; }
  .search-category, .search-location { display: none; }
  .search-divider { display: none; }
  .categories-grid { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .listings-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .browse-layout { flex-direction: column; padding: 16px; }
  .browse-sidebar { width: 100%; min-width: unset; position: static; max-height: none; }
  .browse-main .listings-grid { grid-template-columns: repeat(2,1fr); }
  .hiw-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; padding: 40px 24px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; min-width: unset; height: auto; flex-direction: row; flex-wrap: wrap; padding: 10px; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .seller-card { flex-direction: column; }
  .sell-container { padding: 40px 16px 60px; }
  .pickup-options { grid-template-columns: 1fr; }
}
