/* Hơ Mông — Base */
:root {
  --red: #9b1c31;
  --red-dark: #7a1526;
  --indigo: #1e3a5f;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --purple-950: #2e1065;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;
  --white: #fff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --header-h: 80px;
  --catnav-h: 108px;
  --announce-h: 36px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; font-weight: 700; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: 999px; transition: var(--transition);
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--lg { padding: 16px 36px; font-size: 0.9375rem; }
.btn--sm { padding: 8px 16px; font-size: 0.75rem; }

.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  padding: 14px 24px; background: var(--gray-900); color: var(--white);
  border-radius: var(--radius); opacity: 0; transform: translateY(12px);
  transition: var(--transition); pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast--error { background: var(--red); }

.badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--red); color: var(--white);
  font-size: 0.625rem; font-weight: 700; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
