/* Billie's Smash Burger — design system commun (site + dashboard) */

:root {
  --red: #d6002f;
  --red-dark: #b80028;
  --ink: #111;
  --paper: #fff;
  --tint: #fbeff1;
  --muted: #4a4a4a;
  --soft: #777;
  --line: #e3e3e3;
  --green: #06c167;
  --amber: #ff9500;
  --blue: #2f6bff;
  --shadow: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  text-wrap: pretty;
}

a { color: var(--red); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
img { max-width: 100%; }

.nb::-webkit-scrollbar { display: none; }
.nb { scrollbar-width: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@keyframes pop { from { transform: translateY(18px) scale(.98); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes slide { from { transform: translateX(100%) } to { transform: none } }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- primitives --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  padding: 12px 16px; font-weight: 900; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; transition: transform .08s ease, background .12s ease;
}
.btn:active { transform: translate(2px, 2px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--ghost:hover { background: #f1f1f1; }
.btn--shadow { box-shadow: 5px 5px 0 var(--ink); }
.btn--shadow:active { box-shadow: 2px 2px 0 var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 7px; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  border: 2px solid var(--ink); padding: 13px; font-weight: 700; font-size: 16px;
  letter-spacing: 0; text-transform: none; background: #fff; border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--red); outline-offset: -1px; }
.field textarea { resize: vertical; }
.field .hint { font-weight: 700; font-size: 11px; letter-spacing: .02em; text-transform: none; color: var(--soft); }
.field .err { font-weight: 800; font-size: 11.5px; letter-spacing: .02em; text-transform: none; color: var(--red); }

.chip {
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  padding: 11px 15px; font-weight: 800; font-size: 13px;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.card { border: 2px solid var(--ink); background: #fff; }
.card--shadow { box-shadow: 8px 8px 0 var(--ink); }
.card--shadow-red { box-shadow: 8px 8px 0 var(--red); }
