/* ============================================
   KENEDY ONLINE BUSINESS - Styles Principaux
   Couleurs: Or #FFD700, Bleu #1A6FD4, Fond #060810
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800;900&family=Great+Vibes&family=Dancing+Script:wght@700&display=swap');

:root {
  --gold: #FFD700;
  --gold-dark: #E6A800;
  --gold-light: #FFF3B0;
  --gold-gradient: linear-gradient(180deg, #FFD700 0%, #FF8C00 100%);
  --blue-primary: #1A6FD4;
  --blue-dark: #0A3D7C;
  --blue-light: #4FC3F7;
  --blue-cyan: #00B4D8;
  --bg-dark: #060810;
  --bg-card: #0D1526;
  --bg-card2: #111B35;
  --text-white: #F0F0F0;
  --text-muted: #8899BB;
  --border-color: #1A2A4A;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
  --shadow-blue: 0 0 20px rgba(26, 111, 212, 0.3);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--blue-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============ TYPOGRAPHY ============ */
.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-blue { color: var(--blue-cyan); }
.text-muted { color: var(--text-muted); }
.font-bebas { font-family: 'Bebas Neue', sans-serif; }
.font-script { font-family: 'Dancing Script', cursive; }

/* ============ NAVBAR ============ */
.navbar {
  background: rgba(6, 8, 16, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 20px;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-kenedy {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 8px;
  color: var(--blue-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.search-bar {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 10px 50px 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-white);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

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

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold-gradient);
  border: none;
  border-radius: 20px;
  padding: 7px 15px;
  color: #000;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.search-btn:hover { opacity: 0.9; transform: translateY(-50%) scale(1.05); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.nav-icon-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.btn-primary:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 25px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
}

.btn-secondary:hover {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
}

.btn-blue:hover {
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #EF4444, #B91C1C);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
}

.btn-success {
  background: linear-gradient(135deg, #22C55E, #15803D);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
}

.btn-sm { padding: 6px 14px; font-size: 12px; }

/* ============ CATEGORY NAV ============ */
.category-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 0 20px;
}

.category-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0;
}

.category-nav-inner::-webkit-scrollbar { display: none; }

.cat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  border: 1px solid transparent;
}

.cat-link:hover, .cat-link.active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0A1A3E 50%, var(--bg-dark) 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(26,111,212,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  line-height: 1;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--blue-cyan);
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-slogan {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: var(--text-white);
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.hero-stat h3 {
  font-size: 28px;
  font-family: 'Bebas Neue', sans-serif;
}

.hero-stat p {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,215,0,0.05), rgba(26,111,212,0.05));
}

/* ============ SECTIONS ============ */
.section {
  padding: 50px 20px;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
}

.section-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.product-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-card2);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold-gradient);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-badge.new { background: linear-gradient(135deg, #22C55E, #15803D); color: #fff; }
.product-badge.occasion { background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark)); color: #fff; }

.product-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(6,8,16,0.8);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.product-fav:hover, .product-fav.active {
  color: var(--danger);
  border-color: var(--danger);
}

.product-info {
  padding: 15px;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.stars { color: var(--gold); font-size: 12px; }
.rating-count { font-size: 11px; color: var(--text-muted); }

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.product-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-seller {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.seller-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.seller-name {
  font-size: 11px;
  color: var(--text-muted);
}

.seller-verified {
  color: var(--blue-cyan);
  font-size: 12px;
  margin-left: auto;
}

.product-actions {
  padding: 12px 15px;
  display: flex;
  gap: 8px;
}

.btn-cart {
  flex: 1;
  background: var(--gold-gradient);
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: 'Montserrat', sans-serif;
}

.btn-cart:hover { opacity: 0.9; transform: scale(1.02); }

.btn-chat-sm {
  background: transparent;
  border: 1px solid var(--blue-primary);
  color: var(--blue-cyan);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.btn-chat-sm:hover {
  background: var(--blue-primary);
  color: #fff;
}

/* ============ CARDS ============ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 25px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-blue);
}

.card-gold:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ============ FORMS ============ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card2);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-white);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238899BB' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
}

select.form-control option { background: var(--bg-card2); }

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ============ AUTH PAGES ============ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(ellipse at center, rgba(26,111,212,0.1) 0%, var(--bg-dark) 70%);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 520px;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.auth-logo {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo img {
  height: 70px;
  width: auto;
  margin-bottom: 10px;
}

.auth-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  text-align: center;
  margin-bottom: 5px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
}

.auth-tabs {
  display: flex;
  gap: 5px;
  background: var(--bg-dark);
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
}

.auth-tab.active {
  background: var(--gold-gradient);
  color: #000;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border-color);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.auth-link:hover { color: var(--gold-dark); text-decoration: underline; }

.kyc-upload {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.kyc-upload:hover { border-color: var(--gold); }
.kyc-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.kyc-upload-icon { font-size: 32px; margin-bottom: 10px; color: var(--gold); }
.kyc-upload p { font-size: 13px; color: var(--text-muted); }

/* ============ DASHBOARD ============ */
.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 70px);
}

.sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  padding: 25px 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
}

.sidebar-section { margin-bottom: 25px; }

.sidebar-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 20px 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  color: var(--text-white);
  background: rgba(26,111,212,0.1);
  border-left-color: var(--blue-primary);
}

.sidebar-link.active {
  color: var(--gold);
  background: rgba(255,215,0,0.08);
  border-left-color: var(--gold);
}

.sidebar-link i { width: 20px; text-align: center; font-size: 16px; }

.sidebar-badge {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.dashboard-content {
  padding: 30px;
  overflow-x: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.stat-card.gold::before { background: var(--gold-gradient); }
.stat-card.blue::before { background: linear-gradient(90deg, var(--blue-primary), var(--blue-light)); }
.stat-card.green::before { background: linear-gradient(90deg, #22C55E, #16A34A); }
.stat-card.red::before { background: linear-gradient(90deg, #EF4444, #B91C1C); }

.stat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ============ TABLE ============ */
.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

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

.table-title {
  font-size: 16px;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: left;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-color);
}

tbody td {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid rgba(26,42,74,0.5);
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover { background: rgba(26,111,212,0.05); }

/* ============ STATUS BADGES ============ */
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending { background: rgba(245,158,11,0.15); color: #F59E0B; }
.status-active { background: rgba(34,197,94,0.15); color: #22C55E; }
.status-delivered { background: rgba(26,111,212,0.15); color: var(--blue-cyan); }
.status-cancelled { background: rgba(239,68,68,0.15); color: #EF4444; }
.status-escrow { background: rgba(168,85,247,0.15); color: #A855F7; }
.status-blocked { background: rgba(239,68,68,0.2); color: #EF4444; }

/* ============ PAYMENT METHODS ============ */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

.payment-method {
  background: var(--bg-card2);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method:hover, .payment-method.selected {
  border-color: var(--gold);
  background: rgba(255,215,0,0.05);
}

.payment-method i, .payment-method .pay-icon { font-size: 30px; margin-bottom: 8px; }
.payment-method h4 { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.payment-method p { font-size: 11px; color: var(--text-muted); }

/* ============ PRODUCT DETAIL ============ */
.product-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-gallery .main-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.thumb-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.thumb-row img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.thumb-row img:hover, .thumb-row img.active {
  border-color: var(--gold);
}

.product-detail-info { padding: 10px 0; }

.product-detail-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.product-detail-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  margin: 15px 0;
}

.seller-card {
  background: var(--bg-card2);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.seller-card-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.seller-avatar-lg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.seller-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.seller-info p { font-size: 12px; color: var(--text-muted); }

.contact-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* ============ CHAT ============ */
.chat-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: calc(100vh - 70px);
}

.chat-list {
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
}

.chat-list-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 18px;
  font-weight: 700;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid rgba(26,42,74,0.3);
}

.chat-item:hover, .chat-item.active {
  background: rgba(26,111,212,0.1);
}

.chat-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  object-fit: cover;
  flex-shrink: 0;
  position: relative;
}

.online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

.chat-item-info { flex: 1; min-width: 0; }
.chat-item-name { font-size: 14px; font-weight: 600; }
.chat-item-last { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-time { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }

.chat-window {
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
}

.chat-header {
  padding: 15px 20px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  max-width: 70%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.message.mine { align-self: flex-end; align-items: flex-end; }
.message.theirs { align-self: flex-start; align-items: flex-start; }

.message-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.message.mine .message-bubble {
  background: var(--gold-gradient);
  color: #000;
  border-radius: 16px 16px 4px 16px;
}

.message.theirs .message-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px 16px 16px 4px;
}

.message-time { font-size: 10px; color: var(--text-muted); }

.chat-input-wrap {
  padding: 15px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 12px 18px;
  color: var(--text-white);
  font-size: 14px;
  resize: none;
  font-family: 'Montserrat', sans-serif;
  max-height: 120px;
  transition: var(--transition);
}

.chat-input:focus {
  outline: none;
  border-color: var(--gold);
}

.chat-send {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-send:hover { transform: scale(1.1); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-white); }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 35px;
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 24px 24px 0 0;
}

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  margin-bottom: 5px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.modal-close:hover { border-color: var(--danger); color: var(--danger); }

/* ============ TOAST ============ */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  min-width: 280px;
  animation: slideInRight 0.3s ease;
}

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.info { border-color: var(--blue-primary); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-kenedy { font-size: 30px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.7; }

.footer-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .product-detail { grid-template-columns: 1fr; }
  .dashboard { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chat-wrap { grid-template-columns: 1fr; }
  .chat-list { display: none; }
}

@media (max-width: 768px) {
  .navbar-inner { gap: 10px; }
  .search-bar { display: none; }
  .hero-title { font-size: 40px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .product-img-wrap { height: 150px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .auth-card { padding: 25px 20px; }
  .dashboard-content { padding: 15px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 15px; }
  .hero-stat h3 { font-size: 22px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .nav-actions { gap: 8px; }
  .hero { padding: 30px 15px; }
  .hero-title { font-size: 32px; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

.animate-fade-up { animation: fadeInUp 0.5s ease forwards; }

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card2) 50%, var(--bg-card) 75%);
  background-size: 1000px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ============ CUSTOM CLASSES ============ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.rounded { border-radius: 8px; }
.rounded-full { border-radius: 50%; }

/* ============ ESCROW PROGRESS ============ */
.escrow-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 20px 0;
  overflow-x: auto;
}

.escrow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
  min-width: 80px;
}

.escrow-step::before {
  content: '';
  position: absolute;
  top: 15px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--border-color);
}

.escrow-step:last-child::before { display: none; }
.escrow-step.done::before { background: var(--gold); }

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.escrow-step.done .step-circle {
  background: var(--gold-gradient);
  border-color: var(--gold);
  color: #000;
}

.escrow-step.active .step-circle {
  background: var(--blue-primary);
  border-color: var(--blue-light);
  color: #fff;
}

.step-label { font-size: 10px; color: var(--text-muted); text-align: center; }

/* ============ RATINGS ============ */
.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.rating-bar-label { width: 20px; font-size: 12px; color: var(--text-muted); }
.rating-bar-track { flex: 1; height: 6px; background: var(--bg-dark); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--gold-gradient); border-radius: 3px; }
.rating-bar-count { width: 30px; font-size: 12px; color: var(--text-muted); text-align: right; }

/* ============ FILTER SIDEBAR ============ */
.filter-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
}

.filter-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.filter-section { margin-bottom: 25px; }
.filter-section-title { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-white);
}

.filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

.price-range { display: flex; align-items: center; gap: 10px; }
.price-range input { width: 80px; }

/* ============ NOTIFICATIONS ============ */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.notif-item:hover { background: rgba(26,111,212,0.05); }
.notif-item.unread { background: rgba(255,215,0,0.03); border-left: 3px solid var(--gold); }

.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.notif-content h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.notif-content p { font-size: 12px; color: var(--text-muted); }
.notif-time { font-size: 11px; color: var(--text-muted); margin-left: auto; flex-shrink: 0; }

/* ============ MOBILE NAV ============ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 10px 0 20px;
  z-index: 1000;
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  transition: var(--transition);
}

.mobile-nav-item i { font-size: 20px; }
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--gold); }

@media (max-width: 768px) {
  .mobile-nav { display: block; }
  body { padding-bottom: 70px; }
}

/* ============ PROGRESS ============ */
.progress-wrap {
  background: var(--bg-dark);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--gold-gradient);
  transition: width 0.5s ease;
}

/* ============ TAGS ============ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(26,111,212,0.15);
  color: var(--blue-cyan);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.tag.gold { background: rgba(255,215,0,0.12); color: var(--gold); }

/* ============ LOADING ============ */
.loader {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,8,16,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
