:root {
  --color-primary: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-accent: #D4AF37;
  --color-bg-light: #FFFDF5;
  --color-bg-alt: #FEF9E7;
}

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

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

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

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); }
.text-accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
.border-accent { border-color: var(--color-accent); }

/* ── Decorative backgrounds ────────────────────── */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(212,175,55,0.15) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

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

.decor-mesh {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(10,10,10,0.05) 0%, transparent 60%);
}

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

/* ── Gradient blobs ────────────────────────────── */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Corner accents ────────────────────────────── */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: linear-gradient(225deg, rgba(212,175,55,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 120px; height: 120px;
  background: linear-gradient(45deg, rgba(212,175,55,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Glow element ──────────────────────────────── */
.decor-glow-element {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Star ratings ──────────────────────────────── */
.star-rating {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent);
}

/* ── Form styles ───────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  color: #111827;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

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

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

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

/* ── Order form card ───────────────────────────── */
.order-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  overflow: hidden;
}

.order-card-header {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  padding: 1.5rem 2rem;
  color: #fff;
}

/* ── Product badge ─────────────────────────────── */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

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

/* ── Testimonial cards ─────────────────────────── */
.testimonial-card {
  background: #F9FAFB;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #F3F4F6;
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* ── FAQ cards ─────────────────────────────────── */
.faq-card {
  background: #F9FAFB;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #F3F4F6;
}

.faq-card h3 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

/* ── Accordion ─────────────────────────────────── */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content.open {
  max-height: 500px;
}

/* ── Section bg variants ───────────────────────── */
.bg-light { background-color: var(--color-bg-light); }
.bg-alt { background-color: var(--color-bg-alt); }

/* ── Ingredient cards ──────────────────────────── */
.ingredient-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* ── Mobile menu transition ────────────────────── */
#mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

/* ── Accent line divider ───────────────────────── */
.accent-line {
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 9999px;
}

/* ── Newsletter input in footer ────────────────── */
footer input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* ── Responsive image containment ─────────────── */
.product-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Section heading accent ────────────────────── */
.section-heading-accent {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── Print / accessibility ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html.js-anim html.js-anim [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}