/* Base styles that sit outside Tailwind (carried over from the agency build). */
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #d6d3d1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a8a29e; }

/* Section anchors land below the fixed navigation bar. */
section[id] { scroll-margin-top: 4rem; }

/* Long legal titles (German "Geschäftsbedingungen") break with a hyphen
   instead of widening the page on phones. */
.hyphenate { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Shown until the page has rendered in the visitor's language. */
body.is-loading #root { min-height: 100vh; }

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

/* Hide the default disclosure triangle (Safari) on the ingredient list toggle. */
summary::-webkit-details-marker { display: none; }
