: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;
  background-color: var(--color-bg-light);
}

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

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

.transition-all-200 {
  transition: all 0.2s ease;
}

/* ===== DECORATIVE ELEMENTS ===== */

/* Grid dot pattern */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Grid line pattern */
.decor-grid-lines {
  background-image:
    linear-gradient(var(--color-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Diagonal stripes */
.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    var(--color-accent) 10px,
    var(--color-accent) 11px
  );
}

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

/* Gradient blur 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: 300px;
  height: 300px;
  background: rgba(212, 175, 55, 0.15);
  top: -80px;
  right: -80px;
}

.decor-gradient-blur::after {
  width: 200px;
  height: 200px;
  background: rgba(212, 175, 55, 0.1);
  bottom: -60px;
  left: -60px;
}

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

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(315deg, transparent 50%, rgba(212, 175, 55, 0.15) 50%);
  pointer-events: none;
}

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

/* Concentric rings SVG background */
.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='%23D4AF37' stroke-width='0.5' opacity='0.3'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23D4AF37' stroke-width='0.5' opacity='0.2'/%3E%3Ccircle cx='100' cy='100' r='95' fill='none' stroke='%23D4AF37' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Intensity modifiers */
.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.10; }
.decor-bold { opacity: 0.20; }

/* ===== GOLD STAR RATING ===== */
.star-filled { color: #D4AF37; }
.star-empty { color: #e5e7eb; }

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

.form-input:focus {
  border-color: #D4AF37;
  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 {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}

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

/* ===== PHONE INPUT WRAPPER ===== */
.phone-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-wrapper:focus-within {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

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

.phone-code {
  padding: 0.75rem 0.75rem;
  background: #f9f7f0;
  border-right: 1.5px solid #e5e7eb;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.phone-wrapper input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9375rem;
  color: #111;
  font-family: 'Nunito Sans', system-ui, sans-serif;
}

/* ===== ORDER FORM STYLES ===== */
#order_form {
  scroll-margin-top: 5rem;
}

/* ===== ACCENT GRADIENT TEXT ===== */
.text-gradient-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #f0d060 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TRUST BADGE STRIP ===== */
.trust-strip {
  background: linear-gradient(90deg, #0A0A0A 0%, #1A1A1A 100%);
}

/* ===== CARD HOVER EFFECTS ===== */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* ===== INGREDIENT CARD ===== */
.ingredient-card {
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ingredient-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.12);
}

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

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

/* ===== PROGRESS BAR (for reviews) ===== */
.progress-bar {
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  overflow: hidden;
}

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

/* ===== QUANTITY SELECTOR ===== */
.qty-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #f3f4f6;
  border: 1.5px solid #e5e7eb;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background 0.15s;
  color: #111;
}

.qty-btn:hover { background: #e5e7eb; }

/* ===== SUCCESS ALERT ===== */
.alert-success {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #166534;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #c9a52e; }

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

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

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

/* ===== NOTIFICATION TOAST ===== */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: #0A0A0A;
  color: white;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}