@import "tailwindcss";
@import "tw-animate-css";

@theme {
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-script: "Style Script", cursive;

  --color-background: #fffdfb;
  --color-foreground: #1a1228;
  --color-card: #ffffff;
  --color-card-foreground: #1a1228;
  --color-primary: #6d28d9;
  --color-primary-foreground: #ffffff;
  --color-secondary: #f3e8ff;
  --color-secondary-foreground: #5b21b6;
  --color-accent: #db2777;
  --color-accent-foreground: #ffffff;
  --color-muted: #f5f0fb;
  --color-muted-foreground: #6b6580;
  --color-border: #ece6f4;
  --color-ring: #6d28d9;
  --color-destructive: #dc2626;
  --color-destructive-foreground: #ffffff;
  --color-hero: #f4ecff;
  --color-sale: #fff0f6;
  --color-star: #f59e0b;
  --color-ink: #1a1228;

  --color-pastel-yellow: #fde68a;
  --color-pastel-mint: #a7f3d0;
  --color-pastel-pink: #fecdd3;
  --color-pastel-blue: #bfdbfe;
  --color-pastel-peach: #fed7aa;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius: 12px;

  --shadow-card: 0 8px 30px -12px rgb(109 40 217 / 0.12);
  --shadow-lift: 0 18px 40px -18px rgb(26 18 40 / 0.18);
  --aspect-portrait: 3 / 4;
}

@layer base {
  * {
    border-color: var(--color-border);
  }

  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
  }

  body {
    background: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    overflow-x: hidden;
  }

  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }

  h1,
  h2,
  h3,
  h4 {
    text-wrap: balance;
  }

  p {
    text-wrap: pretty;
  }
}

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

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

@utility font-script {
  font-family: var(--font-script);
}

@utility no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  &::-webkit-scrollbar {
    display: none;
  }
}

.hero-wash {
  background:
    radial-gradient(ellipse 50% 80% at 88% 50%, rgb(196 181 253 / 0.45), transparent 60%),
    radial-gradient(ellipse 40% 70% at 12% 80%, rgb(233 213 255 / 0.7), transparent 55%),
    linear-gradient(180deg, #f7f0ff 0%, #fbf7ff 55%, #ffffff 100%);
}

.sale-wash {
  background:
    radial-gradient(ellipse 50% 80% at 88% 50%, rgb(251 113 133 / 0.28), transparent 60%),
    radial-gradient(ellipse 40% 70% at 10% 80%, rgb(252 165 165 / 0.35), transparent 55%),
    linear-gradient(180deg, #fff1f6 0%, #fff7fa 60%, #ffffff 100%);
}

.paint-stroke {
  position: absolute;
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(2px);
  opacity: 0.55;
}
