/* ==========================================================================
   Public storefront — platform tokens.
   Names are prefixed with --sf- so they can never override panel tokens.
   The tenant brand color arrives as an inline --sf-brand custom property,
   validated as a 6-digit hex by storefront.service.js.
   ========================================================================== */

:root {
  color-scheme: light;

  --sf-brand: #06603a;
  --sf-brand-contrast: #ffffff;
  --sf-bg: #f8fafc;
  --sf-surface: #ffffff;
  --sf-surface-muted: #f1f5f9;
  --sf-text: #0f172a;
  --sf-text-secondary: #334155;
  --sf-text-muted: #64748b;
  --sf-border: #dbe3ec;
  --sf-border-strong: #b9c6d4;
  --sf-danger: #991b1b;
  --sf-focus: #0f766e;

  --sf-font-sans: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sf-font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;

  --sf-radius-sm: 10px;
  --sf-radius-md: 16px;
  --sf-radius-lg: 24px;
  --sf-radius-pill: 999px;

  --sf-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05);
  --sf-shadow-md: 0 18px 40px -24px rgb(2 44 28 / 0.45);
  --sf-shadow-lg: 0 30px 70px -36px rgb(2 44 28 / 0.55);

  --sf-container: 76rem;
  --sf-gutter: 1rem;
}

@media (min-width: 640px) {
  :root {
    --sf-gutter: 1.5rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --sf-gutter: 2rem;
  }
}

.sf-body {
  background: var(--sf-bg);
  color: var(--sf-text);
  font-family: var(--sf-font-sans);
}

.sf-body ::selection {
  background: var(--sf-brand);
  color: var(--sf-brand-contrast);
}
