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

/* ===== BUTTON 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-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; }

/* ===== HEADER TRANSPARENCY ===== */
#site-header.scrolled {
  background-color: rgba(10, 10, 10, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

#site-header.scrolled .header-brand-text {
  color: #ffffff;
}

#site-header.scrolled .header-nav-link {
  color: rgba(255, 255, 255, 0.8);
}

#site-header:not(.scrolled) .header-brand-text {
  color: #ffffff;
}

/* ===== 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.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 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) 11px
  );
}

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

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  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: -100px;
  left: -100px;
  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;
}

.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;
  z-index: 0;
}

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

.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;
  filter: blur(40px);
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23D4AF37' stroke-opacity='0.06' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='%23D4AF37' stroke-opacity='0.06' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='%23D4AF37' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

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

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

.star-filled { color: var(--color-accent); }
.star-half { color: var(--color-accent); opacity: 0.6; }
.star-empty { color: #d1d5db; }

/* ===== GOLD GRADIENT TEXT ===== */
.text-gold-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-gold {
  border-color: var(--color-accent);
}

/* ===== BADGE ===== */
.badge-bestseller {
  background: linear-gradient(135deg, #D4AF37, #F0D060);
  color: #0A0A0A;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== ORDER FORM ===== */
.order-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: 'Urbanist', system-ui, sans-serif;
  font-size: 0.95rem;
  background-color: #fff;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

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

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

/* ===== INGREDIENT CARD ===== */
.ingredient-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* ===== TESTIMONIAL SLIDER ===== */
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

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

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

/* ===== ROTATE ===== */
.rotate-180 {
  transform: rotate(180deg);
}

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

/* ===== STICKY HEADER SHADOW ===== */
#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ===== SECTION SPACING ===== */
.section-py {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* ===== GOLD DIVIDER ===== */
.gold-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #F0D060);
  border-radius: 9999px;
  margin: 0 auto;
}

/* ===== BENEFIT CARD HOVER ===== */
.benefit-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
}

/* ===== FORM ERROR TEXT ===== */
.form-error {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

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

/* ===== GUARANTEE BADGE ===== */
.guarantee-badge {
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

/* ===== PRODUCT PRICE DISPLAY ===== */
.price-current {
  font-size: 2rem;
  font-weight: 700;
  color: #0A0A0A;
  line-height: 1;
}

.price-old {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.price-save {
  font-size: 0.8rem;
  color: #16a34a;
  font-weight: 600;
}

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

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

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

/* ===== FOCUS RING ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}