/* Luxury Jewellery Custom Styling - Viva Inspired */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-gold-300: #f3e5ab;
  --color-gold-400: #e2c07a;
  --color-gold-500: #d4af37;
  --color-gold-600: #b89727;
  --color-gold-700: #937719;
  --color-bg-dark: #0a0a0c;
  --color-surface-dark: #121316;
  --color-surface-card: #18191e;
  --color-cream: #faf8f5;
  --color-cream-card: #f4efe6;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #f9e8b2 0%, #d4af37 50%, #aa820a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #e5c365 0%, #d4af37 50%, #b89324 100%);
}

.bg-gold-subtle {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.border-gold-subtle {
  border-color: rgba(212, 175, 55, 0.25);
}

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

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Glassmorphism */
.glass-header {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(24, 25, 30, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.15);
}

/* Product Card Image Transitions */
.product-card .img-primary {
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card .img-secondary {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .img-primary {
  opacity: 0;
  transform: scale(1.05);
}

.product-card:hover .img-secondary {
  opacity: 1;
  transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0a0a0c;
}

::-webkit-scrollbar-thumb {
  background: #2a2b30;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Quick View & Cart Overlay */
.drawer-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-panel.active {
  transform: translateX(0%);
}

.modal-content {
  opacity: 0;
  transform: scale(0.96) translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-active .modal-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Toast Notification */
.toast {
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
