  /* Custom styles for Clothed With Righteousness Shop */

  html {
    scroll-behavior: smooth;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Reveal animations — progressive enhancement via prefers-reduced-motion */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

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

    .reveal[style*="transition-delay"] {
      transition-delay: var(--delay, 0ms);
    }
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #111827;
  }
  ::-webkit-scrollbar-thumb {
    background: #841d36;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #a11a3c;
  }

  /* Selection color */
  ::selection {
    background: rgba(132, 29, 54, 0.3);
    color: inherit;
  }

  /* Focus styles */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #dc4466;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Image loading placeholder */
  img {
    background-color: #f5f5f5;
  }

  /* Smooth image transitions */
  .rounded-2xl img {
    display: block;
  }
