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

/* ─── Button / CTA fixes ─────────────────────────────────────────── */
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;
}

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

/* ─── Decorative Elements ────────────────────────────────────────── */
.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.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(10, 10, 10, 0.08) 0%, transparent 60%);
}

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

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

.decor-glow-element {
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.25));
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Ccircle cx='150' cy='150' r='50' fill='none' stroke='rgba(212,175,55,0.1)' stroke-width='1'/%3E%3Ccircle cx='150' cy='150' r='90' fill='none' stroke='rgba(212,175,55,0.08)' stroke-width='1'/%3E%3Ccircle cx='150' cy='150' r='130' fill='none' stroke='rgba(212,175,55,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

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

/* ─── Star ratings ───────────────────────────────────────────────── */
.stars {
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

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

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

/* ─── Gold separator ─────────────────────────────────────────────── */
.gold-sep {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #F5D06A);
  border-radius: 9999px;
}

/* ─── Form inputs ────────────────────────────────────────────────── */
.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;
  font-family: 'DM Sans', system-ui, sans-serif;
}

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

.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 success ─────────────────────────────────────────── */
.order-success {
  text-align: center;
  padding: 2rem;
}

/* ─── Badge ──────────────────────────────────────────────────────── */
.badge-new {
  background: linear-gradient(135deg, #D4AF37, #F5D06A);
  color: #0A0A0A;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Testimonial slider ─────────────────────────────────────────── */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-out;
}

.testimonial-slide {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 33.333%;
  }
}

/* ─── Sticky order bar (mobile) ──────────────────────────────────── */
.sticky-order-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.sticky-order-bar.visible {
  transform: translateY(0);
}

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

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

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

/* ─── Section heading accent ─────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

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

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

/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

/* ─── Print ──────────────────────────────────────────────────────── */
@media print {
  header, footer, #cookie-consent, .sticky-order-bar {
    display: none !important;
  }
}