/* Custom Scandinavian Craft Theme Utilities */
:root {
  --bg-linen: #faf7f2;
  --bg-card: #ffffff;
  --ink-charcoal: #292524;
  --ink-muted: #78716c;
  --accent-sage: #5c6b4f;
  --accent-sage-dark: #47543d;
  --accent-terracotta: #c26d4f;
  --border-warm: #e7e0d6;
}

body {
  background-color: var(--bg-linen);
  color: var(--ink-charcoal);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-tap-highlight-color: transparent;
}

.font-serif-craft {
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

/* Smooth HTMX indicator transitions */
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: inline-flex;
}

[x-cloak] {
  display: none !important;
}

/* Hide scrollbars on horizontal category strip on mobile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Gentle fade-in for modals and toast messages */
@keyframes softReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-soft-reveal {
  animation: softReveal 0.18s ease-out forwards;
}
