/* Design tokens. Every visual decision of the store lives here so the admin panel can
   override them at runtime (config.json → theme, applied by js/theme.js). */
:root {
  /* Color */
  /* Briel: ciruela del logo (texto), malva (botones), rosa empolvado (acento) y crema (fondo) */
  --c-bg: #f8f1ec;
  --c-bg-soft: #f2e8e5;
  --c-surface: #ffffff;
  --c-ink: #2f1a22;
  --c-ink-soft: #6b5b5f;
  --c-muted: #8f8183;
  --c-border: #e8e0dc;
  --c-primary: #7a4458;
  --c-primary-strong: #66394a;
  --c-primary-soft: #efe9eb;
  --c-on-primary: #ffffff;
  --c-accent: #e2b6c1;
  --c-accent-soft: #faf2f4;
  --c-success: #1f8f63;
  --c-success-soft: #e3f5ec;
  --c-warning: #b7700f;
  --c-warning-soft: #fdf1dc;
  --c-danger: #c62f3d;

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --fs-hero: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem);

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Depth: layered shadows tinted with the ink color */
  --shadow-1: 0 1px 2px rgb(47 26 34 / 0.05), 0 2px 8px rgb(47 26 34 / 0.06);
  --shadow-2: 0 2px 6px rgb(47 26 34 / 0.06), 0 12px 28px rgb(47 26 34 / 0.10);
  --shadow-3: 0 6px 16px rgb(47 26 34 / 0.08), 0 24px 56px rgb(47 26 34 / 0.16);
  --shadow-primary: 0 6px 18px rgb(122 68 88 / 0.32);
  --ring: 0 0 0 3px rgb(122 68 88 / 0.28);

  /* Layout & motion */
  --container: 1200px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
}
