/* ═══════════════════════════════════════════════════════════════════
   KAARIGHAR — Premium Art Direction System
   Apple × Stripe × Framer × Awwwards quality bar
   ═══════════════════════════════════════════════════════════════════ */

/* ── Font Loading ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
  /* Palette */
  --charcoal-50: #fafaf9; --charcoal-100: #f5f4f2; --charcoal-200: #e8e6e1;
  --charcoal-300: #d4d0c8; --charcoal-400: #a8a298; --charcoal-500: #7c756a;
  --charcoal-600: #5c564d; --charcoal-700: #3d3832; --charcoal-800: #2a2622;
  --charcoal-900: #1a1714; --charcoal-950: #0d0b0a;
  
  --ivory-50: #fffefb; --ivory-100: #fefcf5; --ivory-200: #fdf8e8;
  --ivory-300: #faf1d4; --ivory-400: #f5e6b8; --ivory-500: #efd89a;
  
  --gold-400: #f0d054; --gold-500: #e8b931; --gold-600: #cfa01e;
  --gold-700: #a87818;
  
  --copper-400: #f18a3c; --copper-500: #e06f1c; --copper-600: #c15712;
  
  --emerald-400: #4ade86; --emerald-500: #22c561; --emerald-600: #16a34d;
  
  --sapphire-400: #5278ff; --sapphire-500: #2f52e0;
  
  --burgundy-400: #ec6f8a; --burgundy-500: #e04366;

  /* Semantic */
  --bg-primary: var(--charcoal-950);
  --bg-secondary: var(--charcoal-900);
  --bg-elevated: var(--charcoal-800);
  --bg-card: rgba(42,38,34,0.6);
  --bg-glass: rgba(26,23,20,0.85);
  
  --text-primary: var(--ivory-50);
  --text-secondary: var(--charcoal-300);
  --text-muted: var(--charcoal-400);
  --text-accent: var(--gold-500);
  
  --border-subtle: rgba(212,208,200,0.08);
  --border-medium: rgba(212,208,200,0.15);
  --border-strong: rgba(212,208,200,0.25);
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  
  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  
  /* Depth */
  --shadow-subtle: 0 1px 2px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.3);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
  --shadow-elevated: 0 4px 16px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.2);
  --shadow-floating: 0 8px 30px rgba(0,0,0,0.4), 0 16px 60px rgba(0,0,0,0.3);
  --shadow-glow-gold: 0 0 40px rgba(232,185,49,0.15), 0 0 80px rgba(232,185,49,0.08);
  
  /* Spacing */
  --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem;
  --space-lg: 1.5rem; --space-xl: 2rem; --space-2xl: 3rem;
  --space-3xl: 4rem; --space-4xl: 6rem; --space-5xl: 8rem;
  
  /* Layout */
  --container-max: 1440px;
  --content-max: 1200px;
  --text-max: 680px;
  
  /* Grain */
  --grain-opacity: 0.03;
}

/* Light mode */
[data-theme="light"] {
  --bg-primary: var(--ivory-50);
  --bg-secondary: var(--charcoal-50);
  --bg-elevated: #ffffff;
  --bg-card: rgba(255,254,251,0.8);
  --bg-glass: rgba(255,254,251,0.9);
  --text-primary: var(--charcoal-900);
  --text-secondary: var(--charcoal-600);
  --text-muted: var(--charcoal-400);
  --text-accent: var(--gold-700);
  --border-subtle: rgba(61,56,50,0.06);
  --border-medium: rgba(61,56,50,0.12);
  --border-strong: rgba(61,56,50,0.2);
  --shadow-subtle: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-elevated: 0 4px 16px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-floating: 0 8px 30px rgba(0,0,0,0.12), 0 16px 60px rgba(0,0,0,0.08);
  --grain-opacity: 0.02;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 9999;
}

/* ── Selection ─────────────────────────────────────────────────── */
::selection { background: rgba(232,185,49,0.3); color: var(--text-primary); }

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--charcoal-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--charcoal-500); }

/* ── Typography System ─────────────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

/* Display hierarchy */
.text-hero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.text-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.text-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.text-heading {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.text-subheading {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.text-body { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); }
.text-body-lg { font-size: 1.125rem; line-height: 1.7; color: var(--text-secondary); }
.text-small { font-size: 0.875rem; line-height: 1.5; }
.text-caption { font-size: 0.75rem; line-height: 1.4; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.text-overline { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-accent); }

/* ── Layout System ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.container-narrow { max-width: var(--content-max); }
.container-text { max-width: var(--text-max); }
.section { padding: clamp(4rem, 10vw, 10rem) 0; }
.section-compact { padding: clamp(2rem, 5vw, 5rem) 0; }

/* ── Glass & Surface System ────────────────────────────────────── */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--border-subtle);
}

.surface-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-out);
}

.surface-card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.surface-elevated {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  box-shadow: var(--shadow-elevated);
}

/* ── Button System ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem; border-radius: 12px; border: none; cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.3s var(--ease-out);
}

.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--charcoal-950);
  box-shadow: 0 2px 10px rgba(232,185,49,0.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(232,185,49,0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--gold-500);
  color: var(--gold-500);
}

.btn-ghost {
  background: transparent; color: var(--text-secondary);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; border-radius: 10px; }
.btn-icon { padding: 0.75rem; border-radius: 12px; }

/* Magnetic hover effect */
.btn-magnetic {
  transition: transform 0.3s var(--ease-out);
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--gold-500); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold-500);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex; align-items: center; gap: 0.75rem;
}

.nav-cart-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-500); color: var(--charcoal-950);
  font-size: 0.625rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── Hamburger & Mobile Nav ────────────────────────────────────── */
.nav-hamburger {
  display: none;
  width: 36px; height: 36px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.hamburger-lines {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hamburger-line {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(13,11,10,0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex; flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-links {
  flex: 1;
  padding: 1rem 0;
}

.mobile-nav-links a {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem 1.5rem;
  font-size: 1rem; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus {
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  border-left-color: var(--gold-500);
}

.mobile-nav-links a i {
  width: 20px; text-align: center;
  color: var(--gold-500); font-size: 0.875rem;
}

.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 1024px) {
  .nav-hamburger { display: flex; }
  .nav-sell-btn { display: none; }
}

/* ── Hero Section ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 40%, rgba(232,185,49,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 80% 60% at 80% 20%, rgba(224,111,28,0.04) 0%, transparent 50%),
              radial-gradient(ellipse 60% 80% at 20% 80%, rgba(47,82,224,0.03) 0%, transparent 50%),
              var(--bg-primary);
}

.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold-500);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s infinite;
}

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 clamp(1rem, 4vw, 3rem);
  max-width: 1000px;
}

.hero-overline {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 1s 0.3s var(--ease-out) forwards;
}

.hero-overline::before, .hero-overline::after {
  content: ''; width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.hero-overline::after {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 1s 0.5s var(--ease-out) forwards;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-400), var(--copper-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0; animation: fadeUp 1s 0.7s var(--ease-out) forwards;
}

.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s 0.9s var(--ease-out) forwards;
}

.hero-scroll-indicator {
  position: absolute; bottom: 2rem;
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeUp 1s 1.2s var(--ease-out) forwards;
}

.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Animations ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Viewport reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1; transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* ── Product Cards ─────────────────────────────────────────────── */
.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s var(--ease-out);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-floating);
  border-color: var(--border-medium);
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

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

.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,11,10,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-actions {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  display: flex; gap: 0.5rem;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s var(--ease-out) 0.1s;
}

.product-card:hover .product-card-actions {
  transform: translateY(0); opacity: 1;
}

.product-card-body { padding: 1.25rem; }

.product-card-category {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.375rem;
}

.product-card-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
}

.product-card-price {
  font-weight: 700; font-size: 1.125rem;
}

.product-card-price .original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

.product-card-rating {
  display: flex; align-items: center; gap: 0.25rem;
  font-size: 0.8125rem; color: var(--text-muted);
}

.product-card-rating .star { color: var(--gold-500); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-limited {
  background: rgba(232,185,49,0.15);
  color: var(--gold-500);
  border: 1px solid rgba(232,185,49,0.2);
}

.badge-verified {
  background: rgba(34,197,97,0.15);
  color: var(--emerald-400);
  border: 1px solid rgba(34,197,97,0.2);
}

.badge-handmade {
  background: rgba(224,111,28,0.15);
  color: var(--copper-400);
  border: 1px solid rgba(224,111,28,0.2);
}

.badge-new {
  background: rgba(47,82,224,0.15);
  color: var(--sapphire-400);
  border: 1px solid rgba(47,82,224,0.2);
}

/* ── Artisan Cards ─────────────────────────────────────────────── */
.artisan-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s var(--ease-out);
}

.artisan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.artisan-card-cover {
  position: relative; height: 180px;
  overflow: hidden;
}

.artisan-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.artisan-card:hover .artisan-card-cover img { transform: scale(1.05); }

.artisan-card-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-primary), transparent 60%);
}

.artisan-card-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  object-fit: cover;
  margin-top: -32px;
  margin-left: 1.25rem;
  position: relative; z-index: 2;
}

.artisan-card-body { padding: 0.75rem 1.25rem 1.25rem; }

.artisan-card-name {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600;
  margin-bottom: 0.25rem;
}

.artisan-card-craft {
  font-size: 0.8125rem; color: var(--gold-500);
  margin-bottom: 0.25rem;
}

.artisan-card-location {
  font-size: 0.75rem; color: var(--text-muted);
}

/* ── Category Grid ─────────────────────────────────────────────── */
.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
}

.category-card:hover { transform: scale(1.02); }

.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.category-card:hover img { transform: scale(1.1); }

.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,11,10,0.85) 0%, rgba(13,11,10,0.2) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
}

.category-card-icon {
  font-size: 2rem; margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.category-card-name {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  margin-bottom: 0.25rem;
}

.category-card-count {
  font-size: 0.75rem; color: var(--text-muted);
}

/* ── Collection Showcase ───────────────────────────────────────── */
.collection-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.collection-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.collection-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,11,10,0.7) 0%, transparent 60%);
  display: flex; align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
}

.collection-hero-content { max-width: 600px; }

/* ── Stats Section ─────────────────────────────────────────────── */
.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-400), var(--copper-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Testimonials ──────────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-elevated);
}

.testimonial-stars { color: var(--gold-500); margin-bottom: 1rem; font-size: 0.875rem; }

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.125rem; font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }

.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; color: var(--gold-500);
}

.testimonial-name { font-weight: 600; font-size: 0.875rem; }
.testimonial-date { font-size: 0.75rem; color: var(--text-muted); }

/* ── Search ────────────────────────────────────────────────────── */
.search-modal {
  position: fixed; inset: 0;
  z-index: 10000;
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 15vh;
}

.search-modal.active { display: flex; }

.search-backdrop {
  position: absolute; inset: 0;
  background: rgba(13,11,10,0.8);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s var(--ease-out);
}

.search-container {
  position: relative;
  width: 90%;
  max-width: 640px;
  animation: scaleIn 0.3s var(--ease-out);
}

.search-input-wrapper {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-floating);
}

.search-input {
  flex: 1;
  background: transparent; border: none; outline: none;
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-primary);
}

.search-input::placeholder { color: var(--text-muted); }

.search-results {
  margin-top: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.875rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.search-result-item:hover { background: rgba(255,255,255,0.03); }

.search-result-image {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

/* ── Cart Drawer ───────────────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 90vw);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex; flex-direction: column;
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(13,11,10,0.6);
  z-index: 10000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.cart-drawer-backdrop.open { opacity: 1; pointer-events: all; }

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

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

.cart-item {
  display: flex; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-image {
  width: 80px; height: 100px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.cart-item-artisan { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.cart-item-price { font-weight: 700; color: var(--gold-500); }

.cart-item-qty {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.5rem;
}

.cart-item-qty button {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.cart-item-qty button:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label { font-size: 0.875rem; color: var(--text-muted); }
.cart-total-amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand { max-width: 300px; }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand-name span { color: var(--gold-500); }

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem; color: var(--text-muted);
}

/* ── Product Detail Page ───────────────────────────────────────── */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-top: 6rem;
}

.pdp-gallery { position: sticky; top: 6rem; }

.pdp-main-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
}

.pdp-main-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.pdp-thumbnails {
  display: flex; gap: 0.5rem;
}

.pdp-thumbnail {
  width: 64px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
}

.pdp-thumbnail.active { border-color: var(--gold-500); }

.pdp-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { padding-top: 1rem; }

.pdp-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pdp-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.pdp-breadcrumb a:hover { color: var(--gold-500); }

.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.pdp-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pdp-price-row {
  display: flex; align-items: baseline; gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pdp-price {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
}

.pdp-original-price {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pdp-discount {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--emerald-400);
}

.pdp-artisan-badge {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.pdp-artisan-badge:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-glow-gold);
}

.pdp-artisan-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.pdp-artisan-name { font-weight: 600; font-size: 0.9375rem; }
.pdp-artisan-craft { font-size: 0.75rem; color: var(--gold-500); }
.pdp-artisan-location { font-size: 0.75rem; color: var(--text-muted); }

.pdp-actions {
  display: flex; gap: 0.75rem;
  margin-bottom: 2rem;
}

.pdp-actions .btn { flex: 1; }

.pdp-trust-signals {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-signal {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--text-muted);
}

.trust-signal svg { color: var(--gold-500); flex-shrink: 0; }

/* ── Audio Control ─────────────────────────────────────────────── */
.audio-toggle {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 9000;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-elevated);
}

.audio-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-gold);
  border-color: var(--gold-500);
}

.audio-bars {
  display: flex; align-items: flex-end; gap: 2px;
  height: 16px;
}

.audio-bar {
  width: 2px;
  background: var(--gold-500);
  border-radius: 1px;
  transition: height 0.2s;
}

.audio-toggle.playing .audio-bar:nth-child(1) { animation: audioBar 0.8s infinite 0s; }
.audio-toggle.playing .audio-bar:nth-child(2) { animation: audioBar 0.8s infinite 0.1s; }
.audio-toggle.playing .audio-bar:nth-child(3) { animation: audioBar 0.8s infinite 0.2s; }
.audio-toggle.playing .audio-bar:nth-child(4) { animation: audioBar 0.8s infinite 0.3s; }

@keyframes audioBar {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

.audio-toggle:not(.playing) .audio-bar { height: 4px; }

/* ── 3D Canvas Container ───────────────────────────────────────── */
.canvas-container {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}

.canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ── Dashboard Styles ──────────────────────────────────────────── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: 4rem;
}

.dashboard-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  padding: 2rem 0;
  position: sticky;
  top: 4rem;
  height: calc(100vh - 4rem);
  overflow-y: auto;
}

.dashboard-sidebar-nav { list-style: none; }

.dashboard-sidebar-nav li a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.dashboard-sidebar-nav li a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}

.dashboard-sidebar-nav li a.active {
  color: var(--gold-500);
  border-left-color: var(--gold-500);
  background: rgba(232,185,49,0.05);
}

.dashboard-content { padding: 2rem clamp(1.5rem, 3vw, 3rem); }

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dashboard-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
}

.dashboard-stat-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card);
}

.dashboard-stat-label {
  font-size: 0.75rem; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.dashboard-stat-value {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
}

.dashboard-stat-change {
  font-size: 0.75rem; font-weight: 600;
  margin-top: 0.25rem;
}

.dashboard-stat-change.positive { color: var(--emerald-400); }
.dashboard-stat-change.negative { color: var(--burgundy-400); }

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* Status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}

.status-pill::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%;
}

.status-pill.confirmed { background: rgba(34,197,97,0.1); color: var(--emerald-400); }
.status-pill.confirmed::before { background: var(--emerald-400); }
.status-pill.pending { background: rgba(232,185,49,0.1); color: var(--gold-500); }
.status-pill.pending::before { background: var(--gold-500); }
.status-pill.shipped { background: rgba(47,82,224,0.1); color: var(--sapphire-400); }
.status-pill.shipped::before { background: var(--sapphire-400); }
.status-pill.delivered { background: rgba(34,197,97,0.1); color: var(--emerald-500); }
.status-pill.delivered::before { background: var(--emerald-500); }
.status-pill.cancelled { background: rgba(224,67,102,0.1); color: var(--burgundy-400); }
.status-pill.cancelled::before { background: var(--burgundy-400); }

/* ── Forms ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: all 0.3s var(--ease-out);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(232,185,49,0.1);
}

.form-input::placeholder { color: var(--text-muted); }

.form-textarea { min-height: 120px; resize: vertical; }

/* ── Checkout ──────────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.checkout-summary {
  position: sticky; top: 6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  align-self: start;
}

/* ── Loading States ────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp-grid { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 5rem); }
}

/* ── Reduced Motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-particle { display: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ── Theme Toggle ──────────────────────────────────────────────── */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.theme-toggle:hover {
  color: var(--gold-500);
  border-color: var(--gold-500);
}

/* ── Notification Toast ────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10002;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow-floating);
  animation: toastIn 0.4s var(--ease-out);
  pointer-events: auto;
  min-width: 300px;
}

.toast.success { border-left: 3px solid var(--emerald-400); }
.toast.error { border-left: 3px solid var(--burgundy-400); }
.toast.info { border-left: 3px solid var(--sapphire-400); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Smooth page transitions ───────────────────────────────────── */
.page-enter { animation: fadeUp 0.5s var(--ease-out); }

/* ── Marquee ───────────────────────────────────────────────────── */
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  gap: 3rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--text-muted);
  opacity: 0.3;
}

.marquee-item .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  margin: 0 1.5rem;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM ANIMATION SYSTEMS — Awwwards-level
   ═══════════════════════════════════════════════════════════════════ */

/* ── Custom Cursor ────────────────────────────────────────────── */
#custom-cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), background 0.25s, opacity 0.3s;
  mix-blend-mode: difference;
  will-change: transform;
}

#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,185,49,0.35);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), border-color 0.3s, opacity 0.3s;
  will-change: transform;
}

#custom-cursor.hover {
  width: 48px; height: 48px;
  background: rgba(232,185,49,0.12);
  mix-blend-mode: normal;
}

#cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: rgba(232,185,49,0.5);
}

#custom-cursor.click { transform: translate(-50%, -50%) scale(0.7); }
#cursor-ring.click { width: 28px; height: 28px; }

@media (max-width: 1024px) {
  #custom-cursor, #cursor-ring { display: none !important; }
}

@media (pointer: coarse) {
  #custom-cursor, #cursor-ring { display: none !important; }
}

/* ── Scroll Progress Bar ──────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--copper-400), var(--gold-500));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  z-index: 100001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(232,185,49,0.4);
}

/* ── Page Transitions ─────────────────────────────────────────── */
#page-transition {
  position: fixed; inset: 0;
  z-index: 100000;
  pointer-events: none;
  background: var(--bg-primary);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.5s var(--ease-in-out);
}

#page-transition.active {
  pointer-events: all;
  clip-path: circle(150% at 50% 50%);
}

.pt-bar {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
  animation: ptPulse 0.8s infinite;
}

@keyframes ptPulse {
  0%, 100% { opacity: 0.3; width: 40px; }
  50% { opacity: 1; width: 80px; }
}

body.page-loaded {
  animation: pageEnter 0.6s var(--ease-out);
}

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Aurora Background Effect ─────────────────────────────────── */
.aurora-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
}

.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  width: 150%; height: 150%;
  border-radius: 40%;
  animation: auroraMove 15s ease-in-out infinite alternate;
  opacity: 0.06;
  filter: blur(80px);
}

.aurora-bg::before {
  top: -50%; left: -25%;
  background: conic-gradient(from 0deg, var(--gold-500), var(--copper-400), var(--emerald-400), var(--sapphire-400), var(--gold-500));
}

.aurora-bg::after {
  bottom: -50%; right: -25%;
  background: conic-gradient(from 180deg, var(--sapphire-400), var(--burgundy-400), var(--gold-500), var(--copper-400), var(--sapphire-400));
  animation-delay: -7s;
  animation-direction: alternate-reverse;
}

@keyframes auroraMove {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(60deg) scale(1.2); }
}

/* ── Morphing Blob ────────────────────────────────────────────── */
.morph-blob {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, rgba(232,185,49,0.08), rgba(224,111,28,0.05));
  filter: blur(60px);
  animation: morphBlob 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes morphBlob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg) scale(1); }
  25% { border-radius: 58% 42% 60% 40% / 45% 55% 45% 55%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 40% 60% 45%; transform: rotate(90deg) scale(1.1); }
  75% { border-radius: 33% 67% 58% 42% / 63% 38% 62% 38%; }
}

/* ── Shimmer Text Reveal ──────────────────────────────────────── */
.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--gold-400) 25%,
    var(--copper-400) 50%,
    var(--gold-400) 75%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Character Reveal Animation ───────────────────────────────── */
.char-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: charRevealUp 0.6s var(--ease-out) forwards;
}

@keyframes charRevealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Animated Gradient Border ─────────────────────────────────── */
.gradient-border {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute; inset: -2px;
  background: conic-gradient(from var(--angle, 0deg), var(--gold-500), var(--copper-400), var(--emerald-400), var(--sapphire-400), var(--gold-500));
  border-radius: inherit;
  z-index: -1;
  animation: rotateBorder 4s linear infinite;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorder {
  to { --angle: 360deg; }
}

/* ── Product Card Shine Layer ─────────────────────────────────── */
.product-card-shine {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  transition: background 0.3s;
}

/* ── Glow Pulse Button ────────────────────────────────────────── */
.btn-glow {
  position: relative;
  overflow: visible;
}

.btn-glow::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold-500), var(--copper-400));
  opacity: 0;
  z-index: -1;
  filter: blur(16px);
  transition: opacity 0.4s var(--ease-out);
}

.btn-glow:hover::after { opacity: 0.4; }

/* ── Floating Animation for Elements ──────────────────────────── */
.float-gentle {
  animation: floatGentle 6s ease-in-out infinite;
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(0.5deg); }
  66% { transform: translateY(-4px) rotate(-0.5deg); }
}

/* ── Staggered Grid Animation ─────────────────────────────────── */
.grid-stagger > * {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: all 0.6s var(--ease-out);
}

.grid-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(11) { transition-delay: 0.55s; opacity: 1; transform: translateY(0) scale(1); }
.grid-stagger.visible > *:nth-child(12) { transition-delay: 0.6s; opacity: 1; transform: translateY(0) scale(1); }

/* ── Typewriter Cursor ────────────────────────────────────────── */
.typewriter-cursor::after {
  content: '|';
  color: var(--gold-500);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Animated Underline Links ─────────────────────────────────── */
.link-animated {
  position: relative;
  text-decoration: none;
  color: var(--gold-500);
}

.link-animated::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}

.link-animated:hover::after { width: 100%; }

/* ── Glassmorphism Card Enhanced ──────────────────────────────── */
.glass-premium {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(232,185,49,0.08);
  border-radius: 24px;
  box-shadow:
    0 4px 30px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  transition: all 0.5s var(--ease-out);
}

.glass-premium:hover {
  border-color: rgba(232,185,49,0.15);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.15),
    0 0 60px rgba(232,185,49,0.05),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ── Noise Texture Pattern ────────────────────────────────────── */
.noise-overlay {
  position: relative;
}

.noise-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  border-radius: inherit;
}

/* ── Hover Scale with Shadow ──────────────────────────────────── */
.hover-lift {
  transition: all 0.4s var(--ease-out);
}

.hover-lift:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-floating);
}

/* ── Animated Gradient Text ───────────────────────────────────── */
.gradient-text-animated {
  background: linear-gradient(135deg, var(--gold-400), var(--copper-400), var(--emerald-400), var(--sapphire-400));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Smooth Entrance ──────────────────────────────────────────── */
.entrance-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s var(--ease-out);
}

.entrance-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.entrance-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s var(--ease-out);
}

.entrance-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.entrance-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s var(--ease-out);
}

.entrance-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Product Card Shine Layer ─────────────────────────────────── */
.product-card-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-card-shine {
  opacity: 1;
}

/* ── Product Card 3D Transition Enhancement ──────────────────── */
.product-card {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Details Accordion Chevron Rotation ──────────────────────── */
details .fa-chevron-down {
  transition: transform 0.3s var(--ease-out);
}

details[open] .fa-chevron-down {
  transform: rotate(180deg);
}

/* ── Page Load Curtain ───────────────────────────────────────── */
.page-enter {
  animation: pageSlideIn 0.6s var(--ease-out) both;
}

@keyframes pageSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Skeleton Shimmer (loading placeholder) ──────────────────── */
.skeleton {
  background: linear-gradient(90deg,
    var(--bg-card) 0%,
    rgba(255,255,255,0.04) 50%,
    var(--bg-card) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Stat Number Glow ────────────────────────────────────────── */
.stat-number {
  text-shadow: 0 0 30px rgba(232,185,49,0.15);
}

.stat-item {
  transition: transform 0.3s var(--ease-out);
}

.stat-item:hover {
  transform: scale(1.05);
}

/* ── PDP Image Magnifier ─────────────────────────────────────── */
#pdp-image-zoom {
  border-radius: 16px;
}

#pdp-magnifier {
  border-radius: inherit;
  z-index: 10;
}

/* ── Scale-In Keyframe (order confirmation) ──────────────────── */
@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ── Trust Signal Hover ──────────────────────────────────────── */
.trust-signal {
  transition: transform 0.2s var(--ease-out);
}

.trust-signal:hover {
  transform: translateX(4px);
}

/* ── Dashboard Stat Card Enhancement ─────────────────────────── */
.dashboard-stat-card.glass-premium {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.dashboard-stat-card.glass-premium:hover {
  transform: translateY(-4px);
  border-color: rgba(232,185,49,0.2);
}

/* ── Collection Hero Parallax on Hover ───────────────────────── */
.collection-hero img {
  transition: transform 0.8s var(--ease-out);
}

.collection-hero:hover img {
  transform: scale(1.03);
}

/* ── Premium Form Focus Effect ───────────────────────────────── */
.glass-premium .form-input:focus,
.glass-premium .form-select:focus,
.glass-premium .form-textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(232,185,49,0.1), 0 0 20px rgba(232,185,49,0.05);
}

/* ── Testimonial Card Quote Decoration ───────────────────────── */
.testimonial-card.glass-premium::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-500);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card.glass-premium {
  position: relative;
  overflow: hidden;
}

/* ── Category Card Shimmer on Hover ──────────────────────────── */
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(232,185,49,0.08) 50%, transparent 60%);
  background-size: 300% 300%;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.category-card:hover::after {
  opacity: 1;
  animation: cardShimmerSweep 0.8s ease forwards;
}

@keyframes cardShimmerSweep {
  from { background-position: 200% 200%; }
  to { background-position: -50% -50%; }
}

/* ── Badge Pulse (Limited Edition) ───────────────────────────── */
.badge-limited {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,185,49,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(232,185,49,0); }
}

/* ── Broken Image Fallback ────────────────────────────────────── */
img {
  min-height: 40px;
}
img[alt]::after {
  content: '🖼 ' attr(alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background: var(--surface-raised, #f5f4f2);
  color: var(--text-muted, #7c756a);
  font-size: 0.8125rem;
  font-family: var(--font-body, sans-serif);
  text-align: center;
  padding: 1rem;
  border-radius: inherit;
}

/* ── Hide default cursor when custom cursor is active ─────────── */
@media (pointer: fine) and (min-width: 1025px) {
  body { cursor: none; }
  a, button, input, textarea, select { cursor: none; }
}
