/*
 * THEME: the only file that holds colour values, fonts, corner radius and spacing.
 * Every other stylesheet (app.css, login.css) uses var(--tm-…) only. The web app manifest, the browser
 * theme colour and the home-screen icon read from the same values (Tagmade\Theme).
 *
 * These are Tagmade's neutral defaults. A store changes them in WooCommerce › Tagmade › Look and feel.
 * A theme can also put its own copy at yourtheme/tagmade/theme.css (it wins over the settings), or
 * change single values with the tagmade_theme_vars filter (which wins over both).
 */
:root {
  /* Colours */
  --tm-bg: #F5F5F2;            /* page background */
  --tm-surface: #FFFFFF;       /* cards, bars, inputs */
  --tm-accent-soft: #D7EAE3;   /* soft accent: icon tiles, pills, the tick */
  --tm-ai-edge: #5FA58F;       /* edge on fields the AI filled in */
  --tm-primary: #1F6B58;       /* accent: links, the back arrow, the home-screen icon */
  --tm-primary-strong: #17513F;/* text on soft accent, button hover */
  --tm-button: #1F6B58;        /* buttons */
  --tm-button-strong: #17513F; /* buttons when pressed */
  --tm-on-button: #FFFFFF;     /* text on buttons */
  --tm-on-primary: #FFFFFF;    /* the tag on the home-screen icon, ticks and the Live pill on the accent */
  --tm-on-button-tint: #FFFFFF26; /* the icon tile on the Add product button */
  --tm-knob: #FFFFFF;          /* the knob of a switch */
  --tm-secondary-soft: #F1E5D3;/* secondary pills */
  --tm-secondary: #C0843F;     /* notices */
  --tm-text: #23262B;          /* text */
  --tm-text-muted: #646A72;    /* secondary text */
  --tm-line: #E1E3E6;          /* hairlines, switches when off */
  --tm-text-faint: #A3A8AE;    /* arrows on list rows, empty-field hints */
  --tm-ok: #1F6B58;
  --tm-warn: #C0843F;
  --tm-error: #B03E2E;
  --tm-warn-text: #7A5222;     /* text on secondary pills */
  --tm-notice-bg: #FBF2E4;     /* notice */
  --tm-notice-ok-bg: #E6F2EE;  /* success notice */
  --tm-cam-bg: #24262A;        /* camera viewfinder */
  --tm-cam-bar: #1A1C1F;       /* camera controls */
  --tm-on-cam: #FFFFFF;
  --tm-on-cam-muted: #DDDDDD;
  --tm-on-cam-soft: #FFFFFFB3; /* dashed guide on the camera */
  --tm-on-cam-faint: #FFFFFF55;/* the step still to come, on the camera */
  --tm-cam-shadow: #00000099;  /* shadow behind words over the camera */
  --tm-shadow: #0000001F;      /* shadow under menus */
  --tm-photo-bg: #FFFFFF;      /* behind cleaned product photos (Pixian, Photoroom); not changed by the settings */
  --tm-mix-light: #FFFFFF;     /* what Tagmade mixes in to make tints of a colour chosen in settings */
  --tm-mix-dark: #000000;      /* … and shades */

  /* Fonts: system fonts only, nothing is downloaded. The heading font setting picks one of the stacks. */
  --tm-font-system: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tm-font-serif: Georgia, "Times New Roman", serif;
  --tm-font-rounded: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", sans-serif;
  --tm-font-slab: Rockwell, "Roboto Slab", "DejaVu Serif", Georgia, serif;
  --tm-font-humanist: Optima, Candara, "Gill Sans", "Noto Sans", sans-serif;
  --tm-font-head: var(--tm-font-system);
  --tm-font-body: var(--tm-font-system);
  --tm-font-mono: "SFMono-Regular", Consolas, monospace;

  /* Shape and spacing */
  --tm-radius: 10px;           /* corners of buttons, cards and fields */
  --tm-space: 16px;            /* page margin */
  --tm-gap: 14px;              /* space between blocks */
}
