/* Savona Foodservice theme */
:root {
  /* Brand primary — Savona's gold, not the wordmark ink (Mike, 2026-09-15).
     REVERSES the previous split, which kept --primary as the ink (#1d1d1b)
     and confined the gold to --add-button alone. Do not "fix" it back — this
     matches the Woods model on purpose: one token carrying the brand colour
     everywhere (text, buttons, rings) rather than surface-only.

     FLAGGED, NOT SILENT: gold as text on white (text-primary) is 2.95:1,
     under the 4.5:1 AA floor — the near-black it replaces cleared AA
     comfortably. White text ON the gold (buttons) is 1.96:1, also under AA;
     near-black text there was 8.79:1. Both accepted by explicit decision
     (Mike, 2026-09-15) for parity with woods.css and creed.css, which take
     the same trade for their own golds/oranges — brand fidelity over the
     contrast floor.

     --add-button/-foreground and --basket-background/-foreground are no
     longer set here: all four default to this --primary/--primary-foreground
     pair in globals.css, so the Add-to-basket CTA and the mini-cart qty badge
     follow automatically — the "no second token to set" woods.css documents. */
  --primary: #c8b47f;
  --primary-foreground: oklch(1 0 0);
  --ring: #c8b47f;

  /* The gold of their fork device, taken from the logo artwork's own fill.
     (`tenants.primary_colour` in the database says #AB904B, a deeper gold —
     the artwork is the source of truth here, as it is for the logo itself.)
     Same value as --primary above now, kept as its own token because it has
     its own separate reach (the page-builder --palette-* derivation), not a
     second copy of --primary to keep in step. */
  --brand-accent: #c8b47f;

  /* The "savona" wordmark plus its fork device is ~2.7:1. 1.75rem (the
     legibility floor) rendered it 75px wide; 2.25rem (Mike, 2026-09-15) gives
     it more presence — 97px wide, leaving 18px of clearance either side in
     the 72px default header row, so no --store-header-height-desktop bump is
     needed. */
  --store-logo-height: 2.25rem;

  /* Utility strip — near-black, the same ink --primary used to carry before
     it moved onto the gold (Mike, 2026-09-15). No --top-bar-accent override:
     it defaults to var(--primary), which is this same gold, so restating the
     hex here would just be a second copy to keep in step. The strip's own
     link text stays neutral so the gold accent is the only thing that lifts.
     No --top-bar-rule override either: the strip and the white header below
     it are left as two distinct bands, not divided by a line. */
  --top-bar: #1d1d1b;
  --top-bar-foreground: oklch(0.72 0 0);
  --top-bar-foreground-strong: oklch(1 0 0);

  /* Search pill — transparent fill, border kept (Mike, 2026-09-15). The
     creed/total/KitWave treatment: the field reads as a white-on-white pill
     bounded by its resting --input border rather than a grey trough.
     --search-field-border is left unset, so it keeps the platform default
     (var(--input)). */
  --search-field: transparent;
}

.dark {
  /* Storefront currently forces light mode; kept for parity with the other
     tenant themes. Derived from the gold now, not the ink it used to track —
     same `oklch(from … 0.72 c h)` shape the other themes use.

     --primary-foreground stays near-black here, NOT mirrored to white — same
     call woods.css makes for the same reason: the dark-mode primary is
     lightened to L 0.72, so white on it is worse than on the light-mode gold
     while near-black is comfortable. Parity housekeeping, not a live surface
     while the storefront forces light mode. */
  --primary: oklch(from #c8b47f 0.72 c h);
  --primary-foreground: oklch(0.204 0 0);
  --ring: oklch(from #c8b47f 0.72 c h);
}
