/* ==========================================================================
   COLLECTIBLE UNIVERSE - LUXURY PRIVATE GALLERY & AUCTION SHOWROOM DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* OBSIDIAN, PIANO BLACK & SMOKED GRAPHITE COLOR PALETTE */
  --bg-primary: #020305;
  --bg-secondary: rgba(6, 8, 14, 0.65);
  --bg-card: rgba(8, 12, 20, 0.48);
  --bg-glass: rgba(6, 9, 15, 0.68);
  --bg-input: rgba(6, 9, 16, 0.75);
  
  /* PLATINUM CHROME & CHAMPAGNE GOLD METALLIC BORDERS */
  --border-color: rgba(243, 207, 101, 0.35);
  --border-chrome: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 207, 101, 0.7) 35%, rgba(203, 213, 225, 0.4) 65%, rgba(255, 255, 255, 0.95) 100%);
  --border-hover: rgba(255, 243, 176, 0.9);
  
  /* ELEGANT TEXT HIERARCHY */
  --text-main: #f8fafc;
  --text-muted: #a0aec0;
  --text-subtle: #64748b;
  
  /* CHAMPAGNE GOLD & PLATINUM CHROME ACCENTS */
  --champagne-gold: #f3cf65;
  --champagne-light: #fff8d6;
  --champagne-dark: #b38b14;
  --champagne-gradient: linear-gradient(135deg, #ffffff 0%, #fff8d6 20%, #f3cf65 45%, #d4af37 75%, #9a7410 100%);
  
  --chrome-light: #ffffff;
  --chrome-platinum: #f8fafc;
  --chrome-silver: #e2e8f0;
  --chrome-gunmetal: #475569;
  --chrome-gradient: linear-gradient(135deg, #ffffff 0%, #f1f5f9 25%, #cbd5e1 55%, #64748b 85%, #ffffff 100%);

  /* RESTRAINED CHAMPAGNE ACCENTS */
  --gold-accent: #f3cf65;
  --gold-light: #fff8d6;
  --gold-gradient: linear-gradient(135deg, #ffffff 0%, #fff8d6 20%, #f3cf65 45%, #d4af37 75%, #9a7410 100%);

  --holo-accent: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(243, 207, 101, 0.35) 40%, rgba(147, 112, 219, 0.3) 100%);

  /* SHADOWS & LUXURY SHOWROOM SPOTLIGHTS */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 14px 35px -5px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  --shadow-lg: 0 30px 70px -15px rgba(0, 0, 0, 0.98), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  --shadow-spotlight: 0 0 60px rgba(243, 207, 101, 0.25);
  --shadow-gold: 0 0 35px rgba(243, 207, 101, 0.45);

  /* HIGH-FASHION EDITORIAL TYPOGRAPHY */
  --font-editorial: 'Cormorant Garamond', 'Bodoni Moda', 'Cinzel', serif;
  --font-title: 'Cormorant Garamond', 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* LIGHT THEME MODERATION */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-input: #f1f5f9;
  
  --border-color: #cbd5e1;
  --border-hover: #94a3b8;
  
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-subtle: #64748b;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 45px rgba(0,0,0,0.12);
}

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

body {
  font-family: var(--font-body);
  background: #020305 url('collectible-universe-master-background.png') no-repeat center 32% fixed;
  background-size: cover;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, rgba(0, 0, 0, 0.0) 0%, rgba(2, 3, 5, 0.38) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure all content sits above the fixed background overlay */
header, section, main, footer, .drawer-overlay, .modal-overlay {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* ==========================================================================
   NAVIGATION HEADER (PRIVATE GALLERY BRANDING)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 6, 12, 0.42);
  backdrop-filter: blur(28px) saturate(220%);
  -webkit-backdrop-filter: blur(28px) saturate(220%);
  border-bottom: 1px solid rgba(243, 207, 101, 0.35);
  padding: 1.1rem 2.5rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-container {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
}

.brand-logo-slot {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 44px;
  flex-shrink: 0;
}

.gold-bar-logo-svg {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(243, 207, 101, 0.65)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand:hover .gold-bar-logo-svg {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 0 16px rgba(243, 207, 101, 0.95)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.6));
}

.brand-icon-wrap {
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 30% 30%, #1e293b 0%, #080b12 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.brand:hover .brand-icon-wrap {
  border-color: var(--gold-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.brand-title {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ffffff 0%, #fff8d6 25%, #f3cf65 50%, #e2e8f0 75%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 8px rgba(243, 207, 101, 0.35));
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-top: 0.15rem;
  text-shadow: 0 0 10px rgba(243, 207, 101, 0.4);
}

/* SEARCH BAR */
.search-bar-header {
  flex: 1;
  max-width: 580px;
  margin: 0 1rem;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.2rem 0.7rem 2.8rem;
  color: var(--text-main);
  font-size: 0.88rem;
  transition: var(--transition);
}

.search-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  background: #090e1a;
}

/* NAVIGATION BUTTONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  transition: var(--transition);
}

.btn-icon:hover {
  border-color: var(--chrome-silver);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 800;
  font-size: 0.68rem;
  width: 19px;
  height: 19px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--chrome-silver);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   CINEMATIC HERO SHOWROOM SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 30%, #111726 0%, #030407 80%);
  border-bottom: 1px solid var(--border-color);
  padding: 5.5rem 2.5rem 6.5rem;
  overflow: hidden;
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 75%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.45rem 1.3rem;
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 880px;
  margin: 0 auto 2.8rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1050px;
  margin: 3.5rem auto 0;
}

.hero-stat-card {
  background: rgba(15, 20, 32, 0.5);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

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

.hero-stat-value {
  font-family: var(--font-editorial);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

/* ==========================================================================
   MUSEUM / GALLERY STYLE COLLECTION SHOWCASES
   ========================================================================== */
.categories-section {
  padding: 3.5rem 2.5rem 2.5rem;
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-family: var(--font-editorial);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

/* LUXURY FLOATING MUSEUM SHOWCASE CARD */
.museum-showcase-card {
  background: rgba(4, 6, 12, 0.18);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(243, 207, 101, 0.38);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(243, 207, 101, 0.06), 0 20px 45px rgba(0, 0, 0, 0.7);
}

.museum-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 30%, rgba(243, 207, 101, 0.85) 50%, rgba(255, 255, 255, 0.95) 70%, transparent 100%);
  z-index: 10;
}

.museum-showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 243, 176, 0.9);
  background: rgba(8, 12, 22, 0.32);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(243, 207, 101, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.museum-showcase-card.active {
  border-color: var(--gold-accent);
  background: rgba(243, 207, 101, 0.15);
  box-shadow: 0 0 45px rgba(243, 207, 101, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.showcase-glass-frame {
  width: 100%;
  height: 230px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(18, 26, 42, 0.25) 0%, rgba(2, 4, 8, 0.65) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-spotlight {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(243, 207, 101, 0.22) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(25px);
  z-index: 2;
}

.showcase-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(1.02) contrast(1.06);
}

.museum-showcase-card:hover .showcase-photo {
  transform: scale(1.07);
  filter: brightness(1.12) contrast(1.12);
}

.showcase-glass-refraction {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 45%, rgba(243, 207, 101, 0.08) 80%, rgba(255, 255, 255, 0.12) 100%);
  pointer-events: none;
  z-index: 3;
}

.showcase-details {
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(6, 9, 16, 0.35);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(243, 207, 101, 0.2);
}

.showcase-meta {
  display: flex;
  flex-direction: column;
}

.showcase-title {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.showcase-count {
  font-size: 0.78rem;
  color: var(--gold-accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.showcase-action {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--champagne-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.museum-showcase-card:hover .showcase-action {
  color: #ffffff;
  transform: translateX(4px);
  text-shadow: 0 0 10px rgba(243, 207, 101, 0.6);
}

/* Composition Variants */
.museum-showcase-card.variant-featured {
  grid-column: span 1;
}

.museum-showcase-card.variant-horizontal .showcase-glass-frame {
  height: 240px;
}

/* ==========================================================================
   MAIN STORE SHOWROOM & FILTERS
   ========================================================================== */
.main-store-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 2.5rem;
  width: 100%;
  flex: 1;
}

.store-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .store-layout {
    grid-template-columns: 1fr;
  }
}

.filters-sidebar {
  background: rgba(6, 9, 16, 0.48);
  border: 1px solid rgba(243, 207, 101, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  height: fit-content;
  position: sticky;
  top: 100px;
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), inset 0 0 15px rgba(243, 207, 101, 0.08), 0 25px 60px rgba(0, 0, 0, 0.85);
}

.form-control, select, input[type="text"], input[type="email"], input[type="number"], textarea {
  background: rgba(6, 9, 16, 0.72) !important;
  border: 1px solid rgba(243, 207, 101, 0.35) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.65rem 1.1rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  transition: var(--transition) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.form-control:focus, select:focus, input[type="text"]:focus {
  border-color: rgba(255, 243, 176, 0.9) !important;
  box-shadow: 0 0 25px rgba(243, 207, 101, 0.4) !important;
  outline: none !important;
}

select option {
  background: #080a0f !important;
  color: #f8fafc !important;
  padding: 0.5rem 1rem !important;
}

.filter-group {
  margin-bottom: 1.6rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(243, 207, 101, 0.2);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--champagne-gold);
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(243, 207, 101, 0.3);
}

.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-checkbox-label:hover {
  color: var(--text-main);
}

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

/* ==========================================================================
   PRODUCT SLAB CARDS — GALLERY PRESENTATION
   ========================================================================== */
.products-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(8, 12, 20, 0.48);
  border: 1px solid rgba(243, 207, 101, 0.35);
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(18px) saturate(200%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.products-count {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sort-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.8rem;
}

/* GALLERY PRODUCT SLAB CARD */
.product-card {
  background: rgba(8, 12, 20, 0.48);
  border: 1px solid rgba(243, 207, 101, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(22px) saturate(200%);
  -webkit-backdrop-filter: blur(22px) saturate(200%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -1px 1px rgba(243, 207, 101, 0.25), 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(243, 207, 101, 0.12);
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 30%, rgba(243, 207, 101, 0.85) 50%, rgba(255, 255, 255, 0.95) 70%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(243,207,101,0.5) 40%, rgba(148,163,184,0.25) 75%, rgba(255,255,255,0.7) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(243, 207, 101, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 243, 176, 0.9);
}

.product-badge-group {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.badge-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.badge-psa {
  background: rgba(185, 28, 28, 0.92);
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

.badge-firsted {
  background: var(--champagne-gradient);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(243, 207, 101, 0.4);
}

.badge-signed {
  background: rgba(15, 23, 42, 0.92);
  color: var(--champagne-light);
  border-color: rgba(243, 207, 101, 0.6);
  box-shadow: 0 2px 10px rgba(243, 207, 101, 0.3);
}

.badge-sold {
  background: rgba(51, 65, 85, 0.9);
  color: #ffffff;
}

.product-image-container {
  width: 100%;
  height: 310px;
  background: radial-gradient(circle at 50% 35%, rgba(18, 26, 42, 0.4) 0%, rgba(4, 6, 12, 0.82) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid rgba(243, 207, 101, 0.25);
  backdrop-filter: blur(8px);
}

.product-image-container img, .product-image-container svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-container img {
  transform: scale(1.06);
}

.btn-wishlist-card {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(6, 8, 14, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-wishlist-card:hover, .btn-wishlist-card.active {
  background: rgba(225, 29, 72, 0.9);
  border-color: #f43f5e;
  transform: scale(1.1);
}

.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-chip {
  font-size: 0.72rem;
  color: var(--champagne-gold);
  font-family: var(--font-editorial);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 1.5px;
}

.product-title {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.product-title:hover {
  color: var(--champagne-light);
}

.product-provenance {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-price-wrap {
  display: flex;
  flex-direction: column;
}

.product-price {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--champagne-light);
}

.product-old-price {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.btn-add-cart {
  background: var(--champagne-gradient);
  color: #000000;
  font-weight: 800;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  letter-spacing: 0.5px;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   DRAWER & MODALS
   ========================================================================== */
.drawer-overlay, .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 3, 6, 0.88);
  backdrop-filter: blur(16px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.drawer-overlay.open, .modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  position: fixed;
  top: 0;
  right: -500px;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.drawer-overlay.open .drawer-content {
  right: 0;
}

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

.drawer-title {
  font-family: var(--font-editorial);
  font-size: 1.3rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-body {
  padding: 1.6rem;
  overflow-y: auto;
  flex: 1;
}

.drawer-footer {
  padding: 1.6rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), var(--shadow-spotlight);
  position: relative;
  padding: 2.4rem;
}

.btn-close-modal {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.btn-close-modal:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #020306;
  border-top: 1px solid var(--border-color);
  padding: 5rem 2.5rem 2.5rem;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-title {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 1px;
}

.footer-heading {
  font-family: var(--font-editorial);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a:hover {
  color: var(--chrome-silver);
}

.footer-bottom {
  max-width: 1480px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .header {
    padding: 0.75rem 1rem;
  }
  .nav-container {
    flex-wrap: wrap;
  }
  .search-bar-header {
    order: 3;
    width: 100%;
    margin: 0.5rem 0 0;
  }
  .hero-section {
    padding: 3.5rem 1rem 4.5rem;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}
