:root {
  --primary: #E94B7F;
  --primary-dark: #be185d;
  --primary-pink: #E94B7F;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-in { animation: slide-in 0.4s ease forwards; }

/* ==================== BUTTONS ==================== */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0.625rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(233,75,127,0.4); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #E94B7F;
  color: #E94B7F;
  background: transparent;
  transition: all 0.2s;
}
.btn-outline:hover { background: #E94B7F; color: white; transform: translateY(-1px); }

/* ==================== CARD / BADGES ==================== */
.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 1.5rem;
}
.stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-left: 4px solid var(--primary);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green  { background: #dcfce7; color: #16a34a; }
.badge-yellow { background: #fef9c3; color: #ca8a04; }
.badge-red    { background: #fee2e2; color: #dc2626; }
.badge-blue   { background: #fce7f3; color: #E94B7F; }
.badge-gray   { background: #f3f4f6; color: #6b7280; }
.badge-teal   { background: #ccfbf1; color: #0f766e; }
.badge-purple { background: #ede9fe; color: #7c3aed; }
.badge-pink   { background: #fce7f3; color: #be185d; }
.badge-orange { background: #ffedd5; color: #c2410c; }

/* ==================== FORMS ==================== */
.form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.925rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: white;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(233,75,127,0.1); }

/* ==================== TABLES ==================== */
table { width: 100%; border-collapse: collapse; }
thead th { background: #f9fafb; padding: 0.75rem 1rem; text-align: left; font-size: 0.8rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
tbody td { padding: 0.875rem 1rem; border-bottom: 1px solid #f3f4f6; font-size: 0.9rem; color: #374151; }
tbody tr:hover { background: #f9fafb; }

/* ==================== NAV ==================== */
.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #E94B7F; background: #fdf2f8; }
.dropdown-item { display: flex; align-items: center; padding: 0.5rem 1rem; font-size: 0.875rem; color: #374151; transition: background 0.15s; }
.dropdown-item:hover { background: #f9fafb; }

/* ==================== EMPTY STATE ==================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  text-align: center;
}
.empty-state-icon {
  width: 80px; height: 80px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #94a3b8;
  margin-bottom: 1.25rem;
}
.empty-state-title { font-size: 1.25rem; font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; }
.empty-state-text  { color: #64748b; font-size: 0.95rem; }

/* ==================== SECTION TYPOGRAPHY ==================== */
.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.section-subtitle { font-size: 1rem; color: #64748b; margin-top: 0.5rem; }
.view-all-link {
  color: #E94B7F; font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center;
  transition: color 0.2s;
}
.view-all-link:hover { color: #be185d; }

/* ==================== PRODUCT CARDS (shared) ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: #fbcfe8;
}
.product-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-card-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #f9a8d4;
}
.product-card-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  color: #be185d;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,0.15);
}
.product-card-overlay {
  position: absolute; inset: 0;
  background: rgba(233,75,127,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-cta {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
}
.product-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-card-title {
  font-weight: 700; color: #0f172a;
  font-size: 0.95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 0.3rem;
}
.product-card-seller { font-size: 0.8rem; color: #64748b; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.25rem; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-card-price { font-weight: 800; color: #be185d; font-size: 1.05rem; }
.product-card-currency { font-size: 0.75rem; font-weight: 600; color: #f472b6; }
.product-card-stock {
  font-size: 0.72rem; font-weight: 600;
  color: #64748b; background: #f1f5f9;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  display: flex; align-items: center;
}
.product-card-stock-low { color: #dc2626; background: #fee2e2; }

/* ==================== LANDING HERO ==================== */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #831843 40%, #be185d 70%, #E94B7F 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-glow-1 { width: 500px; height: 500px; background: rgba(99,102,241,0.3); top: -150px; right: -100px; }
.hero-glow-2 { width: 350px; height: 350px; background: rgba(16,185,129,0.15); bottom: 50px; left: -80px; animation-delay: 2s; }
.hero-glow-3 { width: 250px; height: 250px; background: rgba(251,191,36,0.1); top: 100px; left: 30%; animation-delay: 4s; }

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fade-up 0.7s ease forwards;
}
.hero-title-gradient {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: #fbcfe8;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  animation: fade-up 0.7s 0.1s ease both;
}

.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: white; color: #be185d;
  padding: 0.875rem 2rem;
  border-radius: 0.875rem;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: all 0.25s;
}
.hero-btn-primary:hover { background: #fdf2f8; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }

.hero-btn-secondary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.875rem;
  font-weight: 700; font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all 0.25s;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 3rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1.25rem;
  padding: 1.25rem 2rem;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 80px; }
.hero-stat-value { font-size: 1.5rem; font-weight: 900; color: white; line-height: 1.2; }
.hero-stat-label { font-size: 0.72rem; color: #f9a8d4; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); flex-shrink: 0; }

.hero-wave { display: block; margin-bottom: -4px; }
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ==================== CATEGORIES ==================== */
.categories-section { background: #f8fafc; padding: 5rem 0; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px)  { .categories-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(8, 1fr); } }

.category-card {
  display: flex; flex-direction: column; align-items: center;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem 1rem;
  gap: 0.75rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  border-color: #E94B7F;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37,99,235,0.15);
}
.category-icon {
  width: 52px; height: 52px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: white;
  transition: transform 0.25s;
}
.category-card:hover .category-icon { transform: scale(1.1) rotate(-5deg); }
.category-name { font-size: 0.8rem; font-weight: 700; color: #1e293b; text-align: center; }
.category-arrow {
  font-size: 0.65rem; color: #94a3b8;
  opacity: 0;
  transition: opacity 0.2s;
}
.category-card:hover .category-arrow { opacity: 1; color: #E94B7F; }

/* ==================== FEATURED / LANDING SECTIONS ==================== */
.featured-section { padding: 5rem 0; background: white; }
.how-it-works-section { padding: 5rem 0; background: #f8fafc; }
.trust-section { padding: 5rem 0; background: white; }

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .steps-grid { flex-direction: row; align-items: flex-start; }
}
.step-card {
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  flex: 1;
  position: relative;
  transition: all 0.25s;
}
.step-card:hover { border-color: #E94B7F; box-shadow: 0 10px 30px rgba(233,75,127,0.1); transform: translateY(-4px); }
.step-number {
  font-size: 3rem; font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.step-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #E94B7F, #be185d);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: white;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}
.step-title { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.step-text { font-size: 0.9rem; color: #64748b; line-height: 1.65; }
.step-connector { color: #cbd5e1; font-size: 1.5rem; flex-shrink: 0; display: none; }
@media (min-width: 768px) { .step-connector { display: block; margin-top: 3rem; } }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px)  { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  transition: all 0.25s;
}
.trust-card:hover { background: white; border-color: #E94B7F; box-shadow: 0 10px 30px rgba(233,75,127,0.08); transform: translateY(-3px); }
.trust-icon {
  width: 52px; height: 52px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.trust-icon-blue   { background: #fce7f3; color: #E94B7F; }
.trust-icon-green  { background: #dcfce7; color: #16a34a; }
.trust-icon-purple { background: #ede9fe; color: #7c3aed; }
.trust-icon-orange { background: #ffedd5; color: #c2410c; }
.trust-icon-teal   { background: #ccfbf1; color: #0f766e; }
.trust-icon-pink   { background: #fce7f3; color: #be185d; }
.trust-title { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.trust-text  { font-size: 0.875rem; color: #64748b; line-height: 1.65; }

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #831843 50%, #be185d 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta-subtitle { font-size: 1.0625rem; color: #fbcfe8; line-height: 1.7; max-width: 500px; margin: 0 auto; }

/* ==================== MARKETPLACE PAGE ==================== */
.mp-page { background: #f8fafc; min-height: 100vh; }

/* ── Hero ── */
.mp-hero {
  background: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0f172a 100%);
  padding: 3rem 0 0;
  position: relative;
  overflow: hidden;
}
.mp-hero::before {
  content: '';
  position: absolute; top: -40%; left: -10%;
  width: 55%; height: 180%;
  background: radial-gradient(ellipse, rgba(233,75,127,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.mp-hero::after {
  content: '';
  position: absolute; bottom: -40%; right: -5%;
  width: 45%; height: 150%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.mp-hero-inner {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}
.mp-hero-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(233,75,127,0.15);
  border: 1px solid rgba(233,75,127,0.3);
  color: #f9a8d4; font-size: 0.72rem; font-weight: 800;
  padding: 0.35rem 1rem; border-radius: 999px;
  margin-bottom: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.mp-hero-title {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 900; color: white;
  letter-spacing: -0.03em; line-height: 1.15;
  margin-bottom: 0.875rem;
}
.mp-hero-title span { color: #f472b6; }
.mp-hero-subtitle {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: #94a3b8; margin-bottom: 2rem; line-height: 1.7;
}
/* search row */
.mp-search-row {
  display: flex; gap: 0.5rem;
  background: white; border-radius: 1rem;
  padding: 0.4rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.mp-search-input-wrap { flex: 1; min-width: 180px; position: relative; }
.mp-search-input-wrap i {
  position: absolute; left: 0.875rem; top: 50%;
  transform: translateY(-50%);
  color: #94a3b8; font-size: 0.875rem; pointer-events: none;
}
.mp-search-input {
  width: 100%;
  padding: 0.75rem 0.875rem 0.75rem 2.5rem;
  border: none; border-radius: 0.75rem;
  font-size: 0.95rem; outline: none;
  background: transparent; color: #0f172a;
}
.mp-search-input::placeholder { color: #94a3b8; }
.mp-search-select {
  padding: 0.75rem 0.875rem; border: none;
  border-radius: 0.75rem; font-size: 0.875rem;
  outline: none; background: #f8fafc; color: #374151; cursor: pointer;
}
.mp-search-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #E94B7F, #be185d);
  color: white; padding: 0.75rem 1.5rem;
  border-radius: 0.75rem; font-weight: 700; font-size: 0.9rem;
  border: none; cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(233,75,127,0.4);
}
.mp-search-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(233,75,127,0.5); }
/* hero stats */
.mp-hero-stats {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-bottom: 1.75rem;
}
.mp-hero-stat {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600; color: #94a3b8;
}
.mp-hero-stat i { color: #E94B7F; }

/* ── Category bar ── */
.mp-cats-wrap {
  background: white; border-bottom: 1px solid #e2e8f0;
  position: sticky; top: 64px; z-index: 30;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.mp-cats {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 0.375rem;
  overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
  padding: 0.75rem 1.25rem;
}
.mp-cats::-webkit-scrollbar { display: none; }
.mp-cat {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; white-space: nowrap;
  border: 1.5px solid #e2e8f0; color: #475569; background: white;
  transition: all 0.18s; text-decoration: none;
}
.mp-cat:hover { text-decoration: none; }
.mp-cat-all.mp-cat-active,    .mp-cat-all:hover    { background: #E94B7F; border-color: #E94B7F; color: white; }
.mp-cat-instagram.mp-cat-active, .mp-cat-instagram:hover { background: linear-gradient(135deg,#833ab4,#c13584,#fd1d1d); border-color: #c13584; color: white; }
.mp-cat-facebook.mp-cat-active,  .mp-cat-facebook:hover  { background: #1877F2; border-color: #1877F2; color: white; }
.mp-cat-tiktok.mp-cat-active,    .mp-cat-tiktok:hover    { background: #010101; border-color: #010101; color: white; }
.mp-cat-youtube.mp-cat-active,   .mp-cat-youtube:hover   { background: #FF0000; border-color: #FF0000; color: white; }
.mp-cat-twitter.mp-cat-active,   .mp-cat-twitter:hover   { background: #14171A; border-color: #14171A; color: white; }
.mp-cat-telegram.mp-cat-active,  .mp-cat-telegram:hover  { background: #0088cc; border-color: #0088cc; color: white; }
.mp-cat-snapchat.mp-cat-active,  .mp-cat-snapchat:hover  { background: #FFFC00; border-color: #e5e600; color: #0f172a; }

/* ── Main area ── */
.mp-main { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }

/* Filter bar */
.mp-filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.5rem;
}
.mp-result-count { font-size: 0.875rem; color: #64748b; }
.mp-result-count strong { color: #0f172a; font-weight: 800; }
.mp-sort-select {
  padding: 0.5rem 1rem; border: 1.5px solid #e2e8f0;
  border-radius: 0.625rem; font-size: 0.875rem;
  outline: none; background: white; color: #374151;
  cursor: pointer; font-weight: 600; transition: border-color 0.2s;
}
.mp-sort-select:focus { border-color: #E94B7F; }

/* ── Product grid ── */
.mp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px)  { .mp-grid { gap: 1.25rem; } }
@media (min-width: 768px)  { .mp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .mp-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Product card ── */
.mp-card {
  background: white; border-radius: 1.25rem; overflow: hidden;
  border: 1px solid #f1f5f9; display: flex; flex-direction: column;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.mp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.14);
  border-color: #fce7f3; text-decoration: none;
}
/* card header (platform bg) */
.mp-card-header {
  position: relative; height: 145px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mp-card-header-instagram { background: linear-gradient(135deg, #405de6 0%, #5851db 20%, #833ab4 50%, #c13584 75%, #e1306c 100%); }
.mp-card-header-facebook  { background: linear-gradient(135deg, #1877F2, #0d5cbf); }
.mp-card-header-tiktok    { background: linear-gradient(135deg, #010101, #161823); }
.mp-card-header-youtube   { background: linear-gradient(135deg, #FF0000, #cc0000); }
.mp-card-header-twitter   { background: linear-gradient(135deg, #14171A, #1DA1F2 280%); }
.mp-card-header-telegram  { background: linear-gradient(135deg, #2CA5E0, #0088cc); }
.mp-card-header-snapchat  { background: linear-gradient(135deg, #FFFC00, #FFE000); }
.mp-card-header-default,.mp-card-header- { background: linear-gradient(135deg, #E94B7F, #be185d); }
/* image override */
.mp-card-header img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.mp-card-header-has-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.5));
}
/* platform icon */
.mp-card-icon {
  font-size: 3rem; color: white; opacity: 0.9; z-index: 1;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.25));
  transition: transform 0.25s;
}
.mp-card:hover .mp-card-icon { transform: scale(1.1); }
.mp-card-header-snapchat .mp-card-icon { color: rgba(0,0,0,0.65); }
/* badges */
.mp-card-badges {
  position: absolute; top: 9px; left: 9px;
  display: flex; flex-direction: column; gap: 0.25rem; z-index: 2;
}
.mp-badge {
  font-size: 0.58rem; font-weight: 800;
  padding: 0.18rem 0.5rem; border-radius: 999px;
  white-space: nowrap; border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px); text-transform: uppercase; letter-spacing: 0.05em;
}
.mp-badge-hot     { background: rgba(239,68,68,0.92); color: white; }
.mp-badge-new     { background: rgba(34,197,94,0.92); color: white; }
.mp-badge-limited { background: rgba(245,158,11,0.92); color: white; }
/* hover CTA */
.mp-card-cta {
  position: absolute; inset: 0;
  background: rgba(233,75,127,0.87);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.22s; z-index: 3;
}
.mp-card:hover .mp-card-cta { opacity: 1; }
.mp-card-cta span {
  color: white; font-weight: 800; font-size: 0.875rem;
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  padding: 0.5rem 1.25rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
}
/* card body */
.mp-card-body { padding: 0.875rem; flex: 1; display: flex; flex-direction: column; }
.mp-card-plat {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.35rem;
}
.mp-card-title {
  font-size: 0.88rem; font-weight: 700; color: #0f172a; line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-card-seller {
  font-size: 0.74rem; color: #64748b;
  display: flex; align-items: center; gap: 0.25rem; margin-bottom: 0.625rem;
}
.mp-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 0.625rem; border-top: 1px solid #f1f5f9;
}
.mp-card-price { font-weight: 900; color: #E94B7F; font-size: 1rem; }
.mp-card-currency { font-size: 0.68rem; font-weight: 700; color: #f9a8d4; margin-left: 1px; }
.mp-card-stock {
  font-size: 0.68rem; font-weight: 700; color: #16a34a; background: #dcfce7;
  padding: 0.2rem 0.5rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.2rem;
}
.mp-card-stock.low { color: #dc2626; background: #fee2e2; }
/* empty state in marketplace */
.mp-empty {
  text-align: center; padding: 5rem 1.5rem;
}
.mp-empty-icon {
  width: 80px; height: 80px; background: #fce7f3; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2rem; color: #E94B7F;
}
.mp-empty-title { font-size: 1.25rem; font-weight: 800; color: #0f172a; margin-bottom: 0.5rem; }
.mp-empty-text  { color: #64748b; font-size: 0.95rem; margin-bottom: 1.5rem; }
/* trust bar */
.mp-trust-bar {
  background: white; border-top: 1px solid #e2e8f0; padding: 1.25rem 0; margin-top: 1rem;
}
.mp-trust-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.25rem;
}
.mp-trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; color: #475569; }
.mp-trust-div  { width: 1px; height: 20px; background: #e2e8f0; flex-shrink: 0; }

/* ==================== PRODUCT DETAIL PAGE ==================== */
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600; color: #E94B7F;
  transition: all 0.2s; padding: 0.4rem 0;
}
.back-link:hover { color: #be185d; transform: translateX(-2px); }

.product-detail-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 1024px) { .product-detail-grid { grid-template-columns: 3fr 2fr; } }

.product-detail-image-wrap {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  height: 320px; margin-bottom: 1.75rem;
  background: linear-gradient(135deg, #fce7f3, #f3e8ff);
}
.product-detail-img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(255,255,255,0.8);
}
/* Platform-specific hero for product detail */
.pd-img-instagram { background: linear-gradient(135deg, #405de6, #833ab4, #c13584, #e1306c); }
.pd-img-facebook  { background: linear-gradient(135deg, #1877F2, #0d5cbf); }
.pd-img-tiktok    { background: linear-gradient(135deg, #010101, #161823); }
.pd-img-youtube   { background: linear-gradient(135deg, #FF0000, #cc0000); }
.pd-img-twitter   { background: linear-gradient(135deg, #14171A, #1DA1F2 280%); }
.pd-img-telegram  { background: linear-gradient(135deg, #2CA5E0, #0088cc); }
.pd-img-snapchat  { background: linear-gradient(135deg, #FFFC00, #FFE000); }
.pd-img-default   { background: linear-gradient(135deg, #E94B7F, #be185d); }
.pd-img-snapchat .product-detail-img-placeholder { color: rgba(0,0,0,0.6); }

.product-detail-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  color: #E94B7F; font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(233,75,127,0.2);
}
.product-detail-title {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #0f172a;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
.product-detail-seller {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem 1.25rem; background: #fdf2f8;
  border: 1px solid #fce7f3; border-radius: 0.875rem; margin-bottom: 1.5rem;
}
.seller-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #E94B7F, #be185d);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; flex-shrink: 0;
}
.seller-name-label { font-size: 0.72rem; color: #94a3b8; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.seller-name-value { font-size: 0.95rem; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 0.4rem; }
.verified-badge {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 700;
  color: #E94B7F; background: #fce7f3;
  padding: 0.15rem 0.5rem; border-radius: 999px;
}
.product-detail-description { margin-bottom: 1.5rem; }
.product-detail-desc-title { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.product-detail-features { display: flex; flex-direction: column; gap: 0.75rem; }
.product-feature {
  display: flex; align-items: flex-start; gap: 0.875rem;
  padding: 0.875rem 1rem; background: #f8fafc;
  border-radius: 0.75rem; font-size: 0.875rem;
  border: 1px solid #f1f5f9;
}
.product-feature i { font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }
.feature-title { font-weight: 700; color: #1e293b; margin-bottom: 0.15rem; }
.feature-text  { color: #64748b; font-size: 0.82rem; line-height: 1.5; }

.purchase-card {
  background: white; border: 1.5px solid #fce7f3;
  border-radius: 1.5rem; padding: 1.75rem;
  position: sticky; top: 140px;
  box-shadow: 0 8px 32px rgba(233,75,127,0.1);
}
.purchase-card-price {
  display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 1rem;
}
.purchase-price-value { font-size: 2.25rem; font-weight: 900; color: #E94B7F; letter-spacing: -0.03em; }
.purchase-price-currency { font-size: 1rem; font-weight: 700; color: #f9a8d4; }
.purchase-card-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.escrow-notice {
  display: flex; align-items: flex-start; gap: 0.875rem;
  background: #fdf2f8; border: 1px solid #fce7f3;
  border-radius: 0.875rem; padding: 1rem; margin-bottom: 1.25rem;
}
.escrow-notice-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #E94B7F, #be185d); color: white;
  border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.escrow-notice-title { font-size: 0.875rem; font-weight: 700; color: #be185d; margin-bottom: 0.2rem; }
.escrow-notice-text  { font-size: 0.8rem; color: #E94B7F; line-height: 1.5; }
.purchase-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%;
  background: linear-gradient(135deg, #E94B7F, #be185d);
  color: white; padding: 1rem 1.5rem;
  border-radius: 0.875rem; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; transition: all 0.25s;
  box-shadow: 0 6px 22px rgba(233,75,127,0.4);
  text-align: center;
}
.purchase-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(233,75,127,0.55); text-decoration: none; color: white; }
.purchase-btn-disabled {
  display: flex; align-items: center; justify-content: center;
  width: 100%; background: #f1f5f9; color: #94a3b8;
  padding: 1rem 1.5rem; border-radius: 0.875rem;
  font-weight: 700; font-size: 1rem; border: none; cursor: not-allowed;
}
.purchase-fee-note { text-align: center; font-size: 0.75rem; color: #94a3b8; margin-top: 0.625rem; }
.purchase-card-trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem; margin-top: 1.25rem;
  padding-top: 1.25rem; border-top: 1px solid #fce7f3;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  font-size: 0.7rem; font-weight: 600; color: #64748b; text-align: center;
}
.trust-item i { font-size: 1.1rem; }

.related-section { margin-top: 4rem; }
.related-title { font-size: 1.25rem; font-weight: 800; color: #0f172a; margin-bottom: 1.25rem; }
.related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==================== PREMIUM FOOTER ==================== */
.premium-footer { background: #0f172a; }
.footer-top { padding: 4rem 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-logo { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
.footer-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #E94B7F, #be185d);
  border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-text { font-size: 1.2rem; font-weight: 800; color: white; }
.footer-tagline { font-size: 0.875rem; color: #64748b; line-height: 1.7; max-width: 280px; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: 0.625rem; }
.footer-social {
  width: 36px; height: 36px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 0.9rem;
  transition: all 0.2s;
}
.footer-social:hover { background: #E94B7F; border-color: #E94B7F; color: white; }
.footer-links-heading {
  font-size: 0.8rem; font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-links-list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links-list a {
  font-size: 0.875rem; color: #64748b;
  display: flex; align-items: center;
  transition: color 0.2s;
}
.footer-links-list a:hover { color: white; }
.footer-links-list a i { width: 1rem; }

.footer-trust-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #1e293b;
  border-radius: 1rem;
  border: 1px solid #334155;
}
.footer-trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: #94a3b8;
}
.footer-trust-sep { width: 1px; height: 18px; background: #334155; flex-shrink: 0; }

.footer-bottom {
  background: #020617;
  padding: 1.25rem 0;
  font-size: 0.8rem; color: #475569;
}
.footer-bottom-right { display: flex; align-items: center; }

/* ==================== BUYER PROFILE PAGE ==================== */
/* ── Profile Header Card ── */
.profile-header-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(233,75,127,0.10), 0 1.5px 6px rgba(0,0,0,0.06);
}
.profile-header-banner {
  background: linear-gradient(135deg, #9d174d 0%, #E94B7F 50%, #7c3aed 100%);
  height: 90px;
  width: 100%;
  position: relative;
}
.profile-header-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.profile-header-body {
  background: #ffffff;
  padding: 0 1.75rem 1.5rem;
  border: 1.5px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 1.5rem 1.5rem;
}
.profile-avatar-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -38px;
  margin-bottom: 0.875rem;
}
.profile-avatar {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, #E94B7F, #be185d);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: white;
  flex-shrink: 0;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 18px rgba(233,75,127,0.35);
}
.profile-name { font-size: 1.2rem; font-weight: 800; color: #0f172a; line-height: 1.3; }
.profile-email { font-size: 0.8rem; color: #64748b; margin-top: 0.15rem; display: flex; align-items: center; gap: 0.35rem; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.profile-badge-kyc-verified {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #15803d; border: 1px solid #86efac;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
}
.profile-badge-kyc-unverified {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, #fef9c3, #fef08a);
  color: #a16207; border: 1px solid #fde047;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
}
.profile-badge-account {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #be185d; border: 1px solid #f9a8d4;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
}
.profile-badge-referral {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #6d28d9; border: 1px solid #c4b5fd;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em;
}
.profile-kyc-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(234,88,12,0.35);
  margin-top: 0.25rem;
}
.profile-kyc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(234,88,12,0.45);
  color: white;
}
.profile-kyc-verified-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  box-shadow: 0 3px 10px rgba(22,163,74,0.30);
  margin-top: 0.25rem;
}

.profile-card {
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.profile-card-header {
  display: flex; align-items: flex-start; gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.profile-card-icon {
  width: 40px; height: 40px;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.profile-card-title { font-size: 0.95rem; font-weight: 700; color: #0f172a; }
.profile-card-subtitle { font-size: 0.8rem; color: #94a3b8; margin-top: 0.1rem; }

.profile-form { display: flex; flex-direction: column; gap: 1rem; }
.profile-field { display: flex; flex-direction: column; gap: 0.35rem; }
.profile-label { font-size: 0.8rem; font-weight: 700; color: #374151; }
.profile-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.625rem;
  font-size: 0.9rem;
  outline: none;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: #1e293b;
}
.profile-input:focus { border-color: #E94B7F; box-shadow: 0 0 0 3px rgba(233,75,127,0.1); }
.profile-input-disabled { background: #f8fafc; color: #94a3b8; cursor: not-allowed; padding-right: 2.5rem; }
.profile-input-lock {
  position: absolute; right: 0.875rem; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.profile-hint { font-size: 0.75rem; color: #94a3b8; }
.profile-form-footer { padding-top: 0.5rem; }
.profile-save-btn {
  display: inline-flex; align-items: center;
  background: #E94B7F; color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0.625rem;
  font-weight: 700; font-size: 0.9rem;
  border: none; cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.profile-save-btn:hover { background: #be185d; transform: translateY(-1px); }

.referral-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.referral-box-label { font-size: 0.72rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.625rem; }
.referral-code-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.referral-code {
  font-family: monospace;
  font-size: 1.1rem; font-weight: 800;
  color: #be185d;
  background: #fce7f3;
  padding: 0.35rem 0.875rem;
  border-radius: 0.5rem;
  letter-spacing: 0.05em;
}
.referral-copy-btn {
  display: inline-flex; align-items: center;
  background: white; color: #374151;
  border: 1.5px solid #e2e8f0;
  padding: 0.35rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.referral-copy-btn:hover { border-color: #E94B7F; color: #E94B7F; background: #fdf2f8; }
.referral-copy-btn-success { background: #dcfce7; border-color: #16a34a; color: #16a34a; }
.referral-link-preview { margin-top: 0.625rem; }
.profile-view-referrals-btn {
  display: flex; align-items: center; gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.625rem;
  font-size: 0.875rem; font-weight: 600; color: #374151;
  transition: all 0.2s;
}
.profile-view-referrals-btn:hover { background: #fdf2f8; border-color: #E94B7F; color: #E94B7F; }

.kyc-verified-box, .kyc-pending-box {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 0.875rem;
}
.kyc-verified-box { background: #f0fdf4; border: 1.5px solid #bbf7d0; }
.kyc-pending-box  { background: #fffbeb; border: 1.5px solid #fde68a; }
.kyc-start-btn {
  display: inline-flex; align-items: center;
  background: #f59e0b; color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.625rem;
  font-size: 0.82rem; font-weight: 700;
  transition: all 0.2s;
}
.kyc-start-btn:hover { background: #d97706; }

.quick-links { display: flex; flex-direction: column; gap: 0.5rem; }
.quick-link {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  background: #f1f5f9;
  font-size: 0.9rem; font-weight: 600; color: #1e293b;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  border: 1px solid transparent;
}
.quick-link:hover {
  background: #e8f0fe;
  color: #be185d;
  border-color: #fce7f3;
  text-decoration: none;
  transform: translateX(2px);
}
.quick-link-icon {
  width: 36px; height: 36px;
  background: #e8f0fe;
  border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.quick-link:hover .quick-link-icon { background: #fce7f3; }

/* ==================== TOAST NOTIFICATIONS ==================== */
@keyframes toast-slide-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes toast-slide-out {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(-16px); }
}

.toast-notification {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.875rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 280px;
  max-width: min(480px, calc(100vw - 2rem));
  width: max-content;
  animation: toast-slide-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
}
.toast-success {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
}
.toast-error {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
}
.toast-info {
  background: linear-gradient(135deg, #E94B7F, #be185d);
  color: white;
}
.toast-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: 0.95;
}
.toast-message {
  flex: 1;
  line-height: 1.4;
}
.toast-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  cursor: pointer;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: background 0.15s;
}
.toast-close:hover { background: rgba(255,255,255,0.35); }

/* ==================== BUYER DASHBOARD ==================== */
.dashboard-tg-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 60%, #1e3a5f 100%);
  border-radius: 1.375rem;
  padding: 1.25rem 1.25rem 1.125rem;
  box-shadow: 0 8px 28px rgba(14,165,233,0.28), 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.dashboard-tg-banner::before {
  content: '';
  position: absolute;
  top: -28px; right: -28px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.dashboard-tg-banner::after {
  content: '';
  position: absolute;
  bottom: -40px; right: 60px;
  width: 90px; height: 90px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.dashboard-tg-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}
.dashboard-tg-content {
  flex: 1;
  min-width: 0;
}
.dashboard-tg-content .tg-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 0.2rem;
}
.dashboard-tg-content .tg-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin: 0;
}
.dashboard-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #fff;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.dashboard-tg-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(0,0,0,0.2);
  color: #0284c7;
}
@media (max-width: 400px) {
  .dashboard-tg-banner {
    flex-wrap: wrap;
    gap: 0.875rem;
  }
  .dashboard-tg-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }
}
.dashboard-balance-card {
  background: linear-gradient(135deg, #9d174d 0%, #E94B7F 55%, #f9a8d4 100%);
  border-radius: 1.5rem;
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(233,75,127,0.35);
}
.dashboard-balance-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.dashboard-balance-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: 20px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.dashboard-add-money-btn {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 0.875rem; font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  transition: all 0.2s;
  position: relative; z-index: 1;
}
.dashboard-add-money-btn:hover {
  background: rgba(255,255,255,0.25);
  color: white;
  transform: translateY(-1px);
}
.dashboard-stat-card {
  background: white;
  border: 1.5px solid #f1f5f9;
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}
.dashboard-stat-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); }
.dashboard-stat-number {
  font-size: 1.875rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.dashboard-stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}
.dashboard-stat-icon {
  width: 46px; height: 46px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ==================== BUYER FLOATING PILL BOTTOM NAV ==================== */
.buyer-bottom-nav {
  position: fixed;
  bottom: calc(0.25rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.75rem);
  max-width: 480px;
  z-index: 100;
  background: #ffffff;
  border-radius: 1.375rem;
  display: flex;
  align-items: center;
  padding: 0.45rem 0.5rem;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.14),
    0 4px 16px rgba(0,0,0,0.08),
    0 1px 4px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
}
.buyer-bottom-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem 0.4rem;
  color: #9ca3af;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
  position: relative;
  border-radius: 1rem;
  min-width: 0;
}
.buyer-bottom-link .bnav-icon-wrap {
  width: 2.4rem;
  height: 2.1rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  position: relative;
}
.buyer-bottom-link i {
  font-size: 1.15rem;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}
.buyer-bottom-link span {
  display: block;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.buyer-bottom-link:hover {
  color: #E94B7F;
  text-decoration: none;
}
.buyer-bottom-link:hover .bnav-icon-wrap {
  background: rgba(233,75,127,0.08);
  transform: translateY(-1px);
}
.buyer-bottom-link.active {
  color: #E94B7F;
}
.buyer-bottom-link.active .bnav-icon-wrap {
  background: rgba(233,75,127,0.12);
}
.buyer-bottom-link.active i {
  color: #E94B7F;
}
/* Badge on buyer nav */
.bnav-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  background: #ef4444;
  color: white;
  font-size: 0.55rem;
  font-weight: 800;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid white;
  letter-spacing: 0;
  line-height: 1;
}

/* ==================== SELLER BOTTOM NAV ==================== */
/* ── Seller floating pill bottom nav ── */
.seller-bottom-nav {
  position: fixed;
  bottom: calc(0.25rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.75rem);
  max-width: 480px;
  z-index: 100;
  background: #ffffff;
  border-radius: 1.375rem;
  display: flex;
  align-items: center;
  padding: 0.45rem 0.5rem;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.14),
    0 4px 16px rgba(0,0,0,0.08),
    0 1px 4px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
}
.seller-bottom-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem 0.4rem;
  color: #9ca3af;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
  position: relative;
  border-radius: 1rem;
  min-width: 0;
}
.seller-bottom-link .snav-icon-wrap {
  width: 2.4rem;
  height: 2.1rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  position: relative;
}
.seller-bottom-link i {
  font-size: 1.15rem;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}
.seller-bottom-link span {
  display: block;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.seller-bottom-link:hover {
  color: #16a34a;
  text-decoration: none;
}
.seller-bottom-link:hover .snav-icon-wrap {
  background: rgba(22,163,74,0.08);
  transform: translateY(-1px);
}
/* Active state — green bubble behind icon */
.seller-bottom-link.active {
  color: #16a34a;
}
.seller-bottom-link.active .snav-icon-wrap {
  background: rgba(22,163,74,0.12);
}
.seller-bottom-link.active i {
  color: #16a34a;
}
/* Badge support */
.snav-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  background: #ef4444;
  color: white;
  font-size: 0.55rem;
  font-weight: 800;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid white;
  letter-spacing: 0;
  line-height: 1;
}

/* ==================== MOBILE RESPONSIVE FIXES ==================== */
@media (max-width: 639px) {
  .categories-section,
  .featured-section,
  .how-it-works-section,
  .trust-section { padding: 3rem 0; }

  .cta-section { padding: 3.5rem 0; }

  .hero-stats { margin-top: 2rem; padding: 1rem 1.25rem; }

  .hero-stat-value { font-size: 1.25rem; }

  .section-title { font-size: 1.5rem; }

  .purchase-card { position: static; }

  .dashboard-stat-number { font-size: 1.5rem; }

  .footer-top { padding: 2.5rem 0 2rem; }

  .product-detail-image-wrap { height: 220px; }
}

