/* ============================================================
   SOLEIL THEME — Design Tokens
   Color values are overridden at runtime by layout.jinja
   from the store owner's theme settings (color pickers).
   Values here are fallback defaults only.
   ============================================================ */

:root {
  /* --- Colors (overridden by settings in layout.jinja) --- */
  --bg:            #efefef;
  --surface:       #ffffff;
  --surface-2:     #f7f7f7;
  --header-bg:     #ffffff;
  --footer-bg:     #ffffff;
  --accent:        #1c1c1c;
  --accent-hover:  #000000;
  --btn-bg:        #1c1c1c;
  --btn-text:      #ffffff;
  --text:          #1c1c1c;
  --text-muted:    #707070;
  --border:        #dddddd;

  /* Overlay text — always white on dark photo backgrounds */
  --text-on-overlay: #ffffff;

  /* --- Typography (overridden by settings in layout.jinja) --- */
  --font-heading: 'Instrument Sans', system-ui, sans-serif;
  --font-body:    'Nunito', system-ui, -apple-system, sans-serif;

  /* --- Border Radius --- */
  --radius-sm:   0;
  --radius-md:   0;
  --radius-lg:   0;
  --radius-xl:   0;

  /* --- Spacing --- */
  --space-xs:    4px;
  --space-sm:    8px;
  --space-md:    16px;
  --space-lg:    24px;
  --space-xl:    40px;
  --space-2xl:   64px;
  --space-3xl:   96px;

  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow:   600ms ease;

  /* --- Shadows --- */
  --shadow-sm:  0 2px 8px rgb(0 0 0 / .05);
  --shadow-md:  0 5px 15px rgb(0 0 0 / .05);
  --shadow-lg:  0 5px 30px rgb(0 0 0 / .08);

  /* --- Layout --- */
  --container-max: 1440px;
  --container-pad: clamp(16px, 4vw, 80px);
  --header-height: 75px;

  /* --- Soleil additions (see .claude/docs/DESIGN_SPEC.md) --- */
  --sale:             #e32c2b;
  --badge-bg:         #efefef;
  --badge-text:       rgb(0 0 0 / .65);
  --overlay:          rgb(0 0 0 / .4);
  --heading-tracking: .18em;
  --heading-transform: uppercase;
  --btn-tracking:     .18em;
  --section-spacing:  3rem;             /* 48px mobile */
  --section-gap:      2.5rem;           /* heading block -> content */
  --container-xs:     680px;
  --container-sm:     980px;
  --container-md:     1150px;
  --container-lg:     1260px;
  --container-xl:     1360px;
  --text-xs:   .75rem;
  --text-sm:   .8125rem;
  --text-base: .875rem;
  --text-h1: clamp(1.375rem, 1.146rem + .976vw, 2rem);
  --text-h2: clamp(1.25rem, 1.067rem + .78vw, 1.75rem);
  --text-h3: clamp(1.125rem, 1.034rem + .39vw, 1.375rem);
  --text-h4: clamp(1rem, .954rem + .195vw, 1.125rem);
  --text-h5: .875rem;
  --text-h6: .75rem;
}
