:root {
  --color-primary: #3D2914;
  --color-secondary: #5C4020;
  --color-accent: #FF8C00;
  --color-bg-light: #FFFBF0;
  --color-bg-alt: #FEF0C7;
}

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

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  background-color: #ffffff;
  color: #111827;
}

/* ── 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;
}

/* ── Scroll animations (gated: only active when JS adds .js-anim) ── */
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);
}

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

/* ── Decorative backgrounds ── */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(61,41,20,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(61,41,20,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,41,20,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,140,0,0.05) 10px,
    rgba(255,140,0,0.05) 11px
  );
}

.decor-mesh {
  background-image:
    radial-gradient(at 20% 30%, rgba(255,140,0,0.12) 0px, transparent 60%),
    radial-gradient(at 80% 70%, rgba(61,41,20,0.10) 0px, transparent 60%);
}

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

.decor-gradient-blur::before {
  width: 400px;
  height: 400px;
  background: rgba(255,140,0,0.15);
  top: -100px;
  right: -100px;
}

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

/* Corner accents */
.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(255,140,0,0.18), transparent 70%);
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at bottom left, rgba(61,41,20,0.12), transparent 70%);
  pointer-events: none;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255,140,0,0.20) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

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

/* ── Star rating ── */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #FF8C00;
}

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

/* ── Order form focus ── */
.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.15);
}

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

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(61,41,20,0.12);
}

/* ── Trust badge strip ── */
.trust-strip {
  background: linear-gradient(135deg, #FFFBF0 0%, #FEF0C7 100%);
  border-top: 1px solid rgba(255,140,0,0.2);
  border-bottom: 1px solid rgba(255,140,0,0.2);
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #FF8C00 0%, #3D2914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section bg helpers ── */
.bg-brand-light { background-color: #FFFBF0; }
.bg-brand-alt   { background-color: #FEF0C7; }

/* ── Responsive image ── */
img {
  max-width: 100%;
  height: auto;
}

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

/* ── Price display ── */
.price-old {
  text-decoration: line-through;
  color: #9ca3af;
}

.price-badge {
  background: linear-gradient(135deg, #FF8C00, #3D2914);
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
}

/* ── Ingredient card ── */
.ingredient-card {
  border: 1px solid rgba(255,140,0,0.2);
  background: linear-gradient(135deg, #FFFBF0 0%, #ffffff 100%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ingredient-card:hover {
  border-color: rgba(255,140,0,0.5);
  transform: translateY(-2px);
}

/* ── Testimonial quote ── */
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: rgba(255,140,0,0.2);
  font-family: Georgia, serif;
}

/* ── Scrollbar (webkit) ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }