:root {
  --color-primary: #4A4035;
  --color-secondary: #6A5A4A;
  --color-accent: #F5E6D3;
  --color-bg-light: #FFFDFB;
  --color-bg-alt: #FDF8F3;
}

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

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background-color: var(--color-bg-light);
  color: #1a1a1a;
}

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;
}

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; }

.rotate-180 {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
}

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

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

/* ── Decorative patterns ── */
.decor-grid-dots {
  background-image: radial-gradient(circle, #4A4035 1px, transparent 1px);
  background-size: 24px 24px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    #4A4035 10px,
    #4A4035 11px
  );
}

.decor-subtle { opacity: 0.04; }
.decor-moderate { opacity: 0.08; }
.decor-bold { opacity: 0.15; }

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5E6D3 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.5;
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5E6D3 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.3;
  bottom: -80px;
  left: -80px;
  pointer-events: none;
}

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

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

.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5E6D3 0%, transparent 65%);
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

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

.star-rating .star {
  color: #D97706;
  font-size: 1rem;
}

/* ── Topbar stickiness offset ── */
#site-header {
  top: 0;
}

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

.form-input:focus {
  border-color: #4A4035;
  box-shadow: 0 0 0 3px rgba(74, 64, 53, 0.1);
}

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

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

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

/* ── Product card hover ── */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ── Ingredient card ── */
.ingredient-card {
  border: 1.5px solid #F5E6D3;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ingredient-card:hover {
  border-color: #4A4035;
  box-shadow: 0 8px 30px rgba(74, 64, 53, 0.12);
}

/* ── Testimonial quote ── */
.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: #F5E6D3;
  font-family: Georgia, serif;
  leading-trim: both;
  text-edge: cap;
}

/* ── Benefit list icon ── */
.benefit-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── CTA primary button ── */
.btn-primary {
  background-color: #4A4035;
  color: #F5E6D3;
  border-radius: 9999px;
  font-weight: 700;
  padding: 0.875rem 2rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(74, 64, 53, 0.25);
}

.btn-primary:hover {
  background-color: #6A5A4A;
  box-shadow: 0 6px 20px rgba(74, 64, 53, 0.35);
  transform: translateY(-1px);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-warm {
  background-color: #F5E6D3;
  color: #4A4035;
}

.badge-outline {
  border: 1.5px solid #4A4035;
  color: #4A4035;
}

/* ── Section backgrounds ── */
.bg-warm-light { background-color: #FDF8F3; }
.bg-warm-page  { background-color: #FFFDFB; }

/* ── Divider wave ── */
.wave-divider svg {
  display: block;
  width: 100%;
}

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

/* ── Progress step ── */
.step-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: #4A4035;
  color: #F5E6D3;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Checkbox custom ── */
.custom-checkbox {
  accent-color: #4A4035;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

/* ── Alert / notification ── */
.alert-success {
  background-color: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #166534;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
}

.alert-error {
  background-color: #FEF2F2;
  border: 1.5px solid #FECACA;
  color: #991B1B;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
}