: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: 'Nunito Sans', 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; }
html.js-anim [data-animate][data-delay="600"] { transition-delay: 0.6s; }

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

/* ─── Accent Color Utility ─── */
.text-accent { color: #D4AF37; }
.bg-accent { background-color: #D4AF37; }
.border-accent { border-color: #D4AF37; }
.ring-accent { --tw-ring-color: #D4AF37; }

/* ─── Stars ─── */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #D4AF37;
}

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

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

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

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

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

.decor-gradient-blur::before {
  width: 400px;
  height: 400px;
  background: rgba(212,175,55,0.12);
  top: -100px;
  right: -100px;
}

.decor-gradient-blur::after {
  width: 300px;
  height: 300px;
  background: rgba(212,175,55,0.08);
  bottom: -80px;
  left: -80px;
}

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

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

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

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

/* ─── Gold Gradient Text ─── */
.text-gold-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #F0D060 50%, #C09A20 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Gold Line Accent ─── */
.gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #F0D060);
  border-radius: 2px;
}

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

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

/* ─── Form Input Focus ─── */
.form-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

/* ─── Order Form ─── */
.order-form-card {
  background: linear-gradient(135deg, #ffffff 0%, #FFFDF5 100%);
  border: 1px solid rgba(212,175,55,0.2);
}

/* ─── Badge ─── */
.badge-bestseller {
  background: linear-gradient(135deg, #D4AF37, #F0D060);
  color: #0A0A0A;
}

/* ─── Header scroll shadow ─── */
.header-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #C09A20; }

/* ─── Section BG Helpers ─── */
.bg-section-light { background-color: #FFFDF5; }
.bg-section-alt { background-color: #FEF9E7; }

/* ─── Progress Bar ─── */
.rating-bar {
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #D4AF37, #F0D060);
  transition: width 1s ease-out;
}

/* ─── Trust Strip ─── */
.trust-strip {
  background: linear-gradient(90deg, #0A0A0A 0%, #1A1A1A 100%);
}

/* ─── Benefit Icon ─── */
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.08));
  border: 1px solid rgba(212,175,55,0.25);
  color: #D4AF37;
}

/* ─── Testimonial Card ─── */
.testimonial-card {
  transition: transform 0.3s ease;
}

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

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

/* ─── Print ─── */
@media print {
  header, footer, #cookie-consent { display: none !important; }
  main { padding-top: 0 !important; }
}