/* ============================================================
   CARD-STAR.COM — Master Stylesheet
   Aesthetic: Sporty-Premium / Dark Mode Trading Floor
   Fonts: Bebas Neue (display) + Barlow (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Barlow+Condensed:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #1B2A4A;
  --navy-dark: #0D1526;
  --navy-mid: #162240;
  --navy-light: #2A3D66;
  --red: #D42027;
  --red-dark: #A8191F;
  --red-glow: rgba(212,32,39,0.25);
  --gold: #F5C518;
  --gold-dark: #D4A710;
  --gold-glow: rgba(245,197,24,0.15);
  --green: #22C55E;
  --green-dark: #16A34A;
  --white: #FFFFFF;
  --off-white: #F0F1F5;
  --gray-50: #F8F9FB;
  --gray-100: #EDEEF2;
  --gray-200: #D8DAE2;
  --gray-300: #B0B4C1;
  --gray-400: #8A8FA0;
  --gray-500: #6B7080;
  --gray-600: #4E5260;
  --gray-700: #363944;
  --gray-800: #23262E;
  --gray-900: #151619;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-glow-red: 0 4px 20px var(--red-glow);
  --shadow-glow-gold: 0 4px 20px var(--gold-glow);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1400px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 15px; color: var(--gray-800); background: var(--off-white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-muted { color: var(--gray-400); }
.text-mono { font-family: var(--font-mono); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ===== ANNOUNCEMENT BAR ===== */
.announce-bar {
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-dark) 100%);
  color: var(--gray-300);
  text-align: center;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.announce-bar strong { color: var(--gold); font-weight: 700; }

/* ===== SITE HEADER ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-main {
  display: flex;
  align-items: center;
  padding: 10px 0;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-link img { height: 42px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 2px;
  white-space: nowrap;
}
.logo-text .c1 { color: var(--white); }
.logo-text .c2 { color: var(--gold); }
.logo-text .c3 { color: var(--red); }

/* Search */
.header-search {
  flex: 1;
  max-width: 580px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 11px 18px 11px 46px;
  border: 2px solid var(--navy-light);
  border-radius: 50px;
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.92rem;
  transition: var(--transition);
}
.header-search input:focus { outline: none; border-color: var(--gold); background: rgba(245,197,24,0.04); }
.header-search input::placeholder { color: var(--gray-400); }
.header-search .s-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); pointer-events: none;
}
.header-search .search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-height: 420px; overflow-y: auto;
  display: none; z-index: 950;
}
.header-search.active .search-results { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--gray-100);
  cursor: pointer; transition: background 0.15s;
}
.search-result-item:hover { background: var(--gray-50); }

/* Header Actions */
.header-actions {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.h-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-cond); font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--gray-200); transition: var(--transition); border: none; cursor: pointer; background: none;
}
.h-btn:hover { color: var(--gold); background: rgba(245,197,24,0.08); }
.h-btn svg { width: 18px; height: 18px; }
.h-btn.sell-btn {
  background: var(--red); color: var(--white);
  box-shadow: var(--shadow-glow-red);
}
.h-btn.sell-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.cart-count {
  background: var(--red); color: var(--white);
  font-size: 0.65rem; font-weight: 800;
  min-width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-left: -4px;
}

/* Category Nav */
.cat-nav {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cat-nav-inner {
  display: flex; align-items: center; gap: 0; overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-link {
  font-family: var(--font-cond); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--gray-300); padding: 12px 20px;
  white-space: nowrap; position: relative;
  transition: color 0.2s;
}
.cat-link:hover, .cat-link.active { color: var(--gold); }
.cat-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--gold); border-radius: 2px; transition: width 0.25s;
}
.cat-link:hover::after, .cat-link.active::after { width: 50%; }
.cat-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 45%, #1e3a6e 100%);
  position: relative; overflow: hidden;
  padding: 80px 0;
}
.hero-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 62px);
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute; top: -40%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,197,24,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -25%; left: -8%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,32,39,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; }
.hero-content h1 {
  font-family: var(--font-display); font-size: 4.2rem; line-height: 0.95;
  color: var(--white); letter-spacing: 3px; margin-bottom: 18px;
}
.hero-content h1 .hl-gold { color: var(--gold); }
.hero-content h1 .hl-red { color: var(--red); }
.hero-content p { font-size: 1.12rem; color: var(--gray-300); max-width: 520px; line-height: 1.65; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats bar inside hero */
.hero-stats {
  display: flex; gap: 40px; margin-top: 50px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { text-align: center; }
.hero-stat .stat-num {
  font-family: var(--font-display); font-size: 2.2rem;
  color: var(--gold); letter-spacing: 1px;
}
.hero-stat .stat-label { font-size: 0.78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; }

/* Hero floating cards */
.hero-visual { flex: 0 0 440px; height: 380px; position: relative; perspective: 900px; }
.float-card {
  position: absolute; width: 170px; height: 238px;
  border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: transform 0.4s;
  background-size: cover; background-position: center;
}
.float-card:hover { transform: scale(1.1) !important; z-index: 10 !important; }
.float-card .fc-icon { font-size: 3rem; margin-bottom: 8px; }
.float-card .fc-label {
  font-family: var(--font-display); color: rgba(255,255,255,0.92);
  font-size: 1.2rem; letter-spacing: 3px;
}
.fc-1 { background: linear-gradient(135deg,#0033A0,#004FCC); top:15px; left:0; transform:rotate(-7deg); animation:bob1 4s ease-in-out infinite; z-index:3; }
.fc-2 { background: linear-gradient(135deg,#FFCB05,#FF7700); top:0; left:130px; transform:rotate(3deg); animation:bob2 5s ease-in-out infinite; z-index:5; }
.fc-3 { background: linear-gradient(135deg,#C8102E,#8B1A2B); top:50px; left:240px; transform:rotate(6deg); animation:bob3 4.3s ease-in-out infinite; z-index:4; }
.fc-4 { background: linear-gradient(135deg,#003831,#006B52); top:120px; left:30px; transform:rotate(-3deg); animation:bob1 5.5s ease-in-out infinite; z-index:2; }
.fc-5 { background: linear-gradient(135deg,#6C3BAA,#9B59B6); top:100px; left:180px; transform:rotate(9deg); animation:bob2 4.1s ease-in-out infinite; z-index:1; }
@keyframes bob1 { 0%,100%{transform:rotate(-7deg) translateY(0)} 50%{transform:rotate(-7deg) translateY(-14px)} }
@keyframes bob2 { 0%,100%{transform:rotate(3deg) translateY(0)} 50%{transform:rotate(3deg) translateY(-11px)} }
@keyframes bob3 { 0%,100%{transform:rotate(6deg) translateY(0)} 50%{transform:rotate(6deg) translateY(-16px)} }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-cond); font-weight: 700; font-size: 1rem;
  letter-spacing: 1.2px; text-transform: uppercase;
  cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-glow-red); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 30px var(--red-glow); }
.btn-secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-secondary:hover { background: rgba(245,197,24,0.08); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-dark); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-success { background: var(--green); color: var(--white); }
.btn-success:hover { background: var(--green-dark); }
.btn-ghost { background: none; color: var(--gray-600); border: 1px solid var(--gray-200); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-block { width: 100%; }

/* ===== SECTION HEADERS ===== */
.section { padding: 60px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px; gap: 16px;
}
.section-head h2 {
  font-family: var(--font-display); font-size: 2.2rem;
  letter-spacing: 2px; color: var(--navy); position: relative;
}
.section-head h2::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 50px; height: 4px; background: var(--gold); border-radius: 2px;
}
.section-head .see-all {
  font-family: var(--font-cond); font-weight: 600;
  font-size: 0.9rem; color: var(--red);
  text-transform: uppercase; letter-spacing: 1px;
}
.section-head .see-all:hover { color: var(--red-dark); }

/* ===== CATEGORY CARDS (Homepage) ===== */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  display: block; position: relative;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card-img {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative;
}
.cat-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.06));
}
.cat-hk .cat-card-img { background: linear-gradient(135deg,#0033A0,#005CE6); }
.cat-sc .cat-card-img { background: linear-gradient(135deg,#00A651,#00D46A); }
.cat-bk .cat-card-img { background: linear-gradient(135deg,#C8102E,#FF2D3B); }
.cat-bb .cat-card-img { background: linear-gradient(135deg,#003831,#007A5E); }
.cat-pk .cat-card-img { background: linear-gradient(135deg,#FFCB05,#FF9500); }
.cat-card-body { padding: 16px; text-align: center; }
.cat-card-body h3 {
  font-family: var(--font-cond); font-weight: 700;
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 2px;
}
.cat-card-body p { font-size: 0.8rem; color: var(--gray-400); }
.cat-tag {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.45); color: var(--white);
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700;
  backdrop-filter: blur(4px);
}

/* ===== LISTING CARDS ===== */
.listings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.listing-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column; position: relative;
}
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lc-img {
  height: 200px; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.lc-img img { width: 100%; height: 100%; object-fit: cover; }
.lc-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.badge {
  padding: 3px 9px; border-radius: 4px;
  font-family: var(--font-cond); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-rc { background: var(--gold); color: var(--navy-dark); }
.badge-graded { background: var(--navy); color: var(--gold); }
.badge-auction { background: var(--red); color: var(--white); }
.badge-oos { background: rgba(0,0,0,0.6); color: var(--white); }
.badge-featured { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy-dark); }
.lc-watch {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); border: none;
  font-size: 0.9rem;
}
.lc-watch:hover { background: var(--red); color: var(--white); transform: scale(1.1); }
.lc-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.lc-cat {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; color: var(--red); margin-bottom: 3px;
}
.lc-title {
  font-weight: 700; font-size: 0.92rem; color: var(--gray-800);
  margin-bottom: 3px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lc-set { font-size: 0.78rem; color: var(--gray-400); margin-bottom: auto; }
.lc-footer {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-top: 10px; margin-top: 10px;
  border-top: 1px solid var(--gray-100);
}
.lc-price {
  font-family: var(--font-cond); font-size: 1.35rem;
  font-weight: 700; color: var(--navy);
}
.lc-price.auction-price { color: var(--red); }
.lc-bids { font-size: 0.75rem; color: var(--gray-400); }
.lc-seller {
  font-size: 0.72rem; color: var(--gray-400);
  display: flex; align-items: center; gap: 4px;
}
.lc-seller .seller-rating { color: var(--gold); font-weight: 700; }

/* Auction countdown */
.auction-timer {
  display: flex; gap: 6px; margin-top: 6px;
}
.timer-unit {
  background: var(--navy); color: var(--white);
  padding: 3px 6px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  text-align: center; min-width: 32px;
}
.timer-unit small { display: block; font-size: 0.55rem; color: var(--gray-400); font-weight: 400; }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--navy); padding: 36px 0;
  border-top: 3px solid var(--gold);
}
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center; color: var(--white);
}
.feat-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 8px; }
.feat-title {
  font-family: var(--font-cond); font-weight: 700;
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 2px;
}
.feat-desc { font-size: 0.78rem; color: var(--gray-400); }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 50px 0; text-align: center; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.025) 35px, rgba(255,255,255,0.025) 37px);
}
.newsletter-inner { position: relative; z-index: 2; }
.newsletter h2 { font-family: var(--font-display); font-size: 2.4rem; color: var(--white); letter-spacing: 3px; margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 24px; }
.nl-form { display: flex; max-width: 440px; margin: 0 auto; gap: 10px; }
.nl-form input { flex:1; padding: 13px 18px; border:none; border-radius:var(--radius-sm); font-size:0.95rem; }
.nl-form button { white-space: nowrap; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-dark); color: var(--gray-300); padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .f-logo {
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--white); letter-spacing: 2px; margin-bottom: 10px;
}
.footer-brand .f-logo .fg { color: var(--gold); }
.footer-brand .f-logo .fr { color: var(--red); }
.footer-brand p { font-size: 0.82rem; line-height: 1.6; margin-bottom: 14px; }
.social-row { display: flex; gap: 8px; }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-light); display: flex; align-items: center; justify-content: center;
  color: var(--gray-200); font-size: 0.8rem; transition: var(--transition);
}
.social-icon:hover { background: var(--gold); color: var(--navy-dark); }
.footer-col h4 {
  font-family: var(--font-cond); font-weight: 700;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--white); margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 0.82rem; color: var(--gray-300); margin-bottom: 7px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px; display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-400); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== BROWSE PAGE ===== */
.browse-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.filter-sidebar {
  background: var(--white); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-sm); height: fit-content;
  position: sticky; top: 100px;
}
.filter-group { margin-bottom: 20px; }
.filter-group h4 {
  font-family: var(--font-cond); font-weight: 700;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--navy); margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 2px solid var(--gray-100);
}
.filter-option {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 0.88rem; cursor: pointer;
}
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] { accent-color: var(--red); }
.filter-option label { cursor: pointer; }
.filter-option .count { margin-left: auto; color: var(--gray-400); font-size: 0.78rem; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 0.85rem;
}
.browse-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; gap: 16px;
}
.browse-header .result-count { font-size: 0.88rem; color: var(--gray-500); }
.sort-select {
  padding: 8px 14px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 0.88rem; background: var(--white); cursor: pointer;
}

/* ===== LISTING DETAIL PAGE ===== */
.ld-layout { display: grid; grid-template-columns: 1fr 420px; gap: 36px; padding: 16px 0; }
.ld-gallery { position: sticky; top: 100px; }
.ld-main-img {
  width: 100%; aspect-ratio: 3/4; background: var(--gray-100);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; margin-bottom: 12px;
}
.ld-main-img img { width: 100%; height: 100%; object-fit: contain; }
.ld-thumbs { display: flex; gap: 8px; }
.ld-thumb {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  background: var(--gray-100); border: 2px solid transparent;
  overflow: hidden; cursor: pointer; transition: var(--transition);
}
.ld-thumb:hover, .ld-thumb.active { border-color: var(--gold); }
.ld-info { }
.ld-breadcrumb { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 12px; }
.ld-breadcrumb a { color: var(--red); }
.ld-breadcrumb a:hover { text-decoration: underline; }
.ld-title { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 8px; }
.ld-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ld-meta .badge { font-size: 0.72rem; }
.ld-price-box {
  background: var(--gray-50); border: 2px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px;
}
.ld-price {
  font-family: var(--font-display); font-size: 2.8rem;
  color: var(--navy); letter-spacing: 1px;
}
.ld-price-note { font-size: 0.82rem; color: var(--gray-400); margin-top: 2px; }
.ld-actions { display: flex; gap: 10px; margin-bottom: 20px; }
.ld-details { margin-bottom: 24px; }
.ld-details table { width: 100%; border-collapse: collapse; }
.ld-details th {
  text-align: left; padding: 8px 12px; font-family: var(--font-cond);
  font-weight: 600; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-500); background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.ld-details td {
  padding: 8px 12px; font-size: 0.9rem; border-bottom: 1px solid var(--gray-100);
}
.ld-seller-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; align-items: center; gap: 12px;
}
.ld-seller-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem;
}
.ld-seller-info h4 { font-size: 0.95rem; font-weight: 700; }
.ld-seller-info .seller-stats { font-size: 0.8rem; color: var(--gray-400); }
.ld-seller-info .seller-stats .gold { color: var(--gold); font-weight: 700; }

/* Price history mini chart area */
.ld-price-history {
  margin-top: 24px; padding: 16px;
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
}
.ld-price-history h4 {
  font-family: var(--font-cond); font-weight: 700;
  font-size: 0.88rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--navy); margin-bottom: 12px;
}
.price-history-list { }
.ph-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--gray-50); font-size: 0.82rem; }
.ph-row .ph-price { font-weight: 700; color: var(--navy); }
.ph-row .ph-date { color: var(--gray-400); }
.ph-row .ph-condition { color: var(--gray-500); }

/* ===== AUTH PAGES ===== */
.auth-page { display: flex; min-height: 80vh; align-items: center; justify-content: center; padding: 40px 0; }
.auth-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); width: 100%; max-width: 440px;
  padding: 40px;
}
.auth-card h1 {
  font-family: var(--font-display); font-size: 2rem;
  letter-spacing: 2px; color: var(--navy); text-align: center;
  margin-bottom: 6px;
}
.auth-card .auth-sub { text-align: center; color: var(--gray-400); font-size: 0.9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-family: var(--font-cond); font-weight: 600;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-600); margin-bottom: 5px;
}
.form-input {
  width: 100%; padding: 12px 14px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 0.95rem; transition: var(--transition);
  background: var(--gray-50);
}
.form-input:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-input.error { border-color: var(--red); }
.form-error { color: var(--red); font-size: 0.8rem; margin-top: 4px; }
.auth-link { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--gray-500); }
.auth-link a { color: var(--red); font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }

/* ===== DASHBOARD ===== */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 30px 0; }
.dash-sidebar {
  background: var(--white); border-radius: var(--radius-md);
  padding: 16px; box-shadow: var(--shadow-sm); height: fit-content;
}
.dash-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-family: var(--font-cond); font-weight: 600;
  font-size: 0.9rem; color: var(--gray-600);
  transition: var(--transition); margin-bottom: 2px;
}
.dash-nav a:hover, .dash-nav a.active { background: var(--gray-50); color: var(--navy); }
.dash-nav a.active { border-left: 3px solid var(--red); }
.dash-main { }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.stat-card .sc-label { font-size: 0.78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.stat-card .sc-value { font-family: var(--font-display); font-size: 2rem; color: var(--navy); letter-spacing: 1px; }
.stat-card .sc-change { font-size: 0.78rem; font-weight: 600; }
.stat-card .sc-change.up { color: var(--green); }
.stat-card .sc-change.down { color: var(--red); }

/* ===== CREATE LISTING ===== */
.create-listing-form {
  max-width: 800px; margin: 0 auto; padding: 30px 0;
}
.cl-section {
  background: var(--white); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.cl-section h3 {
  font-family: var(--font-cond); font-weight: 700;
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--navy); margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gray-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* Card auto-fill search */
.autofill-search { position: relative; margin-bottom: 20px; }
.autofill-search input {
  width: 100%; padding: 14px 18px 14px 48px;
  border: 2px solid var(--gold); border-radius: var(--radius-md);
  font-size: 1rem; background: rgba(245,197,24,0.04);
}
.autofill-search input:focus { outline: none; border-color: var(--gold); box-shadow: var(--shadow-glow-gold); }
.autofill-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-height: 350px; overflow-y: auto;
  display: none; z-index: 50;
}
.autofill-search.active .autofill-results { display: block; }
.af-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--gray-100);
  cursor: pointer; transition: background 0.15s;
}
.af-item:hover { background: var(--gray-50); }
.af-item .af-name { font-weight: 700; font-size: 0.9rem; }
.af-item .af-set { font-size: 0.78rem; color: var(--gray-400); }
.af-item .af-price { font-family: var(--font-cond); font-weight: 700; color: var(--navy); margin-left: auto; }

/* Image upload */
.image-upload-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.img-upload-slot {
  aspect-ratio: 3/4; border: 2px dashed var(--gray-200);
  border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
  color: var(--gray-400); font-size: 1.5rem;
  position: relative; overflow: hidden;
}
.img-upload-slot:hover { border-color: var(--gold); background: rgba(245,197,24,0.04); }
.img-upload-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 30px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border-radius: var(--radius-sm); font-family: var(--font-cond);
  font-weight: 600; font-size: 0.9rem; transition: var(--transition);
}
.pagination a { background: var(--white); color: var(--gray-600); border: 1px solid var(--gray-200); }
.pagination a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination span.current { background: var(--red); color: var(--white); border: 1px solid var(--red); }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .listings-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-visual { display: none; }
  .ld-layout { grid-template-columns: 1fr; }
  .ld-gallery { position: static; }
}
@media (max-width: 768px) {
  .header-main { flex-wrap: wrap; gap: 8px; }
  .header-search { order: 3; flex: 1 1 100%; max-width: 100%; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .browse-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .cat-nav-inner { padding: 0 12px; }
}
@media (max-width: 480px) {
  .listings-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .image-upload-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.anim-in { animation: fadeUp 0.5s ease-out forwards; }
.anim-d1 { animation-delay: 0.05s; opacity: 0; }
.anim-d2 { animation-delay: 0.1s; opacity: 0; }
.anim-d3 { animation-delay: 0.15s; opacity: 0; }
.anim-d4 { animation-delay: 0.2s; opacity: 0; }
.anim-d5 { animation-delay: 0.25s; opacity: 0; }

/* === MOBILE: 2 columns on phone, not 1 === */
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .listings-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .cat-card-img { height: 120px !important; font-size: 3rem !important; }
  .cat-card-body { padding: 10px !important; }
  .cat-card-body h3 { font-size: 0.95rem !important; }
  .cat-card-body p { font-size: 0.72rem !important; }
  .cat-tag { font-size: 0.6rem !important; padding: 2px 6px !important; }
  .lc-img { height: 160px !important; }
  .lc-body { padding: 10px !important; }
  .lc-title { font-size: 0.82rem !important; }
  .lc-price { font-size: 1.1rem !important; }
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .feat-icon { font-size: 1.4rem !important; }
  .feat-title { font-size: 0.82rem !important; }
  .feat-desc { font-size: 0.7rem !important; }
  /* Why Card-Star section - stack on mobile */
  .why-grid { grid-template-columns: 1fr !important; }
  /* Hero stats 2x2 */
  .hero-stats { gap: 20px !important; }
  .hero-stat { flex: 0 0 40%; }
}

/* 5th category card spans full width on 2-col */
@media (max-width: 768px) {
  .cat-grid .cat-card:nth-child(5) { grid-column: 1 / -1; }
  .cat-grid .cat-card:nth-child(5) .cat-card-img { height: 100px !important; }
}

/* How it works - 2 col on mobile */
@media (max-width: 768px) {
  .section [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Fee comparison - stack on mobile */
  .section [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    max-width: 300px !important;
  }
  /* Why section stack */
  .why-grid {
    grid-template-columns: 1fr !important;
  }
}

/* === Category nav scroll arrows === */
.cat-nav-wrapper { position: relative; }
.cat-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); border: 1px solid var(--navy-light);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; font-size: 1rem; font-weight: 700;
  transition: var(--transition); box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.cat-nav-arrow:hover { background: var(--gold); color: var(--navy-dark); }
.cat-nav-arrow.left { left: 4px; }
.cat-nav-arrow.right { right: 4px; }
.cat-nav-arrow.hidden { display: none; }

/* === Password toggle === */
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 48px; }
.pw-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--gray-400);
  cursor: pointer; font-size: 0.8rem; font-family: var(--font-cond);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 4px 6px; transition: color 0.2s;
}
.pw-toggle:hover { color: var(--navy); }

/* === Admin Panel === */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 30px 0; }
.admin-sidebar {
  background: var(--navy-dark); border-radius: var(--radius-md);
  padding: 20px 0; color: var(--white); min-height: 600px;
}
.admin-sidebar h3 {
  font-family: var(--font-cond); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--gray-400);
  padding: 0 16px; margin: 16px 0 8px;
}
.admin-sidebar h3:first-child { margin-top: 0; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 0.88rem; color: var(--gray-300);
  transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(245,197,24,0.08); color: var(--gold);
}
.admin-nav a.active { border-left: 3px solid var(--gold); }
.admin-main { }
.admin-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.admin-card h3 {
  font-family: var(--font-cond); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 1px; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; padding: 10px 12px; font-family: var(--font-cond);
  font-weight: 600; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--white); background: var(--navy);
}
.admin-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.admin-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.admin-table td {
  padding: 10px 12px; font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-100);
}
.admin-table tr:hover td { background: var(--gray-50); }
.status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 6px;
}
.status-dot.green { background: var(--green); }
.status-dot.red { background: var(--red); }
.status-dot.yellow { background: var(--gold); }

/* Payment config cards */
.payment-card {
  border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 20px; margin-bottom: 16px; transition: var(--transition);
}
.payment-card.connected { border-color: var(--green); background: rgba(34,197,94,0.04); }
.payment-card .pc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.payment-card .pc-logo {
  font-family: var(--font-cond); font-weight: 700; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 1px;
}

@media (max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; }
  .admin-table { font-size: 0.78rem; }
  .admin-table th, .admin-table td { padding: 8px 6px; }
}

/* === Legal Pages === */
.legal-page { max-width: 860px; margin: 0 auto; padding: 40px 0; }
.legal-page h1 { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: 2px; color: var(--navy); margin-bottom: 6px; }
.legal-page .legal-updated { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 30px; }
.legal-page h2 { font-family: var(--font-cond); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-100); }
.legal-page h3 { font-size: 0.95rem; font-weight: 700; color: var(--gray-700); margin: 20px 0 8px; }
.legal-page p, .legal-page li { font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 10px; }
.legal-page ul, .legal-page ol { padding-left: 24px; margin-bottom: 14px; }
.legal-page li { margin-bottom: 6px; }
.legal-page ul li { list-style: disc; }
.legal-page ol li { list-style: decimal; }
.legal-page .legal-highlight { background: rgba(245,197,24,0.08); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 16px 0; }
.legal-page .legal-highlight p { margin-bottom: 0; }
.legal-toc { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 20px; margin-bottom: 30px; }
.legal-toc h4 { font-family: var(--font-cond); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin-bottom: 10px; }
.legal-toc a { display: block; font-size: 0.85rem; color: var(--red); padding: 3px 0; }
.legal-toc a:hover { text-decoration: underline; }

/* === Help Center === */
.help-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 24px; overflow-x: auto; }
.help-tab {
  padding: 12px 20px; font-family: var(--font-cond); font-weight: 600;
  font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--gray-500); cursor: pointer; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -2px; transition: var(--transition);
}
.help-tab:hover { color: var(--navy); }
.help-tab.active { color: var(--red); border-bottom-color: var(--red); }
.help-content { display: none; }
.help-content.active { display: block; }
.help-step { display: flex; gap: 16px; margin-bottom: 20px; padding: 16px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.help-step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-cond); font-weight: 700; font-size: 0.95rem; }
.help-step-body h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.help-step-body p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; margin: 0; }
.help-faq { margin-bottom: 12px; }
.help-faq summary { font-weight: 700; font-size: 0.92rem; color: var(--navy); cursor: pointer; padding: 12px 16px; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.help-faq summary:hover { color: var(--red); }
.help-faq[open] summary { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.help-faq .faq-body { padding: 12px 16px; background: var(--gray-50); border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; }
@media (max-width: 768px) {
  .help-tabs { gap: 0; }
  .help-tab { padding: 10px 14px; font-size: 0.78rem; }
  .help-step { flex-direction: column; gap: 10px; }
}

/* ============================================================
   CARD-STAR v9 — Premium Visual Overhaul
   ============================================================ */

/* Logo star raised */
.logo-text .c2 { position:relative; top:-4px; font-size:1.15em; }
.f-logo .fg { position:relative; top:-3px; }

/* Deeper dark mode */
body { --navy-dark:#080C18; --navy:#0F1729; --navy-mid:#131D35; --navy-light:#1E2D4F; }

/* Animated hero gradient */
.hero { background:linear-gradient(-45deg,#080C18,#0F1729,#1a1040,#0d2040,#0F1729)!important; background-size:400% 400%!important; animation:heroGrad 15s ease infinite!important; }
@keyframes heroGrad { 0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%} }
.hero-glow-1 { animation:pGlow1 6s ease-in-out infinite!important; }
.hero-glow-2 { animation:pGlow2 8s ease-in-out infinite!important; }
@keyframes pGlow1 { 0%,100%{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.1)} }
@keyframes pGlow2 { 0%,100%{opacity:.4;transform:scale(1)}50%{opacity:.8;transform:scale(1.15)} }
.hero::after { content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(105deg,transparent 40%,rgba(245,197,24,.03) 45%,rgba(212,32,39,.03) 50%,transparent 55%);background-size:200% 100%;animation:holoShim 8s linear infinite;pointer-events:none; }
@keyframes holoShim { 0%{background-position:200% 0}100%{background-position:-200% 0} }

/* Live ticker */
.live-ticker { background:#060A14;border-top:1px solid rgba(245,197,24,.15);border-bottom:1px solid rgba(245,197,24,.15);overflow:hidden;height:38px;position:relative; }
.ticker-label { position:absolute;left:0;top:0;bottom:0;z-index:5;background:var(--red);color:#fff;padding:0 14px;display:flex;align-items:center;font-family:var(--font-cond);font-weight:700;font-size:.78rem;letter-spacing:1px;text-transform:uppercase;box-shadow:4px 0 12px rgba(0,0,0,.5); }
.ticker-label .pulse-dot { width:7px;height:7px;border-radius:50%;background:#fff;margin-right:8px;animation:pDot 1.5s ease infinite; }
@keyframes pDot { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)} }
.ticker-track { display:flex;animation:tScroll 45s linear infinite;padding-left:110px; }
.ticker-track:hover { animation-play-state:paused; }
@keyframes tScroll { 0%{transform:translateX(0)}100%{transform:translateX(-50%)} }
.ticker-item { display:flex;align-items:center;gap:8px;padding:0 24px;white-space:nowrap;height:38px;font-size:.82rem;color:var(--gray-300); }
.ticker-item .t-name { font-weight:600;color:var(--white); }
.ticker-item .t-up { color:#22C55E;font-weight:700;font-family:var(--font-mono); }
.ticker-item .t-down { color:var(--red);font-weight:700;font-family:var(--font-mono); }
.ticker-item .t-sep { color:rgba(255,255,255,.12);margin:0 4px; }

/* Glassmorphism cards */
.listing-card { background:rgba(255,255,255,.96)!important;border:1px solid rgba(0,0,0,.04)!important;box-shadow:0 4px 24px rgba(0,0,0,.06)!important;transition:all .35s cubic-bezier(.2,0,0,1)!important; }
.listing-card:hover { transform:translateY(-8px) scale(1.015)!important;box-shadow:0 20px 60px rgba(0,0,0,.12),0 0 20px rgba(245,197,24,.06)!important;border-color:rgba(245,197,24,.25)!important; }
.cat-card:hover { box-shadow:0 20px 50px rgba(0,0,0,.15),0 0 15px rgba(245,197,24,.06)!important; }

/* Price change badges */
.price-change { display:inline-flex;align-items:center;gap:3px;font-size:.72rem;font-weight:700;padding:2px 6px;border-radius:4px;font-family:var(--font-mono); }
.price-change.up { background:rgba(34,197,94,.12);color:#16A34A; }
.price-change.down { background:rgba(212,32,39,.12);color:#D42027; }
.lc-last-sold { font-size:.72rem;color:var(--gray-400);margin-top:2px; }

/* Trust badges */
.trust-badge { display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:4px;font-size:.68rem;font-weight:700;letter-spacing:.5px; }
.trust-verified { background:rgba(34,197,94,.12);color:#16A34A; }
.trust-top { background:rgba(245,197,24,.15);color:#B8860B; }
.trust-escrow { background:rgba(99,91,255,.12);color:#635BFF; }

/* Just sold feed */
.sold-item { display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--gray-100);animation:soldIn .4s ease; }
@keyframes soldIn { from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)} }
.sold-item .sold-dot { width:8px;height:8px;border-radius:50%;background:#22C55E;flex-shrink:0;animation:pDot 2s ease infinite; }
.sold-item .sold-card { font-size:.85rem;font-weight:600;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.sold-item .sold-price { font-family:var(--font-mono);font-weight:700;color:var(--navy);font-size:.95rem;flex-shrink:0; }
.sold-item .sold-time { font-size:.7rem;color:var(--gray-400);flex-shrink:0;min-width:60px;text-align:right; }

/* Activity bar */
.activity-bar { position:fixed;bottom:0;left:0;right:0;z-index:800;background:rgba(8,12,24,.95);backdrop-filter:blur(12px);border-top:1px solid rgba(245,197,24,.2);padding:8px 20px;display:flex;align-items:center;justify-content:center;gap:16px;font-size:.82rem;color:var(--gray-300);transform:translateY(100%);animation:slideBar 1s ease 2s forwards; }
@keyframes slideBar { to{transform:translateY(0)} }
.activity-bar .ab-dot { width:7px;height:7px;border-radius:50%;background:#22C55E;animation:pDot 1.5s ease infinite; }
.activity-bar .ab-num { font-family:var(--font-cond);font-weight:700;color:var(--gold);font-size:1rem; }
.activity-bar .ab-close { position:absolute;right:16px;background:none;border:none;color:var(--gray-500);cursor:pointer;font-size:1.1rem;padding:4px 8px; }
body { padding-bottom:50px; }

/* Financial numbers */
.lc-price,.ld-price,.stat-card .sc-value,.hero-stat .stat-num,.sold-price,.price-change { font-family:var(--font-mono),var(--font-cond),sans-serif!important; }

/* Micro-interactions */
.btn:active { transform:scale(.96)!important; }
.btn-primary:hover { box-shadow:0 8px 30px rgba(212,32,39,.35),0 0 15px rgba(212,32,39,.2)!important; }
.lc-watch:hover { transform:scale(1.2)!important; }

/* Hot auction */
.hot-timer { font-family:var(--font-mono);font-weight:600;font-size:.8rem;color:var(--red); }
.hot-timer.urgent { animation:urgFlash 1s ease infinite; }
@keyframes urgFlash { 0%,100%{opacity:1}50%{opacity:.5} }

/* === ANIMATED TRENDING HEADER LINK === */
.trending-header-link {
  display:flex; align-items:center; gap:5px;
  font-family:var(--font-cond); font-weight:700; font-size:0.9rem;
  text-transform:uppercase; letter-spacing:1px;
  color:var(--gold); text-decoration:none;
  padding:6px 14px; border-radius:20px;
  background:rgba(245,197,24,0.08);
  border:1px solid rgba(245,197,24,0.2);
  transition:all 0.3s; flex-shrink:0;
}
.trending-header-link:hover {
  background:rgba(245,197,24,0.15);
  border-color:rgba(245,197,24,0.4);
  transform:translateY(-1px);
  box-shadow:0 4px 15px rgba(245,197,24,0.15);
}
.trending-header-link .flame-icon {
  display:inline-block;
  animation:flameWiggle 1.5s ease-in-out infinite;
}
@keyframes flameWiggle {
  0%,100%{transform:rotate(0) scale(1)}
  25%{transform:rotate(-5deg) scale(1.1)}
  50%{transform:rotate(3deg) scale(1.05)}
  75%{transform:rotate(-3deg) scale(1.12)}
}

/* Remove old live ticker */
.live-ticker { display:none !important; }

/* Remove bottom padding from body (no more activity bar taking space) */
body { padding-bottom:0 !important; }

/* === MOBILE TABLE OPTIMIZATION === */
@media (max-width: 768px) {
  .admin-table { font-size:0.75rem !important; }
  .admin-table th, .admin-table td { padding:6px 4px !important; }
  .admin-table th:nth-child(n+5), .admin-table td:nth-child(n+5) { display:none; }
  .admin-layout { grid-template-columns:1fr !important; gap:12px !important; }
  .admin-sidebar { padding:12px 0 !important; min-height:auto !important; }
  .admin-nav a { padding:8px 12px !important; font-size:0.82rem !important; }
  .admin-sidebar h3 { font-size:0.7rem !important; margin:10px 0 4px !important; padding:0 12px !important; }
  .dash-stats { grid-template-columns:repeat(2,1fr) !important; gap:8px !important; }
  .stat-card { padding:12px !important; }
  .stat-card .sc-value { font-size:1.4rem !important; }
  .stat-card .sc-label { font-size:0.68rem !important; }
  /* Trending table mobile */
  .trend-table-mobile .trend-row {
    display:flex; flex-wrap:wrap; align-items:center; gap:6px;
    padding:10px 0; border-bottom:1px solid var(--gray-100);
  }
  .trend-table-mobile .tr-rank { font-family:var(--font-display); font-size:1.1rem; color:var(--gray-300); width:24px; }
  .trend-table-mobile .tr-info { flex:1; min-width:0; }
  .trend-table-mobile .tr-name { font-weight:700; font-size:0.85rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .trend-table-mobile .tr-meta { font-size:0.7rem; color:var(--gray-400); }
  .trend-table-mobile .tr-price { font-family:var(--font-mono); font-weight:700; font-size:0.9rem; }
  .trend-table-mobile .tr-change { font-family:var(--font-mono); font-weight:700; font-size:0.78rem; }
}

/* === CARD IDENTITY SYSTEM (CIS) STYLES === */
.cis-page { max-width:900px; margin:0 auto; }
.cis-passport {
  background:var(--white); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md); overflow:hidden;
  border:1px solid var(--gray-200);
}
.cis-passport-header {
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  padding:24px; color:var(--white);
}
.cis-id {
  font-family:var(--font-mono); font-size:0.85rem;
  color:var(--gold); letter-spacing:1px;
  background:rgba(245,197,24,0.1); display:inline-block;
  padding:4px 12px; border-radius:4px; margin-bottom:10px;
}
.cis-card-name {
  font-family:var(--font-display); font-size:1.8rem;
  letter-spacing:2px; line-height:1.1;
}
.cis-passport-body { padding:24px; }
.cis-section { margin-bottom:24px; }
.cis-section h4 {
  font-family:var(--font-cond); font-weight:700;
  font-size:0.88rem; text-transform:uppercase;
  letter-spacing:1px; color:var(--navy);
  margin-bottom:10px; padding-bottom:6px;
  border-bottom:2px solid var(--gray-100);
}
.cis-detail-row {
  display:flex; justify-content:space-between;
  padding:6px 0; border-bottom:1px solid var(--gray-50);
  font-size:0.88rem;
}
.cis-detail-row .cis-label { color:var(--gray-500); }
.cis-detail-row .cis-value { font-weight:600; color:var(--gray-800); }
.cis-owner-row {
  display:flex; align-items:center; gap:12px;
  padding:10px 0; border-bottom:1px solid var(--gray-100);
}
.cis-owner-num {
  width:28px; height:28px; border-radius:50%;
  background:var(--navy); color:var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-cond); font-weight:700; font-size:0.78rem;
  flex-shrink:0;
}
.cis-owner-info { flex:1; }
.cis-owner-info .cis-owner-name { font-weight:600; font-size:0.88rem; }
.cis-owner-info .cis-owner-meta { font-size:0.75rem; color:var(--gray-400); }
.cis-owner-price { font-family:var(--font-mono); font-weight:700; color:var(--navy); }
.cis-price-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 0; border-bottom:1px solid var(--gray-50);
  font-size:0.85rem;
}
.cis-price-row .cis-sale-price { font-family:var(--font-mono); font-weight:700; color:var(--navy); }
.cis-price-row .cis-sale-date { color:var(--gray-400); font-size:0.78rem; }
.cis-qr { text-align:center; padding:20px; background:var(--gray-50); border-radius:var(--radius-md); }

@media(max-width:768px) {
  .cis-card-name { font-size:1.3rem !important; }
  .cis-passport-header { padding:16px !important; }
  .cis-passport-body { padding:16px !important; }
  .trending-header-link { font-size:0.78rem; padding:5px 10px; }
}

/* === Social Share Buttons === */
.share-buttons { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.share-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:var(--radius-sm);
  font-size:0.8rem; font-weight:600; color:var(--white);
  text-decoration:none; transition:all 0.2s; border:none; cursor:pointer;
}
.share-btn:hover { transform:translateY(-2px); filter:brightness(1.1); }
.share-btn.fb { background:#1877F2; }
.share-btn.tw { background:#000000; }
.share-btn.ig { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.share-btn.wa { background:#25D366; }
.share-btn.tg { background:#0088CC; }
.share-btn.rd { background:#FF4500; }
.share-btn.li { background:#0A66C2; }
.share-btn.pin { background:#E60023; }
.share-btn.copy { background:var(--navy); }
.share-btn.email { background:var(--gray-600); }
.share-copied { color:var(--green); font-size:0.8rem; font-weight:600; display:none; margin-left:8px; }

/* === Review Stars === */
.star-rating { display:inline-flex; gap:2px; }
.star-rating .star { transition:color 0.15s; user-select:none; }
.star-rating .star:hover { color:var(--gold) !important; }
.review-card { padding:14px; border-bottom:1px solid var(--gray-100); }
.review-card .rc-header { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.review-card .rc-avatar { width:32px; height:32px; border-radius:50%; background:var(--navy); color:var(--gold); display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:700; }
.review-card .rc-name { font-weight:700; font-size:.88rem; }
.review-card .rc-date { font-size:.75rem; color:var(--gray-400); }
.review-card .rc-stars { color:var(--gold); font-size:.9rem; }
.review-card .rc-comment { font-size:.88rem; color:var(--gray-600); line-height:1.6; margin-top:4px; }
.review-summary { display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:center; margin-bottom:20px; padding:16px; background:var(--gray-50); border-radius:var(--radius-md); }
.review-summary .rs-big { font-family:var(--font-display); font-size:3rem; color:var(--navy); line-height:1; }
.review-summary .rs-stars { color:var(--gold); font-size:1.2rem; }
.review-summary .rs-count { font-size:.85rem; color:var(--gray-500); }

/* === Social Share Buttons === */
.share-buttons { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.share-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:var(--radius-sm);
  font-size:0.8rem; font-weight:600; color:var(--white);
  text-decoration:none; transition:all 0.2s; border:none; cursor:pointer;
}
.share-btn:hover { transform:translateY(-2px); filter:brightness(1.1); }
.share-btn.fb { background:#1877F2; }
.share-btn.tw { background:#000000; }
.share-btn.ig { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.share-btn.wa { background:#25D366; }
.share-btn.tg { background:#0088CC; }
.share-btn.rd { background:#FF4500; }
.share-btn.li { background:#0A66C2; }
.share-btn.pin { background:#E60023; }
.share-btn.copy { background:var(--navy); }
.share-btn.email { background:var(--gray-600); }
.share-copied { color:var(--green); font-size:0.8rem; font-weight:600; display:none; margin-left:8px; }

/* === Review Stars === */
.star-rating { display:inline-flex; gap:2px; }
.star-rating .star { transition:color 0.15s; user-select:none; }
.star-rating .star:hover { color:var(--gold) !important; }
.review-card { padding:14px; border-bottom:1px solid var(--gray-100); }
.review-card .rc-header { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.review-card .rc-avatar { width:32px; height:32px; border-radius:50%; background:var(--navy); color:var(--gold); display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:700; }
.review-card .rc-name { font-weight:700; font-size:.88rem; }
.review-card .rc-date { font-size:.75rem; color:var(--gray-400); }
.review-card .rc-stars { color:var(--gold); font-size:.9rem; }
.review-card .rc-comment { font-size:.88rem; color:var(--gray-600); line-height:1.6; margin-top:4px; }
.review-summary { display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:center; margin-bottom:20px; padding:16px; background:var(--gray-50); border-radius:var(--radius-md); }
.review-summary .rs-big { font-family:var(--font-display); font-size:3rem; color:var(--navy); line-height:1; }
.review-summary .rs-stars { color:var(--gold); font-size:1.2rem; }
.review-summary .rs-count { font-size:.85rem; color:var(--gray-500); }

/* Admin sidebar dark theme */
.admin-sidebar {
  background: var(--navy-dark) !important;
  color: var(--gray-200) !important;
}
.admin-sidebar .dash-nav a {
  color: var(--gray-300) !important;
}
.admin-sidebar .dash-nav a:hover,
.admin-sidebar .dash-nav a.active {
  background: rgba(255,255,255,0.06) !important;
  color: var(--gold) !important;
}
.admin-sidebar .dash-nav a.active {
  border-left: 3px solid var(--gold) !important;
}

/* ============================================================
   COLLAPSIBLE SIDEBARS — Mobile slide-in
   ============================================================ */

.sidebar-toggle-btn:active { transform: scale(0.9); }
.sidebar-overlay-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9997;
}
.sidebar-overlay-bg.visible { display: block; }

@media (max-width: 900px) {
  

  /* Admin sidebar */
  .admin-sidebar, aside.admin-sidebar {
    position: fixed !important;
    top: 0; left: 0; bottom: 0;
    width: 270px !important;
    z-index: 9998;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: none;
  }
  .admin-sidebar.open, aside.admin-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
  }

  /* Dashboard sidebar */
  .dash-sidebar {
    position: fixed !important;
    top: 0; left: 0; bottom: 0;
    width: 270px !important;
    z-index: 9998;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: none;
    background: var(--white);
  }
  .dash-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  }

  /* Fix layout to single column on mobile */
  .admin-layout, .dash-layout {
    display: block !important;
  }
}

/* Tighter admin sidebar spacing */
.admin-sidebar .admin-nav a,
.admin-sidebar nav a {
  padding: 8px 14px !important;
  font-size: 0.88rem !important;
  line-height: 1.3 !important;
}
.admin-sidebar .admin-nav h3,
.admin-sidebar nav h3 {
  padding: 10px 14px 4px !important;
  margin: 0 !important;
  font-size: 0.65rem !important;
}
.admin-sidebar {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
/* Scrollable on small screens */
@media (max-width: 900px) {
  .admin-sidebar.open, aside.admin-sidebar.open {
    max-height: 100vh;
    overflow-y: auto;
  }
}

/* ============================
   v19: Dashboard Sub-Nav
   ============================ */
.dashboard-subnav { background: #111827; border-bottom: 1px solid rgba(255,215,0,0.15); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dash-subnav-scroll { display: flex; gap: 0; min-width: max-content; padding: 0 10px; }
.dash-subnav-link { padding: 12px 16px; color: #9ca3af; text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; border-bottom: 2px solid transparent; transition: all 0.2s; }
.dash-subnav-link:hover { color: #ffd700; }
.dash-subnav-link.active { color: #ffd700; border-bottom-color: #ffd700; }

/* ============================
   v19: Collection Page
   ============================ */
.collection-page { max-width: 1200px; margin: 0 auto; padding: 20px 15px; }
.collection-header { margin-bottom: 20px; }
.collection-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.collection-title-row h1 { font-size: 28px; font-weight: 900; margin: 0; }
.collection-subtitle { color: #6b7280; margin: 5px 0 0; }

.collection-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { background: #f3f4f6; border-radius: 12px; padding: 16px; }
.stat-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; font-weight: 700; }
.stat-value { display: block; font-size: 24px; font-weight: 900; margin-top: 4px; }
.text-green { color: #10b981; }

.collection-filters { margin-bottom: 16px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-search { flex: 1; min-width: 180px; }
.filter-search input { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; background: #fff; }
.filter-select { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; background: #fff; cursor: pointer; }

.bulk-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fef3c7; border-radius: 8px; margin-top: 10px; flex-wrap: wrap; }
.bulk-bar span { font-weight: 700; font-size: 13px; }

.view-toggle { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.view-btn { padding: 6px 12px; background: #e5e7eb; border: none; border-radius: 6px; cursor: pointer; font-size: 16px; }
.view-btn.active { background: #1a1a2e; color: #ffd700; }
.select-all-label { margin-left: auto; font-size: 13px; display: flex; align-items: center; gap: 5px; }

.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.collection-list { display: flex; flex-direction: column; gap: 8px; }
.collection-list .collection-card { flex-direction: row; gap: 12px; }
.collection-list .card-image-wrap { width: 80px; height: 80px; flex-shrink: 0; }
.collection-list .card-actions { flex-direction: row; }

.collection-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: flex; flex-direction: column; position: relative; transition: transform 0.15s, box-shadow 0.15s; }
.collection-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.card-select { position: absolute; top: 8px; left: 8px; z-index: 2; }
.featured-badge { position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 18px; }
.card-image-wrap { position: relative; aspect-ratio: 3/4; background: #f3f4f6; overflow: hidden; }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 48px; background: #f3f4f6; }
.card-no-image.large { font-size: 72px; }
.card-no-image.sm { width: 60px; height: 60px; font-size: 24px; }
.status-badge { position: absolute; bottom: 8px; left: 8px; padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.status-active { background: #d1fae5; color: #065f46; }
.status-paused { background: #fef3c7; color: #92400e; }
.status-sold { background: #dbeafe; color: #1e40af; }
.status-draft { background: #e5e7eb; color: #374151; }

.card-info { padding: 12px; flex: 1; }
.card-title { font-size: 14px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-meta { font-size: 12px; color: #6b7280; margin-bottom: 6px; }
.card-price-row { display: flex; justify-content: space-between; align-items: center; }
.card-price { font-size: 16px; font-weight: 900; color: #dc2626; }
.card-type { font-size: 11px; color: #9ca3af; text-transform: uppercase; }

.card-actions { display: flex; gap: 4px; padding: 8px 12px; border-top: 1px solid #f3f4f6; flex-wrap: wrap; }
.card-actions .btn-sm { padding: 4px 8px; font-size: 14px; background: #f3f4f6; border: none; border-radius: 6px; cursor: pointer; }
.card-actions .btn-sm:hover { background: #e5e7eb; }
.card-actions .btn-danger { color: #dc2626; }
.card-actions .btn-danger:hover { background: #fef2f2; }

.empty-collection { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 64px; margin-bottom: 16px; }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: #fff; border-radius: 16px; width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto; }
.modal-content.modal-lg { max-width: 700px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #e5e7eb; }
.modal-header h3 { margin: 0; font-size: 18px; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; padding: 4px 8px; }
.modal-body { padding: 20px; }
.modal-body label { display: block; font-weight: 700; font-size: 13px; margin: 12px 0 4px; text-transform: uppercase; }
.modal-body label:first-child { margin-top: 0; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 20px; border-top: 1px solid #e5e7eb; }
.form-input { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.mt-10 { margin-top: 10px; }

/* ============================
   v19: My Store Page
   ============================ */
.my-store-page { max-width: 1200px; margin: 0 auto; padding: 0 0 40px; }
.store-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); padding: 30px 20px; color: #fff; }
.store-hero-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.store-identity { display: flex; align-items: center; gap: 16px; }
.store-avatar img, .avatar-placeholder { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.avatar-placeholder { background: #ffd700; color: #1a1a2e; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; }
.store-info h1 { font-size: 24px; margin: 0 0 2px; }
.store-slug { color: #9ca3af; font-size: 13px; margin: 0 0 6px; }
.store-stats-row { display: flex; gap: 16px; font-size: 13px; color: #d1d5db; }
.store-actions { display: flex; gap: 8px; }

.store-section { padding: 20px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { font-size: 20px; margin: 0; }

.hero-card-display { display: flex; gap: 20px; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.hero-card-image { width: 200px; flex-shrink: 0; }
.hero-card-image img { width: 100%; border-radius: 8px; }
.hero-card-info h3 { margin: 0 0 8px; }
.hero-price { font-size: 22px; font-weight: 900; color: #dc2626; margin: 0 0 8px; }
.hero-desc { color: #6b7280; font-size: 14px; }

.empty-hero, .empty-collections { text-align: center; padding: 30px; background: #f9fafb; border-radius: 12px; color: #6b7280; }

.featured-collection { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.coll-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.coll-header h3 { margin: 0; font-size: 16px; }
.coll-actions { display: flex; gap: 4px; }
.coll-cards-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.coll-card-thumb { width: 120px; flex-shrink: 0; }
.coll-card-thumb img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.thumb-price { display: block; text-align: center; font-size: 12px; font-weight: 700; margin-top: 4px; }
.coll-empty { color: #9ca3af; font-size: 13px; }

.store-listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.store-listing-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.store-listing-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.listing-info-mini { padding: 6px 8px; }
.listing-title-mini { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-price-mini { display: block; font-size: 13px; font-weight: 700; color: #dc2626; }
.see-all-link { text-align: center; margin-top: 16px; }
.see-all-link a { color: #ffd700; font-weight: 700; }

.hero-picker-grid, .coll-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; max-height: 400px; overflow-y: auto; }
.hero-pick-card, .coll-pick-card { cursor: pointer; text-align: center; padding: 8px; border: 2px solid transparent; border-radius: 8px; transition: border-color 0.15s; }
.hero-pick-card:hover, .coll-pick-card:hover { border-color: #ffd700; }
.hero-pick-card img, .coll-pick-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
.hero-pick-card span, .coll-pick-card span { display: block; font-size: 11px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coll-pick-card input { margin-bottom: 4px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; border: none; cursor: pointer; text-align: center; transition: all 0.15s; }
.btn-primary { background: #dc2626; color: #fff; }
.btn-primary:hover { background: #b91c1c; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-secondary { background: #e5e7eb; color: #374151; }
.btn-success { background: #10b981; color: #fff; }
.btn-warning { background: #f59e0b; color: #fff; }
.btn-info { background: #3b82f6; color: #fff; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-sm { padding: 6px 10px; font-size: 12px; }

/* Mobile responsive */
@media (max-width: 640px) {
    .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .filter-row { flex-direction: column; }
    .store-hero-content { flex-direction: column; align-items: flex-start; }
    .store-actions { width: 100%; }
    .store-actions .btn { flex: 1; text-align: center; }
    .hero-card-display { flex-direction: column; }
    .hero-card-image { width: 100%; }
    .store-listings-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Sidebar toggle button — clean */

@media (max-width: 900px) {
  
}

