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

/* =========================================
   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-anim="zoom_in"] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

html.js-anim [data-animate][data-anim="zoom_in"].is-visible {
  opacity: 1;
  transform: scale(1);
}

html.js-anim [data-animate][data-anim="slide_left"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js-anim [data-animate][data-anim="slide_left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

html.js-anim [data-animate][data-anim="slide_right"] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js-anim [data-animate][data-anim="slide_right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   DECORATIVE ELEMENTS
   ========================================= */
.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,
    rgba(212, 175, 55, 0.04),
    rgba(212, 175, 55, 0.04) 1px,
    transparent 1px,
    transparent 12px
  );
}

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

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  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;
}

.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 70%);
  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 70%);
  pointer-events: none;
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.decor-rings-svg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

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

/* =========================================
   ACCENT COLOR UTILITIES
   ========================================= */
.text-accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
.border-accent { border-color: var(--color-accent); }
.ring-accent { --tw-ring-color: var(--color-accent); }

/* =========================================
   STAR RATING
   ========================================= */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent);
}

/* =========================================
   ORDER FORM STYLES
   ========================================= */
.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 9999px;
  background: white;
  font-size: 0.9375rem;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: 'Work Sans', system-ui, sans-serif;
}

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

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  padding-left: 1rem;
}

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

/* =========================================
   PRICING BADGE
   ========================================= */
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.875rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* =========================================
   INGREDIENT / FEATURE CARDS
   ========================================= */
.card-premium {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-premium:hover {
  box-shadow: 0 8px 40px rgba(212, 175, 55, 0.18);
  transform: translateY(-2px);
}

/* =========================================
   ACCORDION (FAQ)
   ========================================= */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

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

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

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

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

/* =========================================
   TESTIMONIAL QUOTE MARKS
   ========================================= */
.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 0.8;
  color: var(--color-accent);
  opacity: 0.3;
  display: block;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

/* =========================================
   SECTION DIVIDER
   ========================================= */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 9999px;
}

.section-divider-center {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 9999px;
  margin: 0 auto;
}

/* =========================================
   MOBILE MENU TRANSITION
   ========================================= */
#mobile-menu {
  transition: opacity 0.2s ease;
}

/* =========================================
   TRUST BADGES
   ========================================= */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
}

/* =========================================
   PRODUCT IMAGE GLOW
   ========================================= */
.product-glow {
  filter: drop-shadow(0 20px 60px rgba(212, 175, 55, 0.25));
}

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.7);
}

/* =========================================
   TOPBAR HIDE ON SCROLL
   ========================================= */
#topbar {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 60px;
  overflow: hidden;
}

#topbar.hidden-bar {
  max-height: 0;
  opacity: 0;
}

/* =========================================
   SELECTION COLOR
   ========================================= */
::selection {
  background-color: rgba(212, 175, 55, 0.25);
  color: #0A0A0A;
}