/* Prime Mall — tokens comuni magazin + admin. Fundal alb, contrast mare (cerința clientului). */
:root {
  --ground: #ffffff;
  --ink: #0b0c0e;
  --ink-2: #3a3d44;          /* text secundar, contrast 10:1 pe alb */
  --surface: #f2f3f5;        /* treaptă de ton, fără linii */
  --surface-2: #e6e8ec;
  --accent: #d50f1a;         /* butoane: roșu */
  --accent-ink: #ffffff;
  --accent-press: #a90b14;
  --price: #d50f1a;
  --ok: #0a7a33;             /* în stoc */
  --warn: #b54708;           /* stoc limitat */
  --nostock: #5b5f68;
  --focus: #0b5cd5;
  --radius: 0px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
html[data-palette="albastru"] { --accent: #0b57d0; --accent-press: #0842a0; --price: #0b0c0e; --focus: #d50f1a; }
html[data-palette="negru"]    { --accent: #0b0c0e; --accent-press: #2b2d33; --price: #d50f1a; --focus: #d50f1a; }
html[data-palette="bleumarin"]{ --accent: #0a2a66; --accent-press: #071d47; --price: #d50f1a; --focus: #d50f1a; }

html { background: var(--ground); color: var(--ink); font-family: var(--font); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); }
*, *::before, *::after { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* bare de derulare în ton cu site-ul */
html { scrollbar-color: #9aa0aa var(--surface); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: #9aa0aa; border: 3px solid var(--surface); border-radius: 12px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px;
  font: 600 16px/1 var(--font); border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink);
  cursor: pointer; text-decoration: none; transition: background-color .15s ease, transform .12s ease; }
.btn:hover { background: var(--accent-press); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { background: var(--surface-2); color: var(--nostock); cursor: not-allowed; }
.btn-quiet { background: var(--surface); color: var(--ink); }
.btn-quiet:hover { background: var(--surface-2); }
