: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: 'Work Sans', system-ui, sans-serif;
  background-color: var(--color-bg-light);
}

/* ─── Button normalization ─── */
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.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 utility ─── */
.rotate-180 { transform: rotate(180deg); }

/* ─── 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.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.08) 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(ellipse at 20% 50%, rgba(212,175,55,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.08) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  pointer-events: none;
}

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

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(212,175,55,0.12) 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(212,175,55,0.12) 0%, transparent 60%);
  pointer-events: none;
}

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

.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 0.8; }
.decor-bold { opacity: 1; }

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

/* ─── Star rating ─── */
.stars {
  color: var(--color-accent);
  letter-spacing: 2px;
}

/* ─── Product image glow ─── */
.product-glow {
  filter: drop-shadow(0 20px 40px rgba(212,175,55,0.2));
}

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

/* ─── Gold border ─── */
.border-accent { border-color: var(--color-accent); }

/* ─── Form focus ring ─── */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

/* ─── CTA pulse ─── */
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}

.cta-pulse {
  animation: pulse-gold 2.5s ease-in-out infinite;
}

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

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

/* ─── Testimonial border ─── */
.testimonial-card {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.5rem;
}

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

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

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

/* ─── Section divider ─── */
.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin: 1rem auto;
}

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

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #F0D060);
  border-radius: 9999px;
  transition: width 1s ease-out;
}

/* ─── Badge ─── */
.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(212,175,55,0.12);
  color: #B8960F;
  border: 1px solid rgba(212,175,55,0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Dark section base ─── */
.section-dark {
  background-color: var(--color-primary);
  color: white;
}

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

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