:root {
  --color-primary: #1F2937;
  --color-secondary: #374151;
  --color-accent: #64748B;
  --color-bg-light: #F8FAFC;
  --color-bg-alt: #F1F5F9;
}

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

body {
  font-family: 'DM Sans', 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%;
}

/* ─── Scroll animations ─── */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

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

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

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

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(100,116,139,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,116,139,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.decor-mesh {
  background-image:
    radial-gradient(at 20% 30%, rgba(100,116,139,0.12) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(31,41,55,0.08) 0px, transparent 50%);
}

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

/* ─── Glow / blob decorations ─── */
.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: radial-gradient(circle, rgba(100,116,139,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.decor-gradient-blur::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(31,41,55,0.12) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(100,116,139,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(100,116,139,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(100,116,139,0.14) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

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

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

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

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

.form-input:focus {
  border-color: #64748B;
}

.form-input.error {
  border-color: #EF4444;
}

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

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

/* ─── Order form ─── */
.order-form-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1.5px solid #F1F5F9;
}

/* ─── Trust badges ─── */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6B7280;
}

/* ─── Ingredient cards ─── */
.ingredient-card {
  background: #F8FAFC;
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

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

/* ─── Testimonial quote marks ─── */
.testimonial-quote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  vertical-align: -2rem;
  color: #E5E7EB;
  font-family: Georgia, serif;
  margin-right: 0.25rem;
}

/* ─── Section transition helper ─── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
  margin: 0 auto;
  max-width: 60%;
}

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

/* ─── Responsive product image ─── */
.product-img-wrap {
  position: relative;
  z-index: 1;
}

.product-img-wrap img {
  filter: drop-shadow(0 20px 40px rgba(31,41,55,0.12));
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }