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

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

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

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

/* ── Scroll Animations (only when JS activates the class) ── */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s 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 backgrounds ── */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(143,188,143,0.25) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(143,188,143,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,188,143,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(143,188,143,0.08) 10px,
    rgba(143,188,143,0.08) 20px
  );
}

.decor-mesh {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(143,188,143,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(61,74,61,0.1) 0%, transparent 50%);
}

/* Decorative blur blobs */
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::before {
  width: 400px;
  height: 400px;
  background: rgba(143,188,143,0.2);
  top: -100px;
  right: -100px;
}

.decor-gradient-blur::after {
  width: 300px;
  height: 300px;
  background: rgba(61,74,61,0.15);
  bottom: -80px;
  left: -80px;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(143,188,143,0.2), transparent 70%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at bottom left, rgba(143,188,143,0.15), transparent 70%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(143,188,143,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Intensity modifiers */
.decor-subtle   { opacity: 0.5; }
.decor-moderate { opacity: 0.75; }
.decor-bold     { opacity: 1; }

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

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

/* ── Order Form ── */
.order-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.order-form-input:focus {
  border-color: #8FBC8F;
  box-shadow: 0 0 0 3px rgba(143,188,143,0.15);
}

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

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

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

/* ── Star Rating ── */
.star-rating {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

/* ── Product Badge ── */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, #8FBC8F, #3D4A3D);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ── Trust Strip ── */
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #566556;
}

/* ── Gradient CTA ── */
.cta-gradient {
  background: linear-gradient(135deg, #8FBC8F 0%, #3D4A3D 100%);
  color: #fff;
  transition: opacity 0.2s;
}

.cta-gradient:hover {
  opacity: 0.9;
}

/* ── Card hover lift ── */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(61,74,61,0.12);
}

/* ── Ingredient image wrapper ── */
.ingredient-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.ingredient-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Section helpers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: var(--bg-alt);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ── Testimonial minimal style ── */
.testimonial-minimal {
  border-left: 4px solid #8FBC8F;
  padding-left: 1.5rem;
}

/* ── Progress bar (ingredient quality) ── */
.progress-bar-track {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8FBC8F, #3D4A3D);
  border-radius: 999px;
  transition: width 1s ease;
}

/* ── Responsive video wrapper ── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── Number step circle ── */
.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8FBC8F, #3D4A3D);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Mobile menu transition ── */
#mobile-menu {
  transition: opacity 0.2s ease;
}

#mobile-menu.is-open {
  display: block;
}

/* ── Sticky order bar (small screens) ── */
.sticky-order-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  display: none;
}

@media (max-width: 767px) {
  .sticky-order-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}