:root {
  --bg: #F8F5EE;
  --surface: #FFFFFF;
  --surface-2: #FDFBF6;
  --surface-3: #F6F1E6;
  --line: #EEE6D5;
  --line-2: #E2D5B8;
  --row-line: #F3EDE1;

  --text: #221D15;
  --text-2: #5F5646;
  --text-3: #766B5B;

  --gold-900: #5C430C;
  --gold-800: #765712;
  --gold-700: #8F6B1F;
  --gold-600: #A8822E;
  --gold-500: #C4A04A;
  --gold-400: #D9BC6E;
  --gold-300: #E9D59F;
  --gold-200: #F3E7C4;
  --gold-100: #FAF3E0;
  --gold-50: #FDF9EF;

  --metal: linear-gradient(90deg, #8A6619 0%, #C7A247 30%, #EED9A0 50%, #C7A247 70%, #8A6619 100%);
  --metal-text: linear-gradient(180deg, #A07A27 0%, #6F510F 100%);
  --btn-gold: linear-gradient(180deg, #936E20 0%, #735510 100%);
  --btn-gold-hover: linear-gradient(180deg, #9E7825 0%, #7C5D13 100%);

  --red: #B3261E;
  --red-700: #8E1C16;
  --red-50: #FCEDEB;
  --red-line: #F0C9C4;

  --radius-s: 8px;
  --radius: 10px;
  --radius-l: 12px;

  --shadow-1: 0 1px 2px rgba(70, 52, 12, .05);
  --shadow-2: 0 1px 2px rgba(70, 52, 12, .05), 0 8px 24px rgba(70, 52, 12, .06);
  --shadow-3: 0 24px 64px rgba(40, 29, 6, .20), 0 2px 8px rgba(40, 29, 6, .08);
  --ring: 0 0 0 3px rgba(196, 160, 74, .28);

  --font: "ZarixLatin", "Kalameh", Tahoma, sans-serif;
  --side-w: 272px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }

[hidden] { display: none !important; }

.ico { width: 20px; height: 20px; flex: none; }

.num {
  font-family: "ZarixLatin", "Kalameh", sans-serif;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

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

.muted { color: var(--text-3); }

::selection { background: var(--gold-200); color: var(--gold-900); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 2px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #E3D7BC; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #D2BF93; }

body.has-modal { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
