/* ═══════════════════════════════════════════════════
   FANFORGED — DESIGN SYSTEM
   www.fanforged.net
═══════════════════════════════════════════════════ */

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

:root {
  --gold:          #C7AE4A;
  --gold-light:    #d5c29f;
  --gold-dark:     #b99a45;
  --gold-dim:      rgba(199,174,74,0.15);
  --gold-border:   rgba(199,174,74,0.25);
  --gold-grad:     linear-gradient(135deg, #d5c29f 0%, #C7AE4A 50%, #b99a45 100%);
  --gold-grad-h:   linear-gradient(135deg, #e8d8a0 0%, #d4bc56 50%, #c9a840 100%);
  --bg:            #060606;
  --bg-2:          #0f0f0f;
  --bg-3:          #181818;
  --bg-card:       #141414;
  --bg-card-h:     #1e1e1e;
  --text:          #f0f0f0;
  --text-2:        #a8a8a8;
  --text-3:        #666;
  --border:        #242424;
  --border-2:      #2e2e2e;
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --shadow:        0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold:   0 4px 24px rgba(199,174,74,0.2);
  --trans:         0.2s ease;
  --trans-slow:    0.4s ease;
  --font-head:     'Bebas Neue', sans-serif;
  --font-sub:      'Rajdhani', sans-serif;
  --font-body:     'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════ */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 1px;
  line-height: 1.1;
  color: var(--text);
}
.section-eyebrow {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad);
  color: #0a0a0a;
}
.btn-gold:hover {
  background: var(--gold-grad-h);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold-border);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { background: var(--bg-card-h); color: var(--text); }

.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: var(--trans);
  position: relative;
}
.icon-btn:hover { background: var(--bg-3); color: var(--gold); }

.badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(6,6,6,0.98);
  border-bottom-color: var(--gold-border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img { width: 38px; height: 38px; object-fit: contain; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 2px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-tag {
  font-family: var(--font-sub);
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--text-3);
  font-weight: 600;
}

.nav-search { flex: 1; max-width: 460px; }
.search-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--trans);
}
.search-wrap:focus-within { border-color: var(--gold-border); }
.search-icon { padding: 0 12px; color: var(--text-3); font-size: 13px; }
.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  padding: 10px 0;
}
.search-input::placeholder { color: var(--text-3); }
.search-btn {
  padding: 10px 16px;
  background: var(--gold-grad);
  color: #000;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--trans);
}
.search-btn:hover { background: var(--gold-grad-h); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nav-link {
  padding: 8px 12px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: var(--trans);
  display: flex; align-items: center; gap: 5px;
}
.nav-link:hover { color: var(--gold); background: var(--gold-dim); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 12px;
  padding-top: 24px;
  min-width: 340px;
  opacity: 0;
  pointer-events: none;
  transition: var(--trans);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  font-size: 14px;
  font-weight: 500;
}
.drop-item:hover { background: var(--bg-3); color: var(--gold); }
.drop-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  flex-shrink: 0;
}
.drop-all { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nav-sell-btn { margin-left: 8px; }

.mobile-menu-btn { display: none; color: var(--text); font-size: 20px; padding: 8px; }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-2);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-sell {
  background: var(--gold-grad) !important;
  color: #000 !important;
  padding: 12px 20px !important;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 8px;
  border-bottom: none !important;
}
.mobile-menu.open { display: flex; }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(199,174,74,0.06) 0%, transparent 70%), var(--bg);
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: 99px;
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(60px, 8vw, 110px);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.hero-title-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--text);
}
.stat-label {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.stat-divider { width: 1px; height: 36px; background: var(--border-2); }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cards-float {
  position: relative;
  width: 100%;
  height: 100%;
}
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.float-card:hover { transform: translateY(-6px) scale(1.02) !important; }
.fc-1 { width: 160px; top: 10%; left: 5%; animation: floatA 6s ease-in-out infinite; }
.fc-2 { width: 180px; top: 5%; right: 10%; animation: floatB 7s ease-in-out infinite 0.5s; }
.fc-3 { width: 165px; bottom: 15%; left: 20%; animation: floatC 5.5s ease-in-out infinite 1s; }
.fc-4 { width: 155px; bottom: 10%; right: 5%; animation: floatA 6.5s ease-in-out infinite 1.5s; }

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(-8px) rotate(2deg); }
  50% { transform: translateY(4px) rotate(-1deg); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(4px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.fc-img {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-emoji { font-size: 40px; }
.fc-label {
  font-size: 11px;
  font-weight: 600;
  padding: 8px 10px 2px;
  color: var(--text);
  line-height: 1.3;
}
.fc-price {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--gold);
  padding: 2px 10px 10px;
}

/* hero glow orb */
.hero::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(199,174,74,0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.bounce {
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ═══════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.see-all-link {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--trans);
}
.see-all-link:hover { gap: 10px; }

/* ═══════════════════════════════════════════════════
   COMMUNITIES STRIP
═══════════════════════════════════════════════════ */
.community-strip {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.communities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.community-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.community-card:hover .cc-overlay { opacity: 1; }
.community-card:hover .cc-content { transform: translateY(0); }
.cc-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.cc-emoji { font-size: 52px; opacity: 0.8; }
.cc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.cc-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  transform: translateY(4px);
  transition: transform 0.3s ease;
}
.cc-name {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.cc-count {
  font-family: var(--font-sub);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.cc-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

/* ═══════════════════════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════════════════════ */
.products-section { padding: 80px 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.section-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-3);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.tab-btn {
  padding: 7px 14px;
  border-radius: 5px;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  transition: var(--trans);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  background: var(--bg-card-h);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: var(--gold-border);
}
.product-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-emoji { font-size: 56px; transition: transform 0.3s ease; }
.product-card:hover .product-emoji { transform: scale(1.12); }

.product-actions {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.product-card:hover .product-actions { opacity: 1; }
.pa-btn {
  width: 34px; height: 34px;
  background: rgba(6,6,6,0.85);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  font-size: 13px;
  transition: var(--trans);
  backdrop-filter: blur(8px);
}
.pa-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.pa-btn.wishlisted { color: #e63946; border-color: #e63946; }

.community-tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.product-info { padding: 14px; flex: 1; }
.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-seller {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 4px;
}
.product-seller i { font-size: 10px; color: var(--gold); }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--text-3);
}
.product-rating .fa-star { color: var(--gold); font-size: 10px; }

.add-cart-btn {
  width: 100%;
  padding: 10px;
  background: var(--bg-3);
  border: none;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--trans);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-cart-btn:hover {
  background: var(--gold-grad);
  color: #000;
  border-color: var(--gold);
}

.section-cta { text-align: center; margin-top: 40px; }

/* ═══════════════════════════════════════════════════
   SELL BANNER
═══════════════════════════════════════════════════ */
.sell-banner {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.sell-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(199,174,74,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.sell-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sell-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.sell-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}
.sell-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.perk-icon { color: var(--gold); font-size: 14px; }
.perk strong { color: var(--gold); font-weight: 700; }

.store-cta-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.payment-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.pay-badge {
  background: #fff;
  border-radius: 10px;
  width: 110px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: default;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.pay-badge:hover {
  transform: translateY(-3px);
  border-color: var(--gold-border);
  box-shadow: 0 6px 22px rgba(199,174,74,0.28), 0 2px 10px rgba(0,0,0,0.35);
}
.pay-logo {
  max-width: 104px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.pay-logo--fill {
  width: 126px;
  height: 64px;
  object-fit: contain;
}
.pay-logo--paypal {
  transform: scale(3.0);
  transform-origin: center;
}
.pay-logo--apple {
  transform: scale(1.5);
  transform-origin: center;
}
.pay-logo--gpay {
  width: 102px;
  height: 42px;
  object-fit: contain;
  transform: scale(1.2);
  transform-origin: center;
}

/* Seller stats card */
.seller-stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.seller-stats-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.seller-stat-logo { width: 24px; height: 24px; object-fit: contain; }
.seller-stats-body { padding: 20px; }
.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.stat-row:last-of-type { border-bottom: none; }
.stat-row-label { color: var(--text-3); }
.stat-row-value { font-weight: 600; color: var(--text); }
.stat-row-value.gold { color: var(--gold); font-family: var(--font-head); font-size: 20px; }

.stat-bar-wrap { margin-top: 16px; }
.stat-bar-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.stat-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}
.stat-bar {
  flex: 1;
  background: var(--bg-3);
  border-radius: 3px 3px 0 0;
  transition: height 0.5s ease;
}
.active-bar { background: var(--gold-grad); }

/* ═══════════════════════════════════════════════════
   SELLERS SECTION
═══════════════════════════════════════════════════ */
.sellers-section { padding: 80px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.sellers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.seller-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.seller-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
}
.seller-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
  border: 2px solid var(--gold-border);
}
.seller-name {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.seller-specialty {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.seller-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 14px;
}
.seller-meta span { display: flex; align-items: center; gap: 4px; }
.seller-meta i { color: var(--gold); font-size: 10px; }
.seller-communities {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
  min-height: 26px; /* reserves space even when no badges — keeps button aligned */
}
.comm-pill {
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-sub);
  letter-spacing: 0.5px;
}
.visit-shop-btn {
  width: 100%;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  transition: var(--trans);
  margin-top: auto; /* always pins button to card bottom regardless of badge count */
}
.visit-shop-btn:hover { background: var(--gold-grad); color: #000; border-color: var(--gold); }

/* Ghost / placeholder seller cards */
.seller-card-ghost {
  border-style: dashed;
  border-color: var(--border-2);
  background: rgba(255,255,255,0.02);
  opacity: 0.7;
}
.seller-card-ghost:hover {
  opacity: 1;
  border-color: var(--gold-border);
  background: rgba(199,174,74,0.04);
}
.seller-avatar-ghost {
  background: var(--bg-3) !important;
  border: 2px dashed var(--border-2) !important;
}
.seller-ghost-btn {
  border-color: var(--gold-border);
  color: var(--gold);
}
.seller-ghost-btn:hover { background: var(--gold-grad); color: #000; border-color: var(--gold); }

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════ */
.how-it-works { padding: 80px 0; }
.hiw-header { margin-bottom: 40px; }
.hiw-sub { color: var(--text-2); font-size: 16px; margin-top: 8px; }

.hiw-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: var(--bg-3);
  width: fit-content;
  margin: 0 auto 48px;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.hiw-tab {
  padding: 10px 24px;
  border-radius: 6px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
  transition: var(--trans);
}
.hiw-tab.active {
  background: var(--bg-card-h);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}
.hiw-tab:hover:not(.active) { color: var(--text); }

.hiw-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.hiw-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s ease;
}
.hiw-step:hover { border-color: var(--gold-border); }
.step-num {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad);
  color: #000;
  font-family: var(--font-head);
  font-size: 14px;
  padding: 3px 12px;
  border-radius: 99px;
}
.step-icon {
  width: 60px; height: 60px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin: 16px auto 16px;
}
#hiwFans .hiw-step:nth-child(1) .step-icon,
#hiwSellers .hiw-step:nth-child(1) .step-icon,
#sellSteps .hiw-step:nth-child(1) .step-icon {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
#hiwFans .hiw-step:nth-child(3) .step-icon,
#hiwSellers .hiw-step:nth-child(3) .step-icon,
#sellSteps .hiw-step:nth-child(3) .step-icon {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
#hiwFans .hiw-step:nth-child(5) .step-icon,
#hiwSellers .hiw-step:nth-child(5) .step-icon,
#sellSteps .hiw-step:nth-child(5) .step-icon {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.step-title {
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.hiw-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
  padding: 40px 16px 0;
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════ */
.newsletter-section {
  padding: 60px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.newsletter-logo img { width: 56px; height: 56px; object-fit: contain; }
.newsletter-content { flex: 1; }
.newsletter-title {
  font-family: var(--font-head);
  font-size: 36px;
  letter-spacing: 1px;
}
.newsletter-sub { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.newsletter-input {
  padding: 11px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  outline: none;
  min-width: 220px;
  transition: var(--trans);
}
.newsletter-input:focus { border-color: var(--gold-border); }
.newsletter-input::placeholder { color: var(--text-3); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer { padding: 60px 0 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-img { width: 44px; height: 44px; object-fit: contain; }
.footer-logo-name {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 2px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.footer-logo-tag {
  display: block;
  font-family: var(--font-sub);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-3);
  font-weight: 600;
}
.footer-tagline { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 20px; max-width: 260px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 14px;
  transition: var(--trans);
}
.social-btn:hover { background: var(--gold-grad); color: #000; border-color: var(--gold); }

.footer-heading {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-3);
  transition: var(--trans);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}
.footer-bottom span { color: var(--gold); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-3); transition: var(--trans); }
.footer-legal a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1990;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 420px; height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-2);
  z-index: 2000;
  display: flex; flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -20px 0 60px rgba(0,0,0,0.6);
}
.cart-drawer.open { right: 0; }
.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-header h3 { font-family: var(--font-sub); font-size: 18px; font-weight: 700; }
.drawer-close {
  width: 32px; height: 32px;
  background: var(--bg-3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  font-size: 14px;
  transition: var(--trans);
}
.drawer-close:hover { background: var(--border-2); color: var(--text); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 0; text-align: center; gap: 12px;
}
.cart-empty-icon { font-size: 48px; color: var(--text-3); }
.cart-empty p { color: var(--text-2); }
.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sub);
  font-size: 16px; font-weight: 600;
}

.cart-item {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.ci-img {
  width: 60px; height: 60px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.ci-info { flex: 1; }
.ci-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.ci-seller { font-size: 11px; color: var(--text-3); margin-bottom: 8px; }
.ci-footer { display: flex; align-items: center; justify-content: space-between; }
.ci-price { font-family: var(--font-head); font-size: 18px; color: var(--gold); }
.ci-remove { font-size: 11px; color: var(--text-3); transition: var(--trans); }
.ci-remove:hover { color: #e63946; }

/* ═══════════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--text);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════
   COMMUNITY PAGE
═══════════════════════════════════════════════════ */
.comm-hero {
  padding: 100px 0 60px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.comm-hero-bg {
  position: absolute; inset: 0;
  opacity: 0.07;
}
.comm-hero-inner {
  position: relative; z-index: 1;
}
.comm-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sub); font-size: 13px; font-weight: 600;
  color: var(--text-3); margin-bottom: 24px;
  transition: var(--trans);
}
.comm-back:hover { color: var(--gold); }
.comm-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.comm-icon-wrap {
  display: flex; align-items: center; gap: 20px; margin-bottom: 12px;
}
.comm-icon-big {
  width: 72px; height: 72px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  border: 1.5px solid;
}
.comm-title-big {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 1px;
}
.comm-desc { font-size: 15px; color: var(--text-2); max-width: 600px; margin-top: 8px; line-height: 1.6; }
.comm-stats-row {
  display: flex; gap: 24px; margin-top: 20px;
}
.comm-stat { display: flex; flex-direction: column; }
.comm-stat-num { font-family: var(--font-head); font-size: 24px; }
.comm-stat-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; }

/* ═══════════════════════════════════════════════════
   BROWSE PAGE
═══════════════════════════════════════════════════ */
.browse-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 100px 0 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.filters-panel {
  position: sticky;
  top: 90px;
  height: fit-content;
}
.filter-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.filter-title {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.filter-option {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
  font-size: 13px; color: var(--text-2);
  cursor: pointer; transition: var(--trans);
}
.filter-option:hover { color: var(--gold); }
.filter-check {
  width: 16px; height: 16px;
  border: 1.5px solid var(--border-2);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.filter-check.checked { background: var(--gold); border-color: var(--gold); }
.filter-check.checked::after {
  content: '✓'; font-size: 10px; color: #000; font-weight: 700;
}

.browse-main {}
.browse-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.browse-count { font-size: 14px; color: var(--text-3); }
.browse-count strong { color: var(--text); }
.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 12px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
}
.view-btns { display: flex; gap: 4px; }
.view-btn {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 14px;
  transition: var(--trans);
}
.view-btn.active { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }

.browse-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
═══════════════════════════════════════════════════ */
.product-detail {
  padding: 100px 0 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.pd-images {
  position: sticky;
  top: 90px;
}
.pd-main-img {
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
  margin-bottom: 12px;
}
.pd-thumbs { display: flex; gap: 8px; }
.pd-thumb {
  width: 70px; height: 70px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: var(--trans);
}
.pd-thumb.active { border-color: var(--gold); }
.pd-thumb:hover { border-color: var(--gold-border); }

/* Image nav arrows */
.pd-img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 80px;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 10;
}
.pd-main-img:hover .pd-img-nav { opacity: 1; }
.pd-img-nav:hover { background: rgba(0,0,0,0.55); }
.pd-img-prev { left: 10px; }
.pd-img-next { right: 10px; }
.pd-img-nav.pd-nav-hidden { display: none; }

/* Expand / zoom button */
.pd-img-expand {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: #fff; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s, background 0.2s; z-index: 11;
}
.pd-main-img:hover .pd-img-expand { opacity: 1; }
.pd-img-expand:hover { background: rgba(0,0,0,0.72); }
.pd-main-img { cursor: zoom-in; }
.pd-main-img .pd-img-nav { cursor: pointer; }

/* ── Lightbox ── */
.pd-lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.96);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
  animation: lbFadeIn 0.18s ease;
}
@keyframes lbFadeIn { from { opacity:0 } to { opacity:1 } }
.pd-lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  user-select: none; display: block;
}
.pd-lightbox-close {
  position: fixed; top: 18px; right: 18px;
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 10px;
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 3001;
}
.pd-lightbox-close:hover { background: rgba(255,255,255,0.22); }
.pd-lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 50px; height: 88px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 3001;
}
.pd-lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.pd-lb-prev { left: 14px; }
.pd-lb-next { right: 14px; }
.pd-lightbox-nav.pd-nav-hidden { display: none; }
.pd-lightbox-counter {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-sub); font-size: 13px;
  color: rgba(255,255,255,0.55); letter-spacing: 1px; z-index: 3001;
}
.pd-lightbox-thumbs {
  display: flex; gap: 8px; margin-top: 16px;
  max-width: min(92vw, 600px);
  overflow-x: auto; padding: 4px 2px;
  scrollbar-width: none;
}
.pd-lightbox-thumbs::-webkit-scrollbar { display: none; }
.pd-lb-thumb {
  width: 58px; height: 58px; flex-shrink: 0;
  border-radius: 6px; border: 2px solid rgba(255,255,255,0.15);
  object-fit: cover; cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.pd-lb-thumb:hover { border-color: rgba(255,255,255,0.5); }
.pd-lb-thumb.active { border-color: var(--gold); transform: scale(1.1); }

.pd-info {}
.pd-breadcrumb { font-size: 12px; color: var(--text-3); margin-bottom: 12px; display: flex; gap: 6px; align-items: center; }
.pd-breadcrumb a { transition: var(--trans); }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-title { font-family: var(--font-head); font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin-bottom: 12px; letter-spacing: 0.5px; }
.pd-rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pd-stars { display: flex; gap: 3px; }
.pd-stars i { color: var(--gold); font-size: 13px; }
.pd-rating-count { font-size: 13px; color: var(--text-3); }
.pd-price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.pd-price { font-family: var(--font-head); font-size: 48px; color: var(--gold); letter-spacing: 1px; }
.pd-price-orig { font-size: 20px; color: var(--text-3); text-decoration: line-through; }
.pd-badge { padding: 4px 10px; background: rgba(6,214,90,0.15); color: #06d65a; border-radius: 4px; font-size: 12px; font-weight: 700; font-family: var(--font-sub); }
.pd-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.cart-demand-badge { display: inline-flex; align-items: center; background: rgba(249,115,22,0.10); border: 1px solid rgba(249,115,22,0.25); color: #f97316; border-radius: 6px; padding: 5px 11px; font-size: 13px; font-weight: 600; }
.pd-divider { height: 1px; background: var(--border); margin: 24px 0; }
.pd-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pd-meta-row { display: flex; font-size: 13px; gap: 8px; }
.pd-meta-key { color: var(--text-3); width: 165px; flex-shrink: 0; }
.pd-meta-val { color: var(--text); font-weight: 500; text-align: left; }
.pd-qty { display: flex; align-items: center; gap: 0; margin-bottom: 24px; }
.qty-label { font-family: var(--font-sub); font-size: 13px; font-weight: 600; color: var(--text-3); margin-right: 12px; text-transform: uppercase; letter-spacing: 1px; }
.qty-btn {
  width: 36px; height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.qty-btn:first-of-type { border-radius: 6px 0 0 6px; }
.qty-btn:last-of-type { border-radius: 0 6px 6px 0; }
.qty-btn:hover { background: var(--gold-dim); color: var(--gold); }
.qty-num {
  width: 48px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-left: none; border-right: none;
  color: var(--text);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}
.pd-actions { display: flex; gap: 10px; margin-bottom: 20px; }
.pd-add-cart { flex: 1; padding: 14px; }
.pd-wishlist { width: 48px; height: 48px; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 18px; transition: var(--trans); }
.pd-wishlist:hover { background: rgba(230,57,70,0.15); border-color: #e63946; color: #e63946; }

.pd-seller-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; gap: 14px; align-items: center;
}
.pd-seller-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 2px solid var(--gold-border); flex-shrink: 0; }
.pd-seller-name { font-weight: 600; font-size: 15px; }
.pd-seller-info { font-size: 12px; color: var(--text-3); margin-top: 2px; display: flex; gap: 12px; }
.pd-seller-info i { color: var(--gold); }
.view-shop-btn {
  margin-left: auto;
  color: #2563eb !important;
  border-color: rgba(37,99,235,0.35) !important;
  background: rgba(37,99,235,0.07) !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.view-shop-btn:hover {
  background: rgba(37,99,235,0.18) !important;
  border-color: #2563eb !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════
   SELL PAGE
═══════════════════════════════════════════════════ */
.sell-hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sell-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(199,174,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.sell-hero-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 7vw, 90px);
  letter-spacing: 2px;
  line-height: 1;
  position: relative; z-index: 1;
  margin-bottom: 20px;
}
.sell-hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
  position: relative; z-index: 1;
}
.sell-pricing {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
/* Fixed-height top zone: holds tag + badge (or empty for Starter).
   All plan name headings start at exactly the same vertical position. */
.pricing-card-top {
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.pricing-card-top .pricing-tag { margin-bottom: 8px; }
/* Push the CTA button to the bottom of the card so feature lists align */
.pricing-features { flex: 1; }
.pricing-card:hover { transform: translateY(-4px); border-color: var(--gold-border); }
.pricing-card.featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(199,174,74,0.05) 0%, var(--bg-card) 100%); }
.pricing-tag {
  font-family: var(--font-sub); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pricing-plan { font-family: var(--font-head); font-size: 28px; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-price { font-family: var(--font-head); font-size: 52px; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.pricing-period { font-size: 12px; color: var(--text-3); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-2);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features i { color: var(--gold); font-size: 11px; }

/* ═══════════════════════════════════════════════════
   PARTICLES
═══════════════════════════════════════════════════ */
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--dur, 4s) ease-in-out infinite var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: var(--max-opacity, 0.4); transform: scale(1.5); }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid,
  .sellers-grid { grid-template-columns: repeat(3, 1fr); }
  .communities-grid { grid-template-columns: repeat(2, 1fr); }
  .sell-banner-inner { gap: 40px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .sell-banner-inner { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-images { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .browse-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .browse-products-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-step-arrow { display: none; }
}

@media (max-width: 768px) {
  .nav-search { display: none; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-sell-btn { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .sellers-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-input { min-width: unset; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cart-drawer { width: 100%; right: -100%; }
  .sell-perks { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .communities-grid { grid-template-columns: 1fr; }
  .sellers-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 60px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .browse-products-grid { grid-template-columns: 1fr; }
}

/* ── ACCOUNT DROPDOWN ── */
.account-dropdown-wrap { position: relative; display: inline-flex; align-items: center; }
.account-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border-2);
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 210px; padding: 8px; z-index: 9999;
}
.account-dropdown.open {
  display: block;
}
.acct-section-label {
  font-family: var(--font-sub); font-size: 10px; font-weight: 700;
  color: var(--text-3); letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 10px 4px;
}
.acct-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius-sm);
  color: var(--text-2); font-size: 13px; font-family: var(--font-sub);
  font-weight: 600; text-decoration: none; transition: all 0.15s;
}
.acct-item:hover { background: var(--bg-3); color: var(--gold); }
.acct-item i { width: 14px; text-align: center; font-size: 12px; color: var(--gold); }
.acct-item.acct-signout i { color: #ef4444; }
.acct-item.acct-signout:hover { color: #ef4444; }
.acct-greeting { padding: 8px 10px 4px; font-family: var(--font-sub); font-size: 13px; font-weight: 700; color: var(--text); }
.acct-divider { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* ── Sign-in modal ── */
.signin-overlay {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.signin-overlay.open { display: flex; }
.signin-modal {
  background: var(--bg-card); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); width: 420px; max-width: 95vw;
  padding: 36px 32px; position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
}
.signin-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--text-3); font-size: 18px;
  cursor: pointer; transition: color 0.2s;
}
.signin-close:hover { color: var(--text); }
.signin-logo { font-family: var(--font-head); font-size: 28px; color: var(--gold); letter-spacing: 1px; margin-bottom: 2px; }
.signin-sub { font-family: var(--font-sub); font-size: 11px; letter-spacing: 2px; color: var(--text-3); text-transform: uppercase; margin-bottom: 24px; }
.signin-tabs { display: flex; gap: 0; border: 1px solid var(--border-2); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 22px; }
.signin-tab {
  flex: 1; padding: 9px; text-align: center; font-family: var(--font-sub); font-size: 14px;
  font-weight: 700; color: var(--text-2); cursor: pointer; transition: all 0.2s; background: none; border: none;
}
.signin-tab.active { background: var(--gold-dim); color: var(--gold); }
.signin-tab:hover:not(.active) { background: var(--bg-3); }
.signin-panel { display: none; }
.signin-panel.active { display: block; }
.signin-label { font-family: var(--font-sub); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-3); text-transform: uppercase; display: block; margin-bottom: 6px; }
.signin-input {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-family: var(--font-body);
  padding: 11px 14px; outline: none; transition: border-color 0.2s; margin-bottom: 14px;
}
.signin-input:focus { border-color: var(--gold); }
.signin-btn {
  width: 100%; background: var(--gold); color: #000; font-family: var(--font-sub);
  font-size: 16px; font-weight: 700; padding: 12px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; transition: background 0.2s; letter-spacing: 0.3px;
}
.signin-btn:hover { background: #d5c29f; }
.signin-err { color: #ef4444; font-size: 13px; margin-top: 10px; display: none; }
.signin-stay {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 4px;
  font-family: var(--font-sub); font-size: 13px; color: var(--text-2); cursor: pointer;
}
.signin-stay input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px;
  border: 1.5px solid var(--border-2); border-radius: 3px; background: var(--bg-3);
  cursor: pointer; flex-shrink: 0; position: relative; transition: border-color 0.15s, background 0.15s;
}
.signin-stay input[type="checkbox"]:checked { background: var(--gold); border-color: var(--gold); }
.signin-stay input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px;
  border: 2px solid #000; border-top: none; border-left: none; transform: rotate(45deg);
}
.signin-switch { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-2); }
.signin-switch a { color: var(--gold); cursor: pointer; }
.signin-switch a:hover { text-decoration: underline; }
