:root {
  --color-primary: #1A1A2E;
  --color-secondary: #2D2D44;
  --color-accent: #FF6B35;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Outfit', system-ui, sans-serif; }

/* Focus rings */
:where(a, button, input, textarea, select):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.35);
  border-radius: 0.75rem;
}

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Premium subtle grain */
.bg-grain {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.10), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(45, 45, 68, 0.18), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(255, 237, 213, 0.35), transparent 45%);
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rotate-180 { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Mobile menu animation */
#mobile-menu {
  transform-origin: top;
}

#mobile-menu.is-open {
  display: block !important;
  animation: menuDrop 180ms ease-out;
}

@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slider helpers (testimonials) */
.slider {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slide {
  scroll-snap-align: start;
}

input::placeholder { opacity: 0.85; }

/* Toast */
#toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  max-width: 24rem;
}