:root {
  --color-primary: #3D4A3D;
  --color-secondary: #566556;
  --color-accent: #8FBC8F;
  --color-bg-light: #F5FAF5;
  --color-bg-alt: #E8F5E8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
}

/* =====================
   Button Base
   ===================== */
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%;
  display: flex;
}

/* =====================
   Animations
   ===================== */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

html.js-anim [data-animate][data-delay="100"] { transition-delay: 0.1s; }
html.js-anim [data-animate][data-delay="200"] { transition-delay: 0.2s; }
html.js-anim [data-animate][data-delay="300"] { transition-delay: 0.3s; }
html.js-anim [data-animate][data-delay="400"] { transition-delay: 0.4s; }
html.js-anim [data-animate][data-delay="500"] { transition-delay: 0.5s; }

/* =====================
   Utility
   ===================== */
.rotate-180 {
  transform: rotate(180deg);
}

/* =====================
   Decorative Patterns
   ===================== */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(to right, var(--color-accent) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-accent) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    var(--color-accent),
    var(--color-accent) 1px,
    transparent 1px,
    transparent 12px
  );
}

.decor-mesh {
  background-image:
    radial-gradient(ellipse at 20% 50%, var(--color-accent) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--color-secondary) 0%, transparent 50%);
}

/* Intensity modifiers */
.decor-subtle  { opacity: 0.05; }
.decor-moderate { opacity: 0.08; }
.decor-bold    { opacity: 0.15; }

/* Accent blobs */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  opacity: 0.12;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at top right, var(--color-accent), transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at bottom left, var(--color-accent), transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--color-accent), transparent 65%);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* =====================
   Custom bg colors
   ===================== */
.bg-light { background-color: var(--color-bg-light); }
.bg-alt   { background-color: var(--color-bg-alt); }

/* =====================
   Slider / Testimonials
   ===================== */
.testimonial-slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

/* =====================
   Star Rating
   ===================== */
.star-filled  { color: #f59e0b; }
.star-empty   { color: #d1d5db; }

/* =====================
   Form Styles
   ===================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.2);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.35rem;
}

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* =====================
   FAQ Accordion
   ===================== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

/* =====================
   Order Form
   ===================== */
#order_form {
  scroll-margin-top: 6rem;
}

/* =====================
   Mobile Menu
   ===================== */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 500px;
}

/* =====================
   Responsive helpers
   ===================== */
@media (max-width: 640px) {
  .testimonial-slide {
    padding: 0;
  }
}

/* =====================
   Misc
   ===================== */
.badge-bestseller {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.price-tag {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.price-tag-sm {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Accent color helpers */
.text-accent  { color: var(--color-accent); }
.bg-accent    { background-color: var(--color-accent); }
.border-accent { border-color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.bg-primary   { background-color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.bg-secondary  { background-color: var(--color-secondary); }

/* Shadow accent utility */
.shadow-accent\/30 { --tw-shadow-color: rgba(143,188,143,0.3); }
.shadow-accent\/40 { --tw-shadow-color: rgba(143,188,143,0.4); }