html,
body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fffaf5;
  overflow-x: hidden;
}

#root {
  overflow-x: hidden;
}

.font-playfair {
  font-family: 'Playfair Display', 'Times New Roman', serif;
}

.bg-mandala {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 520px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.bg-floral-left {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.bg-floral-right {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.section-with-bg {
  position: relative;
  overflow: hidden;
}

.section-content {
  position: relative;
  z-index: 10;
}

/* Base animation state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* When visible */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slight stagger helper */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hero vertical slider */
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 18s linear infinite;
  will-change: transform;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 100%;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #5b4035;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.marquee-bullet {
  margin: 0 12px;
  opacity: 0.6;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Collage cards (Catalog Highlights) */
.collage-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 15, 10, 0.12) 10%, rgba(22, 15, 10, 0.65) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.collage-card {
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.collage-card.is-swapping {
  opacity: 0;
  transform: scale(0.98);
}

.collage-overlay {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.collage-card:hover::after,
.collage-card:focus-within::after {
  opacity: 1;
}

.collage-card:hover .collage-overlay,
.collage-card:focus-within .collage-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial slider */
.testimonial-card {
  min-width: 340px;
  max-width: 340px;
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}

.testimonial-track {
  width: max-content;
  animation: scrollTestimonials 40s linear infinite;
  will-change: transform;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Snow container (if enabled) */
#snow-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* Footer icons */
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: 1.5px solid #D8A758;
  background: rgba(255, 255, 255, 0.06);
  transition: 0.25s ease;
}

.footer-icon:hover {
  transform: scale(1.12);
  box-shadow: 0 0 8px rgba(216, 167, 88, 0.6);
}

/* Category cards */
.category-card {
  cursor: pointer;
  transition: all 300ms ease;
}

.category-card.active {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

.category-card.inactive {
  opacity: 0.55;
  filter: grayscale(20%);
  transform: scale(0.98);
}

/* Non-standard opacity helpers from legacy markup */
.opacity-14 { opacity: 0.14; }
.opacity-18 { opacity: 0.18; }
.opacity-22 { opacity: 0.22; }

/* Legacy positioning helper */
.top-30px { top: 30px; }
