/* Nora E-commerce - Optimized Minimal CSS */
/* This file is intentionally minimal for fast loading */

/* Design Tokens */
:root {
  --primary: #fae6d1;
  --primary-hover: #f7dcc0;
  --secondary: #f3ede7;
  --bg: #fcfaf8;
  --text: #1b150e;
  --text-muted: #97744e;
  --border: #e7dcd0;
  --white: #fff;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Transitions */
a, button, input, select, textarea {
  transition: all var(--transition);
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Image Optimization */
img {
  content-visibility: auto;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--secondary) 25%, var(--border) 50%, var(--secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Optimized Animations */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Scrollbar styling for image gallery */
.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: var(--secondary);
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: var(--text);
}
