/* Rattil shared tokens. Scoped to custom widgets; never override Astra or Elementor globally. */
.elementor-widget[class*="elementor-widget-rattil_"],
.rattil-widget {
  --rattil-primary: var(--e-global-color-primary, var(--ast-global-color-0, #344054));
  --rattil-secondary: var(--e-global-color-secondary, var(--ast-global-color-1, #475467));
  --rattil-accent: var(--e-global-color-accent, var(--ast-global-color-0, #344054));
  --rattil-text: var(--e-global-color-text, var(--ast-global-color-3, #344054));
  --rattil-heading: var(--e-global-color-secondary, var(--ast-global-color-2, #101828));
  --rattil-surface: var(--ast-global-color-5, #fff);
  --rattil-surface-muted: var(--ast-global-color-4, #f8fafc);
  --rattil-border: var(--ast-global-color-6, #e4e7ec);
  --rattil-on-primary: #fff;
  --rattil-font-heading: var(--e-global-typography-primary-font-family);
  --rattil-font-body: var(--e-global-typography-text-font-family);
  --rattil-weight-heading: var(--e-global-typography-primary-font-weight, 700);
  --rattil-weight-body: var(--e-global-typography-text-font-weight, 400);
  --rattil-radius-sm: 8px;
  --rattil-radius-md: 16px;
  --rattil-radius-lg: 24px;
  --rattil-space-1: 4px;
  --rattil-space-2: 8px;
  --rattil-space-3: 12px;
  --rattil-space-4: 16px;
  --rattil-space-5: 24px;
  --rattil-space-6: 32px;
  --rattil-space-7: 48px;
  --rattil-shadow-sm: 0 2px 8px rgb(0 0 0 / 6%);
  --rattil-shadow-md: 0 8px 28px rgb(0 0 0 / 9%);
  --rattil-transition: 200ms ease;
}
/* Opt-in primitives: only elements explicitly marked by a Rattil widget. */
.rattil-widget .rattil-heading { color: var(--rattil-heading); font-family: var(--rattil-font-heading, inherit); font-weight: var(--rattil-weight-heading); }
.rattil-widget .rattil-copy { color: var(--rattil-text); font-family: var(--rattil-font-body, inherit); font-weight: var(--rattil-weight-body); }
.rattil-widget .rattil-card { background: var(--rattil-surface); border: 1px solid var(--rattil-border); border-radius: var(--rattil-radius-md); }
.rattil-widget .rattil-focus:focus-visible { outline: 2px solid var(--rattil-primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .elementor-widget[class*="elementor-widget-rattil_"], .rattil-widget { --rattil-transition: 0ms; }
}
