/* AUTO-GENERATED: storefront-foundation.css — do not edit by hand.
 * Sources: storefront-tokens.css, storefront-atmosphere.css, storefront-type.css
 * Rebuild: node scripts/build-storefront-css.js
 */

/* === storefront-tokens.css === */
/* Storefront design tokens — kids fashion, coral accent, warm off-white canvas */

:root {
  /* Color */
  --color-brand: #D0473E;
  --color-brand-soft: #E86B63;
  --color-brand-deep: #B33A33;
  --color-ink: #1C1412;
  --color-ink-muted: #5C534F;
  --color-ink-faint: #8A817C;
  --color-canvas: #FBF7F4;
  --color-blush: #F0E4E0;
  --color-surface: #FFFFFF;
  --color-line: #E8DDD8;
  --color-line-strong: #D4C6C0;
  --color-success: #3D6B4F;
  --color-warning: #C47A2C;
  --color-focus-ring: rgba(208, 71, 62, 0.35);

  /* Type — Gantari (Coccolebimbi): single sans for body + display */
  --font-display: "Gantari", system-ui, sans-serif;
  --font-body: "Gantari", system-ui, sans-serif;
  --font-sans: "Gantari", system-ui, sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.125rem;     /* 18px */
  --text-lg: 1.25rem;      /* 20px */
  --text-xl: 1.5rem;       /* 24px */
  --text-2xl: 2rem;        /* 32px */
  --text-3xl: 2.5rem;      /* 40px */
  --text-4xl: 3.25rem;     /* 52px */
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;
  --tracking-tight: -0.02em;
  --tracking-display: -0.015em;
  --tracking-wide: 0.04em;

  /* Spacing */
  --space-3xs: 0.125rem;   /* 2px */
  --space-2xs: 0.25rem;    /* 4px */
  --space-xs: 0.5rem;      /* 8px */
  --space-sm: 0.75rem;     /* 12px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-2xl: 3rem;       /* 48px */
  --space-3xl: 4rem;       /* 64px */
  --space-4xl: 6rem;       /* 96px */
  --container: 72rem;      /* 1152px */
  --gutter: 1.25rem;

  /* Radius */
  --radius-xs: 0.25rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(28, 20, 18, 0.04);
  --shadow-sm: 0 2px 8px rgba(28, 20, 18, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 20, 18, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 20, 18, 0.1);
  --shadow-brand: 0 8px 28px rgba(208, 71, 62, 0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 280ms;
  --duration-slow: 450ms;
}

/* === storefront-atmosphere.css === */
/* Storefront atmosphere — soft layered washes on #FBF7F4 / blush (no purple) */

body {
  background-color: var(--color-canvas, #FBF7F4);
  background-image:
    radial-gradient(ellipse 90% 55% at 8% -5%, rgba(240, 228, 224, 0.9) 0%, transparent 58%),
    radial-gradient(ellipse 70% 45% at 96% 4%, rgba(232, 214, 208, 0.55) 0%, transparent 52%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(248, 236, 230, 0.65) 0%, transparent 55%),
    linear-gradient(165deg, #FBF7F4 0%, #F7F0EC 48%, #F3E9E4 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Soft film grain — CSS-only SVG noise, very low contrast */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

body > * {
  position: relative;
  z-index: 1;
}

.main {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 252, 250, 0.55) 0%, transparent 70%),
    transparent;
}

/* Category / listing pages — softer blush wash behind the grid */
body:has(.listing) {
  background-image:
    radial-gradient(ellipse 100% 50% at 50% -8%, rgba(240, 228, 224, 0.95) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 0% 40%, rgba(248, 236, 230, 0.7) 0%, transparent 50%),
    radial-gradient(ellipse 55% 40% at 100% 55%, rgba(232, 214, 208, 0.45) 0%, transparent 48%),
    linear-gradient(180deg, #FBF7F4 0%, #F5ECE8 55%, #FBF7F4 100%);
}

.listing {
  position: relative;
}

.listing::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -1.5rem -0.5rem auto;
  height: min(28rem, 55vh);
  z-index: -1;
  border-radius: 0 0 40% 40% / 0 0 12% 12%;
  background:
    radial-gradient(ellipse 70% 80% at 30% 20%, rgba(240, 228, 224, 0.75) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(255, 248, 245, 0.8) 0%, transparent 60%),
    linear-gradient(180deg, rgba(251, 247, 244, 0.9) 0%, transparent 100%);
}

@media (prefers-reduced-transparency: reduce) {
  body::before {
    display: none;
  }

  .listing::before {
    opacity: 0.5;
  }
}

/* === storefront-type.css === */
/* Storefront type rhythm — uses storefront-tokens.css */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-ink);
}

h1,
.home-hero__headline,
.listing-title,
.cart-page > h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-3xl));
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--color-ink);
  margin: 0 0 var(--space-sm);
}

h2,
.homeProductArea h2,
.listing-sidebar__heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
  margin: 0 0 var(--space-md);
}

h3,
.listing-sidebar__sub {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-snug);
  color: var(--color-ink);
  margin: 0 0 var(--space-sm);
}

.home-hero__brand {
  font-family: var(--font-body);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
  margin: 0 0 var(--space-xs);
}

.home-hero__lead {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--color-ink-muted);
  max-width: 28rem;
  margin: 0 0 var(--space-lg);
}

.listing-empty,
.empty-cart,
.empty-inline {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-ink-muted);
}

