:root {
  --background: 36 38% 96%;
  --foreground: 224 31% 14%;
  --primary: 14 86% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 174 42% 40%;
  --secondary-foreground: 0 0% 100%;
  --muted: 35 22% 88%;
  --muted-foreground: 222 14% 42%;
  --destructive: 0 76% 54%;
  --destructive-foreground: 0 0% 100%;
  --border: 32 18% 80%;
  --card: 0 0% 100%;
  --shadow-sm: 0 2px 10px hsl(224 31% 14% / 0.07);
  --shadow-md: 0 12px 30px hsl(224 31% 14% / 0.11);
  --shadow-lg: 0 24px 70px hsl(224 31% 14% / 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 226 26% 9%;
  --foreground: 35 42% 94%;
  --primary: 15 92% 62%;
  --primary-foreground: 0 0% 100%;
  --secondary: 174 46% 48%;
  --secondary-foreground: 223 30% 8%;
  --muted: 225 18% 17%;
  --muted-foreground: 36 18% 72%;
  --destructive: 0 77% 61%;
  --destructive-foreground: 0 0% 100%;
  --border: 225 16% 24%;
  --card: 226 22% 13%;
  --shadow-sm: 0 2px 10px hsl(0 0% 0% / 0.22);
  --shadow-md: 0 14px 34px hsl(0 0% 0% / 0.28);
  --shadow-lg: 0 28px 80px hsl(0 0% 0% / 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, hsl(var(--primary) / 0.18), transparent 34rem),
    radial-gradient(circle at bottom right, hsl(var(--secondary) / 0.15), transparent 30rem),
    hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, select { font: inherit; }
button, a { transition: var(--transition-smooth); }
:focus-visible { outline: 3px solid hsl(var(--primary) / 0.35); outline-offset: 3px; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-art { position: relative; overflow: hidden; }
.product-art::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle, hsl(0 0% 100% / 0.38), transparent 38%);
  transform: rotate(18deg);
}
.skeleton {
  background: linear-gradient(90deg, hsl(var(--muted)), hsl(var(--border)), hsl(var(--muted)));
  background-size: 220% 100%;
  animation: shimmer 1.15s infinite linear;
}
@keyframes shimmer { from { background-position: 220% 0; } to { background-position: -220% 0; } }