/* ======================================================================
   Per-store CSS template — epic (storebuilder/6301/epic)
   ----------------------------------------------------------------------
   IMPORTANT: this file does NOT define the :root --fws-* variables.
   The Framework engine injects them at render time —
   BasePage.DumpClientSideCSSSVariables() emits
     <style>:root{ --{token}:#{hex}; ... --fws-font-family:... }</style>
   from design.colours + design.font (tokens: fws-primary, fws-primary-alt,
   fws-secondary, fws-secondary-alt, fws-surface, fws-text, fws-text-muted,
   fws-border). Duplicating them here would be redundant and wrong.

   This file's only job: NO CSS gradient background. Flat --fws-surface
   (from style.css / the engine), or the user-selected background image
   when one is set. / are Store MS tokens
   (design.background); they resolve empty when no image is selected, so
   the declaration drops and the flat surface shows.
   ====================================================================== */

body{
  background-color: var(--fws-surface, #ffffff);
  background: ;
  background-size: ;
}

/* ======================================================================
   Framed theme (Round 13, 2026-08-08). Two tokens drive this, both riding
   design.colours per store:
     --fws-frame    (colour) - frame colour; absent => transparent => no frame
     --fws-frame-w  (length) - frame width;  absent => 0 => no frame, no padding
   Non-colour tokens require the BasePage raw-emission change (08b960d1).
   For every store without the tokens these rules are a strict no-op.
   ====================================================================== */
body::after{
  content: "";
  position: fixed;
  inset: 0;
  border: var(--fws-frame-w, 0) solid var(--fws-frame, transparent);
  pointer-events: none;
  z-index: 99999;
}
body{
  padding-top: var(--fws-frame-w, 0);
  padding-bottom: var(--fws-frame-w, 0);
}
