/* Nutrice Distributor — Editorial Craft Creamery Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=Fraunces:ital,opsz,wght@0,9..144,500..800;1,9..144,500..700&display=swap');

:root {
  --bg-ivory: #FAF6EE;
  --bg-paper: #F2EBE0;
  --ink-mulberry: #2A0B3B;
  --ink-mulberry-deep: #1B0626;
  --accent-saffron: #E59A00;
  --accent-saffron-hover: #CC8800;
  --text-charcoal: #1B1917;
  --text-muted: #57534E;
  --border-hairline: #E4DDD1;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-ivory);
  color: var(--text-charcoal);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-heading {
  font-family: 'Fraunces', Georgia, serif;
}

.font-body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Subtle editorial rule & surface utilities */
.editorial-border {
  border-color: var(--border-hairline);
}

/* Range Slider Styling for Financial Ledger */
input[type="range"].ledger-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  outline: none;
  accent-color: #E59A00;
}

input[type="range"].ledger-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E59A00;
  border: 3px solid #FAF6EE;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

input[type="range"].ledger-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

input[type="range"].ledger-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E59A00;
  border: 3px solid #FAF6EE;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Filter tab active state */
.menu-tab-btn.is-active {
  background-color: var(--ink-mulberry);
  color: #FAF6EE;
  border-color: var(--ink-mulberry);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #FAF6EE;
}
::-webkit-scrollbar-thumb {
  background: #2A0B3B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1B0626;
}
