/* Afiam's look on store.afiam.app, over the shared stylesheet (css/app.css; loaded by templates/afiam/base.html).
   Unlayered on purpose: plain rules beat everything in Tailwind's @layer theme and components, so no rebuild
   is needed. css/app.css keeps var() references to the brand colours, so redefining them re-colours every page. */

html[data-brand=afiam]{--color-brand-50:#F0FDF9;--color-brand-100:#E8F9F3;--color-brand-200:#C0F4E1;--color-brand-300:#80E8C2;--color-brand-400:#00D084;--color-brand-500:#00B872;--color-brand-600:#00A86B;--color-brand-700:#0B7D4E;--color-brand-800:#12623E;--color-brand-900:#144E32;--color-brand-950:#092C1B}

/* Primary buttons are charcoal, as in the Afiam app: white on Afiam green is too faint to read (about 2:1).
   Dark mode follows the device until the header toggle sets <html data-theme> (static/js/theme.js). */
html[data-brand=afiam] .btn-primary{background:#1A1A1A;color:#fff}
html[data-brand=afiam] .btn-primary:hover{background:#2A2A2A}
html[data-brand=afiam] .btn-primary:active{background:#000}
html[data-brand=afiam][data-theme=dark] .btn-primary{background:#fff;color:#1A1A1A}
html[data-brand=afiam][data-theme=dark] .btn-primary:hover{background:#E5E5E5}
@media (prefers-color-scheme: dark){
  html[data-brand=afiam]:not([data-theme]) .btn-primary{background:#fff;color:#1A1A1A}
  html[data-brand=afiam]:not([data-theme]) .btn-primary:hover{background:#E5E5E5}
}
