/* ============================================================
   Livoo — Spacing, radius, shadow, layout, motion tokens
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* ---- Radius ---- */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;   /* buttons, inputs, search bar */
  --radius-lg:   14px;   /* product cards, tiles */
  --radius-xl:   20px;   /* large panels, delivery box */
  --radius-2xl:  28px;
  --radius-pill: 999px;  /* "Todo" nav pill, Ver más pills */
  --radius-circle: 50%;  /* category circles, avatars */

  /* ---- Shadows (soft, neutral — no colored glows) ---- */
  --shadow-xs:   0 1px 2px rgba(26, 26, 28, 0.05);
  --shadow-sm:   0 1px 3px rgba(26, 26, 28, 0.07), 0 1px 2px rgba(26, 26, 28, 0.04);
  --shadow-card: 0 6px 18px rgba(26, 26, 28, 0.07);
  --shadow-md:   0 10px 28px rgba(26, 26, 28, 0.10);
  --shadow-lg:   0 18px 44px rgba(26, 26, 28, 0.14);
  --shadow-focus: var(--focus-ring);

  /* Subtle inset used on image plates */
  --shadow-inset: inset 0 0 0 1px rgba(26, 26, 28, 0.04);

  /* ---- Layout ---- */ /* @kind other */
  --container-max: 1200px;
  --header-h:      64px;
  --subnav-h:      48px;
  --gutter:        20px;

  /* ---- Motion ---- */ /* @kind other */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:   120ms;
  --dur-base:   200ms;
  --dur-slow:   320ms;

  /* ---- Z-index ---- */ /* @kind other */
  --z-header:  100;
  --z-overlay: 500;
  --z-modal:   600;
  --z-toast:   700;
}
