:root {
  --color-primary: #2C1810;
  --color-secondary: #4A2C20;
  --color-accent: #DC2626;
  --color-bg-light: #FEF2F2;
  --color-bg-alt: #FEE2E2;
}

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

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Button resets ─────────────────────────────────── */
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 ─────────────────────────────── */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js-anim html.js-anim [data-animate].is-visible {
  opacity: 1;
  transform: translateX(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; }

/* ── Utilities ─────────────────────────────────────── */
.rotate-180 { transform: rotate(180deg); }

/* ── Decorative Patterns ───────────────────────────── */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(220,38,38,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(220,38,38,0.04) 10px,
    rgba(220,38,38,0.04) 20px
  );
}

.decor-mesh {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(220,38,38,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(44,24,16,0.06) 0%, transparent 60%);
}

/* ── Accent Decorative Elements ────────────────────── */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  top: -100px;
  right: -100px;
  z-index: 0;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,44,32,0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  bottom: -80px;
  left: -80px;
  z-index: 0;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(220,38,38,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(220,38,38,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.12) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.decor-rings-svg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

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

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

.form-input:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.form-input.error {
  border-color: #DC2626;
  background: #FEF2F2;
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #DC2626;
  margin-top: 0.25rem;
  padding-left: 1rem;
}

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

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

/* ── Testimonial Styles ─────────────────────────────── */
.testimonial-card {
  border-left: 4px solid #DC2626;
  padding-left: 1.5rem;
}

/* ── Ingredient Card ─────────────────────────────────── */
.ingredient-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ingredient-card:hover {
  transform: translateY(-4px);
}

/* ── Benefit Icon Wrapper ─────────────────────────────── */
.benefit-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #FEE2E2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Order Form ──────────────────────────────────────── */
.order-form-wrapper {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(44,24,16,0.12);
  overflow: hidden;
}

/* ── Mobile Menu Transition ─────────────────────────── */
#mobile-menu {
  transition: all 0.3s ease;
}

/* ── Price Display ──────────────────────────────────── */
.price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.price-old {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 1rem;
}

.price-badge {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

/* ── Section Divider ───────────────────────────────── */
.section-divider {
  width: 3rem;
  height: 0.25rem;
  background: #DC2626;
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
}

/* ── FAQ Item ─────────────────────────────────────── */
.faq-answer {
  display: none;
}

.faq-answer.open {
  display: block;
}

/* ── Smooth transitions ──────────────────────────── */
a, button {
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, opacity 0.2s, transform 0.2s;
}

/* ── Custom Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #DC2626; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #b91c1c; }