/* ============================================================
   UNIPORT MARKET — Main Stylesheet
   Design: Modern Student Marketplace, Mobile-First
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
/* ── CSS Variables ── */
:root {
  --primary: #1A56FF;
  --primary-dark: #0d3fd4;
  --primary-light: #e8efff;
  --accent: #00C2A8;
  --accent-warm: #FF6B35;
  --dark: #0A0E1A;
  --dark-2: #131825;
  --dark-3: #1E2536;
  --text: #1C2340;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --surface: #FFFFFF;
  --surface-2: #F8FAFF;
  --surface-3: #F1F5FF;
  --border: #E5E9F5;
  --border-light: #F0F3FA;
  --shadow-sm: 0 1px 3px rgba(26,86,255,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(26,86,255,.10), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(26,86,255,.14), 0 4px 16px rgba(0,0,0,.08);
  --shadow-card: 0 2px 12px rgba(10,14,26,.08);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all .22s cubic-bezier(.4,0,.2,1);
  --nav-h: 64px;
}
mobile-bottom-nav
/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
card-badge featured
/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ============================================================
   NAVBAR
   ============================================================ */
/* ================================================================
   UNIPORT MARKET — navbar.css
   Reorganized professional navbar styles
   ================================================================ */

/* ── Core nav bar ── */
.uniport-nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid #E2E8F8;
  height: 64px;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 2px 20px rgba(27, 79, 255, 0.05);
  transition: box-shadow .2s ease;
}
.uniport-nav.scrolled {
  box-shadow: 0 4px 28px rgba(27, 79, 255, 0.12);
}
/* ── Brand ── */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Clash Display', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #080D1A !important;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0 !important;
}
.brand-logo {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #1B4FFF, #00C4AA);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem;
  box-shadow: 0 4px 14px rgba(27, 79, 255, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}
.navbar-brand:hover .brand-logo {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(27, 79, 255, 0.45);
}
.brand-accent { color: #1B4FFF; }

/* ── Desktop search ── */
.nav-search-wrap {
  position: relative;
  width: 300px;
  flex-shrink: 0;
}
.nav-search-wrap input {
  width: 100%;
  background: #F7F9FF;
  border: 1.5px solid #E2E8F8;
  border-radius: 99px;
  padding: .48rem 1rem .48rem 2.5rem;
  font-size: .82rem;
  color: #111827;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-search-wrap input:focus {
  border-color: #1B4FFF;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27, 79, 255, 0.12);
}
.nav-search-wrap input::placeholder { color: #9CA3AF; }
.search-icon {
  position: absolute;
  left: .88rem; top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF; font-size: .82rem;
  pointer-events: none;
}

/* ── Core nav links ── */
.uniport-nav .nav-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .82rem !important;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: #6B7280 !important;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.uniport-nav .nav-link i { font-size: .88rem; }
.uniport-nav .nav-link:hover {
  color: #1B4FFF !important;
  background: #EEF3FF;
}
.uniport-nav .nav-link.active {
  color: #1B4FFF !important;
  background: #EEF3FF;
}

/* ── Dropdown ── */
.nav-dropdown-menu {
  border: 1.5px solid #E2E8F8 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(27, 79, 255, 0.13), 0 4px 16px rgba(0,0,0,.07) !important;
  padding: .5rem !important;
  min-width: 240px;
  animation: dropIn .2s cubic-bezier(.4,0,.2,1) both;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Dropdown items with icon */
.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: .75rem;
  padding: .6rem .85rem !important;
  border-radius: 10px !important;
  transition: background .15s ease !important;
  color: #374151 !important;
}
.nav-dropdown-item:hover { background: #F7F9FF !important; }
.nav-dropdown-item.active { background: #EEF3FF !important; color: #1B4FFF !important; }

/* Dropdown icon box */
.dd-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  flex-shrink: 0;
}
.dd-label {
  font-size: .84rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.dd-sub {
  font-size: .7rem;
  color: #9CA3AF;
  margin-top: .1rem;
}

/* Small dropdown items (profile menu list) */
.nav-dropdown-item-sm {
  gap: .6rem;
  padding: .5rem .85rem !important;
}
.nav-dropdown-item-sm i { font-size: .9rem; width: 16px; }
.nav-dropdown-item-sm .dd-label,
.nav-dropdown-item-sm {
  font-size: .84rem;
  font-weight: 600;
}

/* Logout item */
.nav-logout { color: #e53e3e !important; }
.nav-logout i { color: #e53e3e; }
.nav-logout:hover { background: rgba(229, 62, 62, .07) !important; }

/* ── Avatar button (desktop) ── */
.nav-avatar-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 1.5px solid #E2E8F8;
  border-radius: 99px;
  padding: .3rem .75rem .3rem .3rem;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.nav-avatar-btn:hover {
  border-color: #1B4FFF;
  box-shadow: 0 0 0 3px rgba(27, 79, 255, 0.1);
}
.nav-avatar-btn::after { display: none !important; } /* hide default BS caret */

.nav-avatar-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B4FFF, #00C4AA);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  flex-shrink: 0;
}
.nav-avatar-name {
  font-size: .82rem;
  font-weight: 700;
  color: #374151;
}
.nav-avatar-caret {
  font-size: .65rem;
  color: #9CA3AF;
  transition: transform .2s ease;
}
.nav-avatar-btn[aria-expanded="true"] .nav-avatar-caret {
  transform: rotate(180deg);
}

/* Profile menu header */
.nav-profile-menu { min-width: 220px; }
.nav-profile-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .85rem;
}
.nav-profile-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B4FFF, #00C4AA);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .82rem; font-weight: 800;
  font-family: 'Syne', sans-serif;
  flex-shrink: 0;
}
.nav-profile-name {
  font-weight: 700;
  font-size: .85rem;
  color: #111827;
  line-height: 1.3;
}
.nav-profile-username {
  font-size: .72rem;
  color: #9CA3AF;
}

/* ── Mobile icon button ── */
.nav-icon-btn {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #6B7280;
  font-size: 1rem;
  transition: color .2s ease, background .2s ease;
}
.nav-icon-btn:hover { color: #1B4FFF; background: #EEF3FF; }

/* ── Post button ── */
.btn-nav-post {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg, #1B4FFF, #0A34D4);
  color: #fff !important;
  border-radius: 99px;
  padding: .48rem 1.2rem;
  font-size: .82rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(27, 79, 255, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none !important;
}
.btn-nav-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 79, 255, 0.45);
  color: #fff !important;
}

/* ── Hamburger toggler ── */
.navbar-toggler {
  border: 1.5px solid #E2E8F8 !important;
  border-radius: 9px !important;
  padding: .32rem .5rem !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s ease;
}
.navbar-toggler:hover { border-color: #1B4FFF !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231B4FFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 20px; height: 20px;
}

/* ================================================================
   MOBILE MENU BODY
   ================================================================ */
.mobile-menu-body {
  background: #fff;
  border-top: 1px solid #E2E8F8;
  padding: .85rem 0 1.25rem;
  margin: 0 -.75rem;  /* bleed to edge */
}

/* Mobile search */
.mobile-search-wrap {
  padding: 0 1rem .75rem;
}
.mobile-search-input {
  width: 100%;
  background: #F7F9FF;
  border: 1.5px solid #E2E8F8;
  border-radius: 99px;
  padding: .55rem 1rem .55rem 2.6rem;
  font-size: .875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color .2s ease;
}
.mobile-search-input:focus { border-color: #1B4FFF; }

/* Mobile nav sections */
.mobile-nav-section {
  display: flex;
  flex-direction: column;
  padding: 0 .75rem;
  margin-bottom: .25rem;
}
.mobile-nav-section-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #9CA3AF;
  padding: .65rem 1.75rem .25rem;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .68rem .85rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
  position: relative;
}
.mobile-nav-link i {
  font-size: 1rem;
  color: #9CA3AF;
  width: 20px;
  flex-shrink: 0;
  transition: color .15s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #1B4FFF;
  background: #EEF3FF;
}
.mobile-nav-link:hover i,
.mobile-nav-link.active i { color: #1B4FFF; }

.mobile-nav-badge {
  margin-left: auto;
  background: #FF5C2B;
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  border-radius: 99px;
  padding: .1rem .45rem;
  letter-spacing: .04em;
}

/* Small legal links */
.mobile-nav-section-sm { gap: .1rem; }
.mobile-nav-link-sm {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .85rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: #9CA3AF;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.mobile-nav-link-sm i { font-size: .85rem; }
.mobile-nav-link-sm:hover { color: #1B4FFF; background: #EEF3FF; }

/* Mobile auth actions */
.mobile-auth-actions {
  padding: .75rem 1rem 0;
  border-top: 1px solid #E2E8F8;
  margin-top: .75rem;
}

/* ── Shared button helpers ── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: linear-gradient(135deg, #1B4FFF, #0A34D4);
  color: #fff !important;
  border-radius: 10px;
  padding: .7rem 1.5rem;
  font-weight: 700;
  font-family: 'Clash Display', sans-serif;
  font-size: .875rem;
  box-shadow: 0 4px 14px rgba(27, 79, 255, 0.3);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 79, 255, 0.4);
  color: #fff !important;
}
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: transparent;
  color: #1B4FFF !important;
  border: 1.5px solid #1B4FFF;
  border-radius: 10px;
  padding: .7rem 1.5rem;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .2s ease;
}
.btn-outline-custom:hover { background: #EEF3FF; }

/* ── Scroll shadow trigger (JS adds .scrolled to nav) ── */
@media (max-width: 991px) {
  .uniport-nav { height: 58px; }
  .navbar-collapse.show .mobile-menu-body,
  .navbar-collapse.collapsing .mobile-menu-body {
    display: block;
  }
}

/* ============================================================
   HERO — EPIC MOBILE-FIRST DESIGN
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  min-height: calc(100vh - var(--nav-h));
  background: var(--dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: .35;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,14,26,.55) 0%,
      rgba(10,14,26,.3) 35%,
      rgba(10,14,26,.72) 70%,
      rgba(10,14,26,.97) 100%),
    linear-gradient(135deg,
      rgba(26,86,255,.18) 0%,
      transparent 60%);
}

/* Animated glow blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #1A56FF, transparent 70%);
  top: -80px; left: -80px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #00C2A8, transparent 70%);
  bottom: 10%; right: -60px;
  animation-delay: -3s;
}
.hero-blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #FF6B35, transparent 70%);
  top: 40%; left: 30%;
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(.97); }
}

/* Particle dots */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  animation: particleDrift linear infinite;
}
.hero-particles span:nth-child(1)  { left: 5%;  top: 20%; animation-duration: 12s; animation-delay: 0s; }
.hero-particles span:nth-child(2)  { left: 15%; top: 70%; animation-duration: 15s; animation-delay: -4s; width:2px;height:2px; }
.hero-particles span:nth-child(3)  { left: 25%; top: 40%; animation-duration: 10s; animation-delay: -8s; width:4px;height:4px;opacity:.6; }
.hero-particles span:nth-child(4)  { left: 45%; top: 10%; animation-duration: 14s; animation-delay: -2s; }
.hero-particles span:nth-child(5)  { left: 65%; top: 60%; animation-duration: 11s; animation-delay: -6s; width:2px;height:2px; }
.hero-particles span:nth-child(6)  { left: 80%; top: 30%; animation-duration: 13s; animation-delay: -1s; width:4px;height:4px;opacity:.5; }
.hero-particles span:nth-child(7)  { left: 90%; top: 80%; animation-duration: 16s; animation-delay: -7s; }
.hero-particles span:nth-child(8)  { left: 55%; top: 50%; animation-duration: 9s;  animation-delay: -3s; width:2px;height:2px; }

@keyframes particleDrift {
  0% { transform: translateY(0) rotate(0deg); opacity: .4; }
  50% { opacity: .8; }
  100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.25rem 2rem;
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(26,86,255,.2);
  border: 1px solid rgba(26,86,255,.35);
  border-radius: 99px;
  padding: .3rem .9rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6fa3ff;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  animation: fadeInDown .7s ease both;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
  animation: fadeInUp .7s ease .15s both;
  letter-spacing: -.02em;
}
.hero-title .line-accent {
  background: linear-gradient(135deg, #4d8bff, #00C2A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .line-warm {
  color: #fff;
  position: relative;
  display: inline-block;
}
.hero-title .line-warm::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent));
  border-radius: 2px;
  animation: lineGrow .6s ease .8s both;
  transform-origin: left;
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 2rem;
  line-height: 1.65;
  animation: fadeInUp .7s ease .3s both;
  font-weight: 400;
}

/* Hero Search Bar */
.hero-search {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  padding: .5rem .5rem .5rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  animation: fadeInUp .7s ease .45s both;
  transition: var(--transition);
}
.hero-search:focus-within {
  border-color: rgba(26,86,255,.6);
  box-shadow: 0 0 0 3px rgba(26,86,255,.2);
  background: rgba(255,255,255,.14);
}
.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: .9rem;
  font-family: var(--font-body);
  min-width: 0;
}
.hero-search input::placeholder { color: rgba(255,255,255,.5); }
.hero-search-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: .7rem 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,86,255,.4);
}
.hero-search-btn:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(26,86,255,.5); }

/* Hero chips */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: center;
  animation: fadeInUp .7s ease .55s both;
  margin-bottom: 2rem;
}
.hero-chip {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 99px;
  padding: .28rem .75rem;
  font-size: .72rem;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.hero-chip:hover {
  background: rgba(26,86,255,.3);
  border-color: rgba(26,86,255,.5);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero CTA buttons */
.hero-ctas {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp .7s ease .65s both;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), #3a70ff);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: .85rem 1.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .9rem;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 8px 28px rgba(26,86,255,.45);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(26,86,255,.55); color:#fff; }
.btn-hero-primary:hover::before { opacity: 1; }

.btn-hero-secondary {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-xl);
  padding: .85rem 1.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: .9rem;
  display: flex; align-items: center; gap: .5rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero floating product cards */
.hero-cards-float {
  position: relative;
  z-index: 2;
  padding: 0 1.25rem 2rem;
  overflow: hidden;
}
.hero-cards-scroll {
  display: flex;
  gap: .85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}
.hero-cards-scroll::-webkit-scrollbar { display: none; }

.hero-float-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: .9rem;
  min-width: 155px;
  flex-shrink: 0;
  scroll-snap-align: start;
  animation: cardFloat 6s ease-in-out infinite;
  cursor: pointer;
  transition: var(--transition);
}
.hero-float-card:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(26,86,255,.4);
  transform: translateY(-3px) !important;
}
.hero-float-card:nth-child(2) { animation-delay: -2s; }
.hero-float-card:nth-child(3) { animation-delay: -4s; }
.hero-float-card:nth-child(4) { animation-delay: -1s; }
.hero-float-card:nth-child(5) { animation-delay: -3s; }

@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.float-card-img {
  width: 100%; height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: .6rem;
  background: linear-gradient(135deg, rgba(26,86,255,.2), rgba(0,194,168,.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
}
.float-card-name {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-card-price {
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
}
.float-card-loc {
  font-size: .66rem;
  color: rgba(255,255,255,.5);
  margin-top: .2rem;
  display: flex; align-items: center; gap: .2rem;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-around;
  animation: fadeIn .7s ease 1s both;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label {
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .2rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-pad { padding: 3.5rem 0; }
.section-pad-sm { padding: 2rem 0; }

.section-header { margin-bottom: 2rem; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 16px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.section-subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  margin-top: .4rem;
  line-height: 1.6;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { background: var(--surface-2); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}

.cat-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.1rem .75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.cat-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
}
.cat-card:hover .cat-icon { background: var(--primary); }
.cat-name {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: .5rem; }
  .cat-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .cat-name { font-size: .65rem; }
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card-img {
  position: relative;
  height: 170px;
  background: var(--surface-3);
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img .placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--text-light);
}

.card-badge {
  position: absolute;
  top: .6rem; left: .6rem;
  background: var(--accent-warm);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.card-badge.new { background: var(--accent); }
.card-badge.featured { background: var(--primary); top:140px;
    position: absolute;

    min-width: 22px;
    height: 22px;
    padding: 0 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(145deg, #5cff4d, #00cc2c);

    color: white;
    font-size: 12px;
    font-weight: bold;

    border-radius: 50px;

    /* 3D Border */
    border: 2px solid rgba(255,255,255,0.25);

    /* Glow */
    box-shadow:
        0 0 5px rgba(0, 255, 21, 0.8),
        0 0 10px rgba(0, 255, 106, 0.7),
        0 0 18px rgba(0, 255, 34, 0.6),

        /* 3D depth */
        inset 0 2px 4px rgba(255,255,255,0.35),
        inset 0 -2px 4px rgba(0,0,0,0.35),
        0 4px 10px rgba(0,0,0,0.45);

    animation: pulseGlow 2s infinite ease-in-out;
}


/* Optional animated glow */
@keyframes pulseGlow{

    0%{
        box-shadow:
            0 0 5px rgba(0, 255, 13, 0.7),
            0 0 10px rgba(0, 255, 21, 0.6),
            0 0 18px rgba(0, 255, 76, 0.5),
            inset 0 2px 4px rgba(255,255,255,0.35),
            inset 0 -2px 4px rgba(0,0,0,0.35),
            0 4px 10px rgba(0,0,0,0.45);
    }

    50%{
        box-shadow:
            0 0 10px rgb(0, 255, 64),
            0 0 20px rgba(0, 255, 21, 0.9),
            0 0 30px rgba(0, 255, 42, 0.8),
            inset 0 2px 4px rgba(255,255,255,0.4),
            inset 0 -2px 4px rgba(0,0,0,0.4),
            0 4px 12px rgba(0,0,0,0.5);
    }

    100%{
        box-shadow:
            0 0 5px rgba(0, 255, 42, 0.7),
            0 0 10px rgba(0, 255, 21, 0.6),
            0 0 18px rgba(0, 255, 13, 0.5),
            inset 0 2px 4px rgba(255,255,255,0.35),
            inset 0 -2px 4px rgba(0,0,0,0.35),
            0 4px 10px rgba(0,0,0,0.45);
    }
}

.card-wishlist {
  position: absolute;
  top: .6rem; right: .6rem;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: .8rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.card-wishlist:hover { background: #fff; color: #e53e3e; }
.card-wishlist.active { color: #e53e3e; }

.product-card-body {
  padding: .85rem;
}
.product-card-title {
  font-weight: 600;
  font-size: .85rem;
  color: var(--text);
  margin-bottom: .35rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .35rem;
}
.product-card-meta {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  color: var(--text-light);
}
.product-card-meta i { color: var(--text-light); }

/* Products grid - horizontal scroll on mobile */
.products-scroll {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}
.products-scroll::-webkit-scrollbar { display: none; }
.products-scroll .product-card {
  min-width: 165px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* Products grid - full grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (min-width: 576px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 992px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  padding: 2rem 0;
}
.trust-items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.85);
}
.trust-icon {
  width: 40px; height: 40px;
  background: rgba(26,86,255,.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #6fa3ff;
  font-size: 1rem;
  flex-shrink: 0;
}
.trust-item-title {
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.3;
}
.trust-item-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0a2898 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 1rem;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .6rem;
  position: relative; z-index: 1;
}
.cta-banner-sub {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.btn-cta-white {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-xl);
  padding: .8rem 2rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .9rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: var(--transition);
  position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  color: var(--primary-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 2.5rem 0 0;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .5rem;
  display: flex; align-items: center; gap: .5rem;
}
.footer-brand-badge {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .75rem;
}
.footer-tagline {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: .85rem;
}
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-left: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom-text {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

.social-links {
  display: flex;
  gap: .5rem;
}
.social-link {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--surface-2) 0%, #e8efff 100%);
  display: flex;
  align-items: center;
  padding: 2rem 0;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}
.auth-logo-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: .6rem;
  box-shadow: 0 6px 20px rgba(26,86,255,.3);
}
.auth-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .2rem;
}
.auth-subtitle {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Form fields */
.form-group { margin-bottom: 1rem; }
.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
  display: block;
}
.form-control-custom {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  font-size: .875rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: var(--transition);
}
.form-control-custom:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,86,255,.1);
}
.form-control-custom::placeholder { color: var(--text-light); }

.input-icon-wrap { position: relative; }
.input-icon-wrap .input-icon {
  position: absolute;
  left: .85rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: .85rem;
  pointer-events: none;
}
.input-icon-wrap .form-control-custom { padding-left: 2.4rem; }
.input-icon-wrap .input-toggle {
  position: absolute;
  right: .85rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  cursor: pointer;
  font-size: .85rem;
  transition: var(--transition);
}
.input-icon-wrap .input-toggle:hover { color: var(--primary); }

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .85rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .925rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,86,255,.3);
  border: none;
  cursor: pointer;
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,255,.4);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.25rem 0;
  color: var(--text-light);
  font-size: .75rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-link {
  color: var(--primary);
  font-weight: 600;
  font-size: .83rem;
}
.auth-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ============================================================
   MARKETPLACE LISTINGS PAGE
   ============================================================ */
.marketplace-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 2rem 0 1.5rem;
  color: #fff;
}
.marketplace-hero h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .25rem;
}
.marketplace-hero p {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

/* Filter sidebar */
.filter-sidebar {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.filter-title {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-section { margin-bottom: 1.25rem; }
.filter-section-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .6rem;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .45rem;
  cursor: pointer;
  font-size: .82rem;
  color: var(--text);
}
.filter-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.price-range-inputs {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.price-range-inputs input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .45rem .6rem;
  font-size: .78rem;
  outline: none;
  transition: var(--transition);
}
.price-range-inputs input:focus { border-color: var(--primary); }

/* Mobile filter toggle */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .55rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.mobile-filter-btn:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 767px) {
  .mobile-filter-btn { display: flex; }
  .filter-sidebar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    top: auto;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 1050;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 -8px 40px rgba(0,0,0,.15);
  }
  .filter-sidebar.open { transform: translateY(0); }
  .filter-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1049;
    display: none;
  }
  .filter-overlay.open { display: block; }
}

/* Sort bar */
.sort-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.sort-bar select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .45rem .75rem;
  font-size: .8rem;
  font-family: var(--font-body);
  outline: none;
  background: var(--surface);
  cursor: pointer;
  transition: var(--transition);
}
.sort-bar select:focus { border-color: var(--primary); }
.results-count {
  font-size: .8rem;
  color: var(--text-muted);
  margin-left: auto;
}
.view-toggle {
  display: flex;
  gap: .3rem;
}
.view-btn {
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: .8rem;
}
.view-btn.active, .view-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-section { padding: 2rem 0; }

.img-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: .6rem;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.img-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.img-gallery-thumbs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.img-gallery-thumbs::-webkit-scrollbar { display: none; }
.img-thumb {
  width: 66px; height: 66px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.img-thumb.active, .img-thumb:hover { border-color: var(--primary); }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .2rem;
}
.detail-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .75rem;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.detail-meta-chip {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .22rem .7rem;
  font-size: .72rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: .3rem;
}

.seller-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.seller-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.seller-name {
  font-weight: 600;
  font-size: .875rem;
  color: var(--dark);
}
.seller-meta {
  font-size: .72rem;
  color: var(--text-muted);
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 600;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .85rem 1.5rem;
  font-weight: 700;
  font-size: .9rem;
  display: flex; align-items: center; gap: .5rem;
  width: 100%;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  background: #1dba5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  color: #fff;
}
.btn-save-item {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem 1.5rem;
  font-weight: 600;
  font-size: .9rem;
  display: flex; align-items: center; gap: .5rem;
  width: 100%;
  justify-content: center;
  transition: var(--transition);
}
.btn-save-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.detail-desc-section { margin-bottom: 1.5rem; }
.detail-desc-section h5 {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .6rem;
}
.detail-desc-section p {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CREATE LISTING PAGE
   ============================================================ */
.create-listing-page { padding: 2rem 0; }
.create-listing-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.page-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .25rem;
  letter-spacing: .03em;
}
.page-subtitle {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface-2);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.upload-zone-icon {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: .6rem;
}
.upload-zone-text {
  font-size: .82rem;
  color: var(--text-muted);
}
.upload-zone-text strong { color: var(--primary); }
.upload-zone input[type="file"] { display: none; }

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .75rem;
}
.preview-img-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.preview-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.preview-remove {
  position: absolute;
  top: 3px; right: 3px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,.55);
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem;
  cursor: pointer;
  transition: var(--transition);
}
.preview-remove:hover { background: #e53e3e; }

/* Form select custom */
.form-select-custom {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  font-size: .875rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236B7280' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 12px;
}
.form-select-custom:focus { border-color: var(--primary); background-color: #fff; box-shadow: 0 0 0 3px rgba(26,86,255,.1); }

.form-textarea-custom {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .875rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: var(--transition);
  resize: vertical;
  min-height: 120px;
}
.form-textarea-custom:focus { border-color: var(--primary); background-color: #fff; box-shadow: 0 0 0 3px rgba(26,86,255,.1); }

.condition-buttons {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.condition-btn {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
}
.condition-btn:hover, .condition-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ============================================================
   USER PROFILE PAGE
   ============================================================ */
.profile-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 2.5rem 0 5.5rem;
  position: center;
}
.profile-avatar-wrap {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin: 0 auto 1rem;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
}
.profile-handle {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-align: center;
  margin-bottom: .75rem;
}
.profile-stats-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1rem;
}
.profile-stat-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
}
.profile-stat-lbl {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  text-align: center;
}
.profile-content {
  margin-top: -0.5rem;
  padding-bottom: 5.5rem;
}
.profile-tabs .nav-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted) !important;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
}
.profile-tabs .nav-link.active {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
}

/* ── Profile Tabs ── */
.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: .25rem;
  border-bottom: none;
}

.profile-tabs .nav-item {
  flex: 1;
  min-width: 0;
}

.profile-tabs .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted) !important;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
}

.profile-tabs .nav-link:hover {
  background: var(--surface-3);
  color: var(--primary) !important;
}

.profile-tabs .nav-link.active {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
}

.profile-tabs .nav-link i {
  font-size: .78rem;
  flex-shrink: 0;
}

/* Prevent Bootstrap from hiding the tab text on small screens */
@media (max-width: 380px) {
  .profile-tabs .nav-link i { display: none; }
  .profile-tabs .nav-link { font-size: .75rem; padding: .5rem .4rem; }
}

.profile-content .bg-white.rounded-3 {
  min-height: 56px;
  display: flex;
  align-items: center;
}


.btn-edit-profile {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .45rem 1.2rem;
  font-size: .8rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-edit-profile:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* ============================================================
   DASHBOARD PAGE
   ============================================================ */
.dashboard-page { padding: 1.75rem 0 3rem; }
.dashboard-header {
  margin-bottom: 1.5rem;
}
.dashboard-greeting {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
}
.dashboard-date {
  font-size: .8rem;
  color: var(--text-muted);
}

.stat-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.stat-icon.blue { background: rgba(26,86,255,.12); color: var(--primary); }
.stat-icon.green { background: rgba(0,194,168,.12); color: var(--accent); }
.stat-icon.orange { background: rgba(255,107,53,.12); color: var(--accent-warm); }
.stat-icon.purple { background: rgba(124,58,237,.12); color: #7c3aed; }

.stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .2rem;
}
.stat-trend {
  font-size: .65rem;
  color: var(--accent);
  display: flex; align-items: center; gap: .2rem;
  margin-top: .2rem;
}
.stat-trend.down { color: var(--accent-warm); }

.dash-section-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-section-title a { font-size: .78rem; font-weight: 600; color: var(--primary); }

/* Listing row */
.listing-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: .6rem;
  transition: var(--transition);
  background: var(--surface);
}
.listing-row:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.listing-row-img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
}
.listing-row-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-row-title {
  font-weight: 600;
  font-size: .82rem;
  color: var(--text);
  margin-bottom: .15rem;
  line-height: 1.3;
}
.listing-row-price { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--primary); }
.listing-row-meta { font-size: .68rem; color: var(--text-light); }
.listing-status {
  padding: .2rem .6rem;
  border-radius: 99px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.listing-status.active { background: rgba(0,194,168,.12); color: var(--accent); }
.listing-status.pending { background: rgba(255,107,53,.12); color: var(--accent-warm); }
.listing-status.sold { background: rgba(107,114,128,.12); color: var(--text-muted); }

/* Saved item card */
.saved-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.saved-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.saved-card-img {
  height: 120px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}
.saved-card-img img { width: 100%; height: 100%; object-fit: cover; }
.saved-card-body { padding: .75rem; }
.saved-card-title { font-size: .78rem; font-weight: 600; color: var(--text); margin-bottom: .25rem; }
.saved-card-price { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--primary); }

/* ============================================================
   UTILITIES
   ============================================================ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .7rem 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .875rem;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(26,86,255,.3);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(26,86,255,.4);
  color: #fff;
}
.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: .7rem 1.4rem;
  font-weight: 600;
  font-size: .875rem;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-outline-custom:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.text-primary-custom { color: var(--primary) !important; }
.bg-surface-2 { background: var(--surface-2); }

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}
.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  opacity: .4;
}
.empty-state p { font-size: .875rem; }

/* Page header bar */
.page-header-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  margin-bottom: 1.5rem;
}
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  color: var(--text-muted);
}
.breadcrumb-custom a { color: var(--text-muted); }
.breadcrumb-custom a:hover { color: var(--primary); }
.breadcrumb-custom .sep { color: var(--text-light); }
.breadcrumb-custom .current { color: var(--text); font-weight: 600; }

/* Bottom nav (mobile) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 1030;
  padding: .4rem 0 calc(.4rem + env(safe-area-inset-bottom));
}
.mobile-bottom-nav .nav-items {
  display: flex;
  justify-content: space-around;
}
.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .18rem;
  padding: .3rem .5rem;
  color: var(--text-light);
  font-size: .62rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}
.mob-nav-item i { font-size: 1.15rem; }
.mob-nav-item.active, .mob-nav-item:hover { color: var(--primary); }
.mob-nav-item.post-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: .35rem .8rem;
  margin-top: -10px;
  box-shadow: 0 4px 16px rgba(26,86,255,.35);
}
.mob-nav-item.post-btn:hover { background: var(--primary-dark); color: #fff; }
.mob-nav-badge {
  position: absolute;
  top: .2rem; right: .3rem;
  background: var(--accent-warm);
  color: #fff;
  font-size: .55rem;
  font-weight: 700;
  border-radius: 99px;
  padding: .08rem .3rem;
  min-width: 14px;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .uniport-nav { height: 56px; }
  :root { --nav-h: 56px; }
}

/* Section with scroll view-all link */
.section-view-all {
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  display: flex; align-items: center; gap: .25rem;
  text-decoration: none;
  transition: var(--transition);
}
.section-view-all:hover { color: var(--primary-dark); gap: .5rem; }

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .22rem .65rem;
  font-size: .72rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* Toast */
.toast-custom {
  position: fixed;
  bottom: calc(70px + env(safe-area-inset-bottom));
  left: 50%; transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: .65rem 1.25rem;
  font-size: .82rem;
  font-weight: 500;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
  z-index: 2000;
  display: flex; align-items: center; gap: .5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  white-space: nowrap;
}
.toast-custom.show { opacity: 1; }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--border-light) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   DELETED LISTING DETAIL — product-detail.html
   ============================================================ */

.deleted-detail-banner {
  background: rgba(229, 62, 62, .07);
  border: 1.5px solid rgba(229, 62, 62, .18);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.deleted-detail-icon {
  width: 56px; height: 56px;
  background: rgba(229, 62, 62, .12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #c53030;
  margin: 0 auto .85rem;
}

.deleted-detail-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .35rem;
}

.deleted-detail-sub {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.deleted-reason-box {
  background: rgba(229, 62, 62, .06);
  border: 1px solid rgba(229, 62, 62, .2);
  border-left: 3px solid #c53030;
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  margin-top: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  text-align: left;
}

.deleted-reason-box i {
  color: #c53030;
  font-size: .9rem;
  margin-top: .1rem;
  flex-shrink: 0;
}

.deleted-reason-box p {
  font-size: .8rem;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}

.deleted-reason-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #c53030;
  margin-bottom: .2rem;
}

#page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease;
}
#page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.loader-logo {
  font-size: 2.5rem;
  animation: logoPop .6s ease both;
}
.loader-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loader-logo svg {
  display: block;
  animation: logoPop .6s ease both;
}
@keyframes logoPop {
  from { transform: scale(.5); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: .8;
}
.btn-loading::after {
  content: '';
  position: absolute;
  right: .85rem; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

.skeleton-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-img {
  height: 170px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-body {
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.skeleton-line {
  height: 12px;
  border-radius: 6px;
  margin-bottom: .5rem;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-line.short { width: 60%; }

.page-transition {
  animation: fadeInPage .35s ease both;
}
@keyframes fadeInPage {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Dashboard Skeletons ── */
.skeleton-stat-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.skeleton-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.skeleton-listing-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: .6rem;
}
.skeleton-listing-img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.skeleton-saved-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-saved-img {
  height: 120px;
}
.skeleton-saved-body {
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.input-error {
  color:rgb(192, 18, 18)
}



/* ============================================================
   UNIPORT MARKET — Homepage Additions
   Paste this at the VERY BOTTOM of your main.css file,
   after the final closing comment block.
   ============================================================ */


/* ── Ticker Tape Announcement Bar ── */
.ticker-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  overflow: hidden;
  padding: .48rem 0;
  position: relative;
  z-index: 1039;
}
.ticker-tape {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker-tape:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0 2.5rem;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  letter-spacing: .04em;
}
.ticker-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ── Scroll-Reveal Base States ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(.88);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Staggered delays */
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }


/* ── Hero Orbit Rings ── */
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,86,255,.11);
  animation: orbitSpin linear infinite;
  pointer-events: none;
  z-index: 1;
}
.hero-orbit-1 {
  width: 480px; height: 480px;
  top: 50%; left: 50%;
  margin-top: -240px; margin-left: -240px;
  animation-duration: 22s;
}
.hero-orbit-2 {
  width: 720px; height: 720px;
  top: 50%; left: 50%;
  margin-top: -360px; margin-left: -360px;
  animation-duration: 36s;
  animation-direction: reverse;
}
.hero-orbit-3 {
  width: 980px; height: 980px;
  top: 50%; left: 50%;
  margin-top: -490px; margin-left: -490px;
  animation-duration: 55s;
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ── Hero BG Parallax (desktop only) ── */
.hero-bg-img { will-change: transform; }

@media (max-width: 768px) {
  .hero-orbit { display: none; } /* hide on mobile for perf */
}


/* ── Hero Stat Numbers — Gradient text ── */
.hero-stat-num {
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Accent span inside stat num keeps color */
.hero-stat-num span {
  background: linear-gradient(135deg, var(--accent), #00e0c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── Section Title Animated Underline ── */
.section-title-animated {
  position: relative;
  display: inline-block;
}
.section-title-animated::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width .7s cubic-bezier(.4,0,.2,1) .3s;
}
.reveal.visible .section-title-animated::after,
.reveal-left.visible .section-title-animated::after,
.reveal-right.visible .section-title-animated::after { width: 100%; }


/* ── Section Rainbow Top Border ── */
.section-wave-top {
  position: relative;
}
.section-wave-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--accent-warm),
    var(--primary)
  );
  background-size: 300% 100%;
  animation: waveShift 4s ease infinite;
}
@keyframes waveShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}


/* ── Sticky Category Nav ── */
.sticky-cats {
  position: sticky;
  top: var(--nav-h);
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: .5rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  /* Start hidden above fold, slide in when categories leave view */
  transform: translateY(-110%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 20px rgba(26,86,255,.07);
}
.sticky-cats::-webkit-scrollbar { display: none; }
.sticky-cats.active { transform: translateY(0); }

.sticky-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .85rem;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.sticky-cat-pill:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
}


/* ── Category Card Glow Layer ── */
.cat-card { position: relative; overflow: hidden; }
.cat-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(26,86,255,.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.cat-card:hover .cat-glow { opacity: 1; }
/* Keep icon & name above the glow layer */
.cat-icon,
.cat-name { position: relative; z-index: 1; }


/* ── Product Card — 3D hover + shimmer ── */
.product-card {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.product-card:hover {
  transform: translateY(-6px) rotateX(2deg);
}
/* Shimmer sweep */
.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.07),
    transparent
  );
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
  z-index: 2;
}
.product-card:hover::after { left: 140%; }


/* ── Trust Strip — item hover glow ── */
.trust-item {
  position: relative;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  transition: background .3s ease;
  cursor: default;
}
.trust-item:hover { background: rgba(255,255,255,.07); }
.trust-icon {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.trust-item:hover .trust-icon {
  transform: scale(1.2) rotate(-8deg);
}


/* ── Testimonial Cards — 3D hover ── */
.testi-card {
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              box-shadow .35s cubic-bezier(.4,0,.2,1),
              border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: -10px; right: 16px;
  font-size: 7rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: .06;
  line-height: 1;
  pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 48px rgba(26,86,255,.13);
  border-color: rgba(26,86,255,.22);
}


/* ── How It Works Step Cards ── */
.step-card {
  border-radius: var(--radius-lg);
  transition: background .3s ease, transform .3s ease;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
}
.step-card:hover { background: var(--primary-light); transform: translateY(-4px); }

.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  margin: 0 auto .85rem;
  box-shadow: 0 4px 20px rgba(26,86,255,.4);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease;
  position: relative;
}
.step-card:hover .step-num {
  transform: translateY(-4px) rotateY(18deg) scale(1.08);
  box-shadow: 0 12px 32px rgba(26,86,255,.55);
}


/* ── CTA Banner hover lift ── */
.cta-banner {
  transition: transform .4s cubic-bezier(.4,0,.2,1),
              box-shadow .4s cubic-bezier(.4,0,.2,1);
}
.cta-banner:hover {
  transform: scale(1.012) translateY(-2px);
  box-shadow: 0 28px 72px rgba(26,86,255,.28);
}


/* ── Phone Mockup in App Banner ── */
.phone-mockup {
  width: 120px; height: 220px;
  border-radius: 26px;
  border: 3px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto;
  position: relative;
  animation: phoneFloat 4s ease-in-out infinite;
  box-shadow:
    0 24px 64px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 4px;
  background: rgba(255,255,255,.2);
  border-radius: 99px;
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}


/* ── Scroll-to-Top Button ── */
.scroll-top-btn {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom));
  right: 1.25rem;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1020;
  box-shadow: 0 6px 20px rgba(26,86,255,.4);
  opacity: 0;
  transform: translateY(16px) scale(.85);
  transition: opacity .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 28px rgba(26,86,255,.5);
}
@media (min-width: 768px) {
  .scroll-top-btn {
    bottom: 1.75rem;
    right: 1.75rem;
  }
}


/* ── Hero card auto-scroll tweak ── */
.hero-cards-scroll {
  scroll-behavior: smooth;
  cursor: grab;
}
.hero-cards-scroll:active { cursor: grabbing; }


/* ── Smooth scroll ── */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }


/* ── App store buttons ── */
.app-banner .app-store-btn {
  position: relative; z-index: 1;
  transition: var(--transition), transform .25s ease;
}
.app-banner .app-store-btn:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.22);
  color: #fff;
}


/* ── Wishlist button pop ── */
.card-wishlist {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), color .2s ease, background .2s ease;
}
.card-wishlist:hover { transform: scale(1.18); }
.card-wishlist.active { color: #e53e3e; }


/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ticker-tape,
  .hero-blob,
  .hero-orbit,
  .hero-particles span,
  .phone-mockup,
  .step-num,
  .hero-float-card { animation: none !important; }

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .product-card:hover,
  .testi-card:hover,
  .cta-banner:hover { transform: none !important; }
}


/* ── Mobile-specific tweaks ── */
@media (max-width: 767px) {
  .ticker-item { padding: 0 1.5rem; }

  /* Slightly smaller step numbers on tight screens */
  .step-num { width: 46px; height: 46px; font-size: 1rem; border-radius: 13px; }
  .step-title { font-size: .88rem; }
  .step-desc { font-size: .74rem; }

  /* Phone mockup smaller on mobile */
  .phone-mockup { width: 90px; height: 170px; font-size: 2.8rem; }

  /* Section wave only shows on taller sections */
  .section-wave-top::before { height: 2px; }

  /* CTA banner padding tighter */
  .cta-banner { padding: 2rem 1.25rem; margin: 0 .75rem; }

  /* Scroll to top sits above bottom nav */
  .scroll-top-btn { bottom: calc(70px + env(safe-area-inset-bottom)); right: .85rem; }
}

@media (max-width: 380px) {
  .ticker-item { font-size: .66rem; }
  .sticky-cat-pill { padding: .28rem .65rem; font-size: .7rem; }
}


/* ============================================================
   OVERFLOW FIX — prevents horizontal scroll on mobile
   Add this block at the very end of homepage-additions.css
   ============================================================ */

/* 1. Root-level overflow lock */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* 2. Every top-level section must not bleed */
.ticker-wrap,
.hero-section,
.sticky-cats,
.categories-section,
.section-pad,
.section-pad-sm,
.trust-strip,
.how-it-works,
.testimonials-section,
.bg-surface-2 {
  overflow-x: hidden;
  max-width: 100vw;
}

/* 3. Reveal-left / reveal-right translateX causes bleed before
      the element becomes visible. Clip at the section level. */
section,
.trust-strip,
.ticker-wrap {
  overflow-x: clip; /* clip (not hidden) so sticky children still work */
}

/* 4. Orbit rings — already hidden on mobile but let's be explicit */
.hero-orbit {
  overflow: hidden;
  /* translate uses margin offset — replace with transform so it
     stays centered without pushing layout */
  margin: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
}
.hero-orbit-1 { transform: translate(-50%, -50%); animation: orbitSpin1 22s linear infinite; }
.hero-orbit-2 { transform: translate(-50%, -50%); animation: orbitSpin2 36s linear infinite reverse; }
.hero-orbit-3 { transform: translate(-50%, -50%); animation: orbitSpin3 55s linear infinite; }

@keyframes orbitSpin1 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes orbitSpin2 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes orbitSpin3 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 5. Hero blobs — constrain inside hero */
.hero-blob { max-width: 100vw; }
.hero-blob-1 { left: -40px; }   /* was -80px, pull back in */
.hero-blob-2 { right: -30px; }  /* was -60px */

/* 6. CTA banner margin was 0 1rem which can cause bleed on very
      narrow screens — use padding on parent instead */
.cta-banner {
  margin: 0;           /* remove side margin */
}
/* The container px-3 already gives 1rem padding each side, that's enough */

/* 7. Ticker tape — make sure the tape itself never causes reflow */
.ticker-tape {
  width: max-content;  /* prevent wrapping that could force layout width */
}

/* 8. Hero cards scroll — already scrollable but clip prevents overflow */
.hero-cards-float {
  overflow-x: hidden;
}
.hero-cards-scroll {
  overflow-x: scroll;   /* keep scrollable internally */
  max-width: 100%;
}

/* 9. Products scroll row */
.products-scroll {
  overflow-x: scroll;
  max-width: 100%;
}

/* 10. Sticky cats — same */
.sticky-cats {
  max-width: 100vw;
}

/* Mobile — tighten any remaining edge cases */
@media (max-width: 767px) {
  /* Step connector arrows can push layout on very small screens */
  .step-connector { display: none !important; }

  /* Testi cards — no 3D transform on mobile (causes reflow jank) */
  .testi-card:hover { transform: none; }

  /* Cat cards — disable 3D tilt translate on mobile */
  .cat-card { transform: none !important; }

  /* Hero blobs smaller on mobile to prevent bleed */
  .hero-blob-1 { width: 220px; height: 220px; left: -30px; top: -40px; }
  .hero-blob-2 { width: 180px; height: 180px; right: -20px; }
  .hero-blob-3 { width: 140px; height: 140px; }

  /* Product card shimmer — disable on mobile */
  .product-card::after { display: none; }

  /* Ensure no child of container bleeds */
  .container, .container-fluid { max-width: 100%; overflow-x: hidden; }
}

@media (max-width: 480px) {
  /* Extra tight — kill all translateX reveal animations on very small phones */
  .reveal-left  { transform: translateY(24px) !important; }
  .reveal-right { transform: translateY(24px) !important; }
  .reveal-left.visible,
  .reveal-right.visible { transform: translateY(0) !important; }
}

/* =========================================================
   FEATURED PREMIUM LISTING DESIGN
========================================================= */

.featured-listing-page{
    position:relative;
    overflow:hidden;

    background:
        radial-gradient(circle at top left, rgba(255,0,140,0.12), transparent 25%),
        radial-gradient(circle at bottom right, rgba(0,255,255,0.12), transparent 25%),
        linear-gradient(145deg,#050505,#0b0b0f,#111827);


    min-height:100vh;
}


/* Floating stars */

.featured-listing-page::before{
    content:"";

    position:absolute;
    inset:0;

    pointer-events:none;

    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 1.4px, transparent 1.6px),
        radial-gradient(circle, rgba(0,255,255,.85) 1.2px, transparent 1.4px),
        radial-gradient(circle, rgba(255,0,255,.85) 1.3px, transparent 1.5px),
        radial-gradient(circle, rgba(255,255,255,.7) 2px, transparent 2.2px);

    background-size:
        180px 180px,
        240px 240px,
        320px 320px,
        420px 420px;

    background-position:
        0 0,
        40px 60px,
        120px 90px,
        200px 140px;

    opacity:.9;

    animation:
        starsFloat 50s linear infinite;
}


/* subtle glow overlay */

.featured-listing-page::after{
    content:"";

    position:absolute;
    inset:0;

    pointer-events:none;

    background:
        radial-gradient(circle at 20% 30%, rgba(0,255,255,.06), transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(255,0,255,.06), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,.04), transparent 30%);
}


/* =========================================================
   GLASSMORPHISM CARDS
========================================================= */

.featured-listing-page .detail-desc-section,
.featured-listing-page .seller-card,
.featured-listing-page .product-card,
.featured-listing-page .detail-meta-chip,
.featured-listing-page .tag{
    background:rgba(255,255,255,0.06) !important;

    border:1px solid rgba(255,255,255,0.12);


    box-shadow:
        0 8px 30px rgba(0,0,0,0.4),
        inset 0 1px 1px rgba(255,255,255,0.08);

    transition:.4s ease;
}


/* =========================================================
   TITLE GLOW
========================================================= */

.featured-listing-page .detail-title{
    color:white;

    text-shadow:
        0 0 8px rgba(255,255,255,0.6),
        0 0 20px rgba(0,255,255,0.35),
        0 0 40px rgba(255,0,255,0.25);

    animation:titleGlow 4s ease infinite;
}


/* =========================================================
   PRICE PREMIUM EFFECT
========================================================= */

.featured-listing-page .detail-price{
    color:#00ffd5;

    text-shadow:
        0 0 10px rgba(0,255,213,.8),
        0 0 25px rgba(0,255,213,.5);

    animation:pricePulse 2.5s ease infinite;
}


/* =========================================================
   DISCO IMAGE RING
========================================================= */

.featured-listing-page .img-gallery-main{
    position:relative;

    border-radius:30px;

    overflow:hidden;

    transform-style:preserve-3d;

    animation:floatingCard 5s ease-in-out infinite;
}


/* rotating rainbow border */

/* =========================================================
   PREMIUM DISCO LIGHT BORDER
========================================================= */

.featured-listing-page .img-gallery-main::before{

    content:"";

    position:absolute;

    inset:-6px;

    border-radius:34px;

    z-index:0;

    background:
        conic-gradient(
            from 0deg,
            #ff0055,
            #ff7b00,
            #ffee00,
            #00ff88,
            #00e1ff,
            #4d7cff,
            #b300ff,
            #ff0055
        );

    animation:
        discoSpin 3s linear infinite,
        discoGlow 2s ease-in-out infinite;

    filter:blur(1px);

    background-size:200% 200%;
}


/* animated light streak */

.featured-listing-page .img-gallery-main .light-sweep{

    position:absolute;

    top:-30%;
    left:-120%;

    width:70%;
    height:160%;

    z-index:3;

    background:
        linear-gradient(
            115deg,
            transparent 20%,
            rgba(255,255,255,.55) 50%,
            transparent 80%
        );

    transform:rotate(12deg);

    animation:lightSweep 3.5s linear infinite;

    pointer-events:none;

    mix-blend-mode:screen;
}

/* inner dark mask */

.featured-listing-page .img-gallery-main::after{
    content:"";

    position:absolute;

    inset:4px;

    border-radius:26px;

    background:#050505;

    z-index:1;
}


.featured-listing-page .img-gallery-main img{
    position:relative;

    z-index:2;

    border-radius:26px;

    transform:scale(1);

    transition:.5s ease;
}

.featured-listing-page .img-gallery-main:hover img{
    transform:scale(1.04);
}


/* =========================================================
   BUTTONS
========================================================= */

.featured-listing-page .btn-whatsapp,
.featured-listing-page .btn-save-listing,
.featured-listing-page .btn-primary-custom,
.featured-listing-page .btn-outline-custom{
    position:relative;

    overflow:hidden;

    border:none;

    transform-style:preserve-3d;

    box-shadow:
        0 10px 25px rgba(0,0,0,.45),
        inset 0 1px 1px rgba(255,255,255,.15);

    transition:.35s ease;
}


.featured-listing-page .btn-whatsapp:hover,
.featured-listing-page .btn-save-listing:hover,
.featured-listing-page .btn-primary-custom:hover,
.featured-listing-page .btn-outline-custom:hover{
    transform:
        translateY(-3px)
        scale(1.02);

    box-shadow:
        0 15px 35px rgba(0,255,255,.2),
        0 0 25px rgba(255,0,255,.15);
}


/* glowing sweep */

.featured-listing-page .btn-whatsapp::before,
.featured-listing-page .btn-save-listing::before,
.featured-listing-page .btn-primary-custom::before,
.featured-listing-page .btn-outline-custom::before{
    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:80%;
    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.4),
            transparent
        );

    transform:skewX(-25deg);

    animation:buttonSweep 3s infinite;
}


/* =========================================================
   SELLER CARD HOVER
========================================================= */

.featured-listing-page .seller-card:hover{
    transform:
        translateY(-6px)
        rotateX(4deg);

    box-shadow:
        0 15px 40px rgba(0,255,255,.12),
        0 0 25px rgba(255,0,255,.12);
}


/* =========================================================
   META CHIPS
========================================================= */

.featured-listing-page .detail-meta-chip{
    color:white;
}


/* =========================================================
   DESCRIPTION TEXT
========================================================= */

.featured-listing-page p,
.featured-listing-page .seller-meta,
.featured-listing-page .product-card-meta{
    color:#d1d5db !important;
}


/* =========================================================
   FLOATING ANIMATIONS
========================================================= */

@keyframes spinRing{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

@keyframes starsFloat{

    from{
        transform:translateY(0);
    }

    to{
        transform:translateY(-200px);
    }
}

@keyframes titleGlow{

    0%,100%{
        text-shadow:
            0 0 8px rgba(255,255,255,0.5),
            0 0 20px rgba(0,255,255,0.25),
            0 0 40px rgba(255,0,255,0.15);
    }

    50%{
        text-shadow:
            0 0 12px rgba(255,255,255,0.9),
            0 0 30px rgba(0,255,255,0.5),
            0 0 60px rgba(255,0,255,0.4);
    }
}

@keyframes floatingCard{

    0%,100%{
        transform:
            translateY(0px)
            rotateX(0deg);
    }

    50%{
        transform:
            translateY(-8px)
            rotateX(2deg);
    }
}

@keyframes buttonSweep{

    0%{
        left:-120%;
    }

    100%{
        left:140%;
    }
}

@keyframes pricePulse{

    0%,100%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.04);
    }
}


/* =========================================================
   MOBILE OPTIMIZATION
========================================================= */

@media(max-width:768px){

    .featured-listing-page .img-gallery-main{
        border-radius:22px;
    }

    .featured-listing-page .img-gallery-main::after{
        border-radius:18px;
    }

    .featured-listing-page .detail-title{
        font-size:1.7rem;
    }

}
.featured-listing-page .img-gallery-main::before
/* =========================================================
   TEXT SHARPNESS FIX
========================================================= */

.featured-listing-page *{
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;

    text-rendering:optimizeLegibility;
}


/* force text above glow layers */

.featured-listing-page .detail-title,
.featured-listing-page .detail-price,
.featured-listing-page p,
.featured-listing-page span,
.featured-listing-page a,
.featured-listing-page h1,
.featured-listing-page h2,
.featured-listing-page h3,
.featured-listing-page h4,
.featured-listing-page h5{
    position:relative;
    z-index:5;
}

@media(max-width:768px){

    .featured-listing-page::before{
        opacity:1;
        background-size:
            120px 120px,
            180px 180px,
            240px 240px,
            320px 320px;
    }

}

/* =========================================================
   FEATURED LISTING WHITE TEXT OVERRIDES
========================================================= */

/* Seller full name */

.featured-listing-page .seller-name{
    color:#ffffff !important;

    font-weight:800;

    text-shadow:
        0 0 10px rgba(255,255,255,.15);
}


/* Phone number button */

.featured-listing-page a[href^="tel:"]{
    color:#ffffff !important;

    font-weight:800;

    border:1px solid rgba(255,255,255,.18) !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        ) !important;

    box-shadow:
        0 8px 25px rgba(0,0,0,.35),
        inset 0 1px 1px rgba(255,255,255,.08);
}


/* Save button text */

.featured-listing-page .btn-save-listing{
    color:#ffffff !important;

    font-weight:800;

    letter-spacing:.02em;
}


/* Save button icon */

.featured-listing-page .btn-save-listing i{
    color:#ffffff !important;
}


/* Saved active state */

.featured-listing-page .btn-save-listing.active{
    background:
        linear-gradient(
            135deg,
            rgba(255,0,140,.25),
            rgba(0,255,255,.2)
        ) !important;

    border:1px solid rgba(255,255,255,.18);

    box-shadow:
        0 0 18px rgba(255,0,140,.18),
        0 0 28px rgba(0,255,255,.12);
}

/* =========================================================
   DISCO ANIMATIONS
========================================================= */

@keyframes discoSpin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}


@keyframes discoGlow{

    0%,100%{

        box-shadow:
            0 0 10px rgba(255,0,85,.45),
            0 0 20px rgba(0,225,255,.35),
            0 0 40px rgba(179,0,255,.25);
    }

    50%{

        box-shadow:
            0 0 20px rgba(255,0,85,.7),
            0 0 40px rgba(0,225,255,.55),
            0 0 70px rgba(179,0,255,.45);
    }
}


@keyframes lightSweep{

    0%{
        left:-120%;
    }

    100%{
        left:150%;
    }
}

/* =========================================================
   FEATURED IMAGE COLUMN DISCO OUTLINE
========================================================= */

.featured-listing-page .featured-image-column{
    position:relative;

    border-radius:34px;

    padding:10px;

    overflow:visible;

    isolation:isolate;
}


/* animated RGB border */

.featured-listing-page .featured-image-column::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:34px;

    background:
        conic-gradient(
            from 0deg,
            #ff0055,
            #ff7b00,
            #ffee00,
            #00ff88,
            #00d9ff,
            #4d7cff,
            #b300ff,
            #ff0055
        );

    animation:
        discoBorderSpin 4s linear infinite,
        discoBorderGlow 2s ease-in-out infinite;

    z-index:-2;
}

/* outer image column */

.featured-listing-page .featured-image-column{
    border-radius:36px !important;
}

.featured-listing-page .featured-image-column{
    overflow:hidden;
}


/* rotating border */

.featured-listing-page .featured-image-column::before{
    border-radius:36px !important;
}


/* dark mask */

.featured-listing-page .featured-image-column::after{
    border-radius:32px !important;
}


/* image container */

.featured-listing-page .img-gallery-main{
    border-radius:28px !important;

    overflow:hidden;
}


/* rainbow border */

.featured-listing-page .img-gallery-main::before{
    border-radius:28px !important;
}


/* inner black mask */

.featured-listing-page .img-gallery-main::after{
    border-radius:24px !important;
}


/* actual image */

.featured-listing-page .img-gallery-main img{
    border-radius:24px !important;
}
/* dark inner mask */

.featured-listing-page .featured-image-column::after{

    content:"";

    position:absolute;

    inset:4px;

    border-radius:30px;

    background:
        linear-gradient(
            145deg,
            rgba(5,5,5,.96),
            rgba(15,15,20,.94)
        );

    z-index:-1;
}


/* floating glow */

.featured-listing-page .featured-image-column{

    box-shadow:
        0 0 25px rgba(255,0,85,.15),
        0 0 40px rgba(0,217,255,.12),
        0 0 70px rgba(179,0,255,.08);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes discoBorderSpin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}


@keyframes discoBorderGlow{

    0%,100%{

        filter:
            brightness(1)
            saturate(1.1);

        box-shadow:
            0 0 15px rgba(255,0,85,.35),
            0 0 30px rgba(0,217,255,.25);
    }

    50%{

        filter:
            brightness(1.25)
            saturate(1.4);

        box-shadow:
            0 0 30px rgba(255,0,85,.55),
            0 0 60px rgba(0,217,255,.45);
    }
}

/* =========================================================
   FEATURED ITEM DETAIL BOXES FIX
========================================================= */

/* detail mini cards */

.featured-listing-page .detail-desc-section .col-6 > div{

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        ) !important;

    border:
        1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(8px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.35),
        inset 0 1px 1px rgba(255,255,255,.06);

    transition:.35s ease;
}


/* hover effect */

.featured-listing-page .detail-desc-section .col-6 > div:hover{

    transform:
        translateY(-3px)
        scale(1.02);

    box-shadow:
        0 15px 35px rgba(0,217,255,.12),
        0 0 20px rgba(255,0,140,.08);
}


/* labels */

.featured-listing-page .detail-desc-section .col-6 > div div:first-child{

    color:
        rgba(255,255,255,.65) !important;

    font-weight:700;

    letter-spacing:.08em;
}


/* actual values */

.featured-listing-page .detail-desc-section .col-6 > div div:last-child{

    color:#ffffff !important;

    font-weight:800;

    font-size:.92rem;

    text-shadow:
        0 0 8px rgba(255,255,255,.08);
}


/* stronger section headings */

.featured-listing-page .detail-desc-section h5{

    color:#ffffff !important;

    font-weight:800;

    margin-bottom:1rem;

    text-shadow:
        0 0 12px rgba(255,255,255,.12);
}

/* =========================================================
   FEATURED SECTION CONTAINER BORDERS
========================================================= */

.featured-listing-page .detail-desc-section{

    position:relative;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.025)
        ) !important;

    border:
        1px solid rgba(255,255,255,.12) !important;

    border-radius:24px !important;

    overflow:hidden;

    backdrop-filter:blur(8px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.35),
        inset 0 1px 1px rgba(255,255,255,.05);

    padding:1.3rem;
}


/* subtle animated neon line */

.featured-listing-page .detail-desc-section::before{

    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:120%;
    height:2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #00e1ff,
            #ff00aa,
            transparent
        );

    animation:sectionGlowMove 4s linear infinite;

    opacity:.8;
}


/* better spacing */

.featured-listing-page .detail-desc-section h5{
    margin-bottom:1rem;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes sectionGlowMove{

    0%{
        left:-120%;
    }

    100%{
        left:120%;
    }
}

/* Fallback avatar — animated gradient ring */
.profile-avatar-wrap:not(img) {
  animation: avatar-pulse 3s ease-in-out infinite;
}

@keyframes avatar-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,.1), 0 8px 32px rgba(0,0,0,.3); }
  50%       { box-shadow: 0 0 0 7px rgba(255,255,255,.18), 0 8px 40px rgba(0,0,0,.4); }
<<<<<<< HEAD
}
=======
}
>>>>>>> 4bca6d2 (requiremeent.txt)
