/* Chicmontessa — Motion */

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

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

@keyframes softReveal {
  from {
    opacity: 0;
    clip-path: inset(8% 0 8% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes shimmerLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.page-enter {
  animation: fadeIn 0.55s var(--ease);
}

.hero-slide.is-active .hero-content > * {
  animation: fadeUp 0.85s var(--ease) both;
}

.hero-slide.is-active .hero-content .eyebrow { animation-delay: 0.08s; }
.hero-slide.is-active .hero-content h1 { animation-delay: 0.16s; }
.hero-slide.is-active .hero-content p { animation-delay: 0.26s; }
.hero-slide.is-active .hero-content .btn { animation-delay: 0.36s; }

.page-banner-content > * {
  animation: fadeUp 0.85s var(--ease) both;
}

.page-banner-content .eyebrow { animation-delay: 0.08s; }
.page-banner-content h1 { animation-delay: 0.18s; }
.page-banner-content p { animation-delay: 0.28s; }

.product-card,
.blog-card,
.editorial-card {
  transition: transform 0.45s var(--ease);
}

.btn,
.icon-btn,
.size-options button,
.category-chip,
.gallery-thumbs button {
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    opacity 0.35s var(--ease);
}

.btn:active,
.icon-btn:active,
.category-chip:active {
  transform: scale(0.98);
}

.overlay {
  will-change: opacity;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
