:root {
  --background: 38 31% 96%;
  --foreground: 24 18% 10%;
  --primary: 18 72% 44%;
  --primary-foreground: 36 45% 97%;
  --secondary: 33 28% 86%;
  --secondary-foreground: 24 18% 10%;
  --muted: 34 22% 90%;
  --muted-foreground: 25 10% 42%;
  --destructive: 0 76% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 32 18% 78%;
  --card: 40 36% 98%;
  --card-foreground: 24 18% 10%;
  --shadow-sm: 0 8px 20px rgba(42, 31, 23, 0.08);
  --shadow-md: 0 18px 45px rgba(42, 31, 23, 0.12);
  --shadow-lg: 0 35px 90px rgba(42, 31, 23, 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 320ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}
.dark {
  --background: 24 18% 8%;
  --foreground: 36 45% 94%;
  --primary: 24 84% 62%;
  --primary-foreground: 24 18% 8%;
  --secondary: 24 16% 16%;
  --secondary-foreground: 36 45% 94%;
  --muted: 24 14% 18%;
  --muted-foreground: 34 18% 68%;
  --destructive: 0 72% 58%;
  --destructive-foreground: 0 0% 100%;
  --border: 24 12% 24%;
  --card: 24 18% 11%;
  --card-foreground: 36 45% 94%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea, select { font: inherit; }
.hero-grain {
  background:
    radial-gradient(circle at 20% 10%, rgba(190, 92, 38, .23), transparent 35%),
    radial-gradient(circle at 90% 5%, rgba(214, 181, 122, .32), transparent 31%),
    linear-gradient(135deg, hsl(var(--card)), hsl(var(--secondary)));
}
.fashion-card {
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}
.fashion-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.glass {
  background: color-mix(in srgb, hsl(var(--card)) 78%, transparent);
  backdrop-filter: blur(18px);
}
.focus-ring:focus { outline: 3px solid hsl(var(--primary) / .28); outline-offset: 2px; }
.preview-figure {
  background:
    radial-gradient(circle at 50% 22%, hsl(var(--primary) / .26), transparent 18%),
    linear-gradient(180deg, hsl(var(--secondary)), hsl(var(--card)));
}
.skeleton {
  background: linear-gradient(90deg, hsl(var(--muted)), hsl(var(--secondary)), hsl(var(--muted)));
  background-size: 220% 100%;
  animation: shimmer 1.35s infinite;
}
@keyframes shimmer { 0% { background-position: 220% 0; } 100% { background-position: -220% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.floaty { animation: float 4s ease-in-out infinite; }
