@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap');

:root {
  --bg-primary: #F8F7F4;
  --bg-secondary: #EFECE6;
  --text-dark: #141414;
  --text-muted: #5A5852;
  --denim-indigo: #1E2D40;
  --denim-light: #7A97B8;
  --brand-copper: #9C5A25;
  --brand-copper-hover: #7F4619;
  --border-subtle: rgba(20, 20, 20, 0.1);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-dark);
  overflow-x: hidden;
}

.font-display {
  font-family: 'Syne', sans-serif;
}

.font-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

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

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

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

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

/* Product Card Hover Image Swap */
.product-card .img-secondary {
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.product-card .img-primary {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .img-primary {
  transform: scale(1.04);
}

/* Lookbook Hotspot Pulse */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(156, 90, 37, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(156, 90, 37, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(156, 90, 37, 0);
  }
}

.hotspot-dot {
  animation: pulse-ring 2s infinite;
}

/* Custom Range Slider */
input[type="range"].denimo-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #DCD8D0;
  border-radius: 999px;
  outline: none;
}

input[type="range"].denimo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-copper);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

input[type="range"].denimo-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

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

::-webkit-scrollbar-track {
  background: #F1EFEA;
}

::-webkit-scrollbar-thumb {
  background: #C5C0B7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9C5A25;
}

/* Bundle Card Active State */
.bundle-tier-card {
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.bundle-tier-card.active {
  border-color: #9C5A25;
  background-color: #FFFDFB;
  box-shadow: 0 12px 30px -10px rgba(156, 90, 37, 0.22);
}

/* Subtle Grain Texture Overlay */
.bg-denim-gradient {
  background: linear-gradient(135deg, #162231 0%, #24374D 55%, #1A2838 100%);
}
