/*
Theme Name:  Noni Juice Bali
Theme URI:   https://nonijuicebali.com
Author:      Noni Juice Bali
Description: Premium theme for Agen Resmi Tahitian Noni Juice Bali. Responsive, WhatsApp-integrated.
Version:     1.0.3
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noni-bali
*/

/* ── 1. CORE VARIABLES & GLOBAL RESET ── */
:root {
  --g-deep: #1a3d2b;
  --g-mid: #2d5a40;
  --g-pale: #e8f2ec;
  --amber: #d4870a;
  --amber-l: #f5a623;
  --cream: #faf7f2;
  --cream-dk: #f0ebe0;
  --td: #1a1a18;
  --tm: #4a4a47;
  --tl: #9a9a96;
  --white: #fff;
  --wa: #25D366;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--td);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

img {
  max-width: 100%;
  height: auto;
  loading: lazy;
}

a {
  text-decoration: none;
}

/* ── 2. NAVIGATION & HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,61,43,.08);
  transition: box-shadow .3s;
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(26,61,43,.12);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--g-deep);
  display: flex;
  align-items: center;
  gap: 7px;
}

.logo span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--tm);
  transition: color .2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width .3s cubic-bezier(.16,1,.3,1);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--g-deep);
}

.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cart-btn {
  position: relative;
  background: none;
  border: 1.5px solid var(--g-deep);
  color: var(--g-deep);
  padding: 8px 16px;
  border-radius: 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}

.cart-btn:hover {
  background: var(--g-deep);
  color: var(--white);
}

.cart-badge {
  background: var(--amber);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -5px;
  right: -5px;
}

.btn-wa-nav {
  background: var(--wa);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}

.btn-wa-nav:hover {
  background: #1eb35a;
  transform: scale(1.02);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--g-deep);
  padding: 4px;
}

/* ── 3. HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--g-deep);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 64px;
}

.hero-glow-1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle,rgba(212,135,10,.18) 0%,transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -120px;
  left: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle,rgba(74,124,94,.25) 0%,transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(212,135,10,.18);
  color: var(--amber-l);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 40px;
  border: 1px solid rgba(212,135,10,.3);
  margin-bottom: 22px;
  animation: noni-fade-down .6s cubic-bezier(.16,1,.3,1) both;
}

.hero h1 {
  font-size: clamp(34px,5vw,56px);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  animation: noni-fade-up .7s cubic-bezier(.16,1,.3,1) .1s both;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
  margin-bottom: 36px;
  max-width: 480px;
  animation: noni-fade-up .7s cubic-bezier(.16,1,.3,1) .2s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: noni-fade-up .7s cubic-bezier(.16,1,.3,1) .3s both;
}

.btn-hero-wa {
  background: var(--wa);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
}

.btn-hero-wa:hover {
  background: #1eb35a;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

.btn-hero-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.35);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
}

.btn-hero-outline:hover {
  border-color: white;
  background: rgba(255,255,255,.1);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
  animation: noni-fade-up .7s cubic-bezier(.16,1,.3,1) .4s both;
}

.hero-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--amber-l);
  transition: transform .3s ease;
}

.hero-stat-n.counting {
  transform: scale(1.08);
}

.hero-stat-l {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: noni-fade-in .9s cubic-bezier(.16,1,.3,1) .3s both;
}

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: 44px 36px;
  text-align: center;
  backdrop-filter: blur(8px);
  animation: floatY 4s ease-in-out infinite;
}

.hero-card-emoji {
  font-size: 96px;
  line-height: 1;
  margin-bottom: 18px;
}

.hero-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: white;
  margin-bottom: 5px;
}

.hero-card-sub {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.floating-pill {
  position: absolute;
  background: var(--amber);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 40px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  
  /* PERBAIKAN: Pastikan elemen langsung terlihat tegas sejak awal agar tidak hilang gaib */
  opacity: 1 !important;
  z-index: 10;
}

.pill-1 {
  top: 0;
  right: -16px;
  
  /* PERBAIKAN: Fokus menjalankan satu animasi denyut aura emas yang konstan */
  animation: noni-badge-pulse 2s ease-in-out infinite;
}

.pill-2 {
  bottom: 24px;
  left: -24px;
  background: var(--g-deep, #1a3d2b);
  
  /* PERBAIKAN: Fokus menjalankan satu animasi melayang naik-turun tanpa interupsi */
  animation: floatY 3.8s ease-in-out infinite;
}
.hero-cursor-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(212,135,10,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: left .15s ease-out, top .15s ease-out;
  z-index: 0;
}

/* ── 4. LAYOUT SECTIONS DEFAULT ── */
section {
  padding: 88px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--g-pale);
  color: var(--g-mid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 12px;
}

.section-h {
  font-size: clamp(28px,4vw,44px);
  color: var(--g-deep);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--tm);
  line-height: 1.72;
  max-width: 560px;
}

.center {
  text-align: center;
}

.center .section-sub {
  margin: 0 auto;
}

/* ── 5. BENEFITS SECTION ── */
.benefits {
  background: var(--cream);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 52px;
}

.ben-card {
  background: white;
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(26,61,43,.06);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.ben-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--g-mid),var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}

.ben-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(26,61,43,.09);
}

.ben-card:hover::after {
  transform: scaleX(1);
}

.ben-icon {
  width: 52px;
  height: 52px;
  background: var(--g-pale);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.ben-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--g-deep);
  margin-bottom: 10px;
}

.ben-desc {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.72;
}

/* ── 6. PRODUCTS SECTION ── */
.products {
  background: var(--cream-dk);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.prod-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(26,61,43,.06);
  transition: all .3s;
}

.prod-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 52px rgba(26,61,43,.11);
}

.prod-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.prod-img img, .prod-img span {
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.prod-card:hover .prod-img img, .prod-card:hover .prod-img span {
  transform: scale(1.08);
}

.prod-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 40px;
  animation: noni-badge-pulse 2.4s ease-in-out infinite;
}

.badge-best { background: var(--amber); color: white; }
.badge-new { background: var(--g-mid); color: white; }
.badge-hot { background: #c94f2a; color: white; }

.prod-body {
  padding: 20px 22px 24px;
}

.prod-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--g-deep);
  margin-bottom: 7px;
  line-height: 1.3;
}

.prod-desc {
  font-size: 12px;
  color: var(--tm);
  line-height: 1.65;
  margin-bottom: 16px;
  min-height: 52px;
}

.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.prod-price small {
  font-size: 10px;
  color: var(--tl);
  display: block;
  margin-bottom: 2px;
}

.prod-price-val {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--g-deep);
}

.btn-add {
  background: var(--g-deep);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-add:hover {
  background: var(--g-mid);
  transform: scale(1.03);
}

.btn-add.added {
  background: #2d5a40;
}

/* ── 7. TESTIMONIALS SECTION & COMPLIANCE ── */
.testimonials, .testimoni-page {
  background: #123f2a;
  padding: 88px 24px;
}

.testimonials .section-tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
}

.testimonials .section-h {
  color: white;
}

.testimonials .section-sub {
  color: rgba(255,255,255,.65);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}

.testi-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  padding: 28px;
  transition: all .3s;
}

.testi-card:hover {
  background: rgba(255,255,255,.11);
  transform: translateY(-4px);
}

.testi-stars {
  color: var(--amber-l);
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.72;
  font-style: italic;
  margin-bottom: 12px;
}

.testi-more-btn {
  appearance: none;
  border: none;
  background: rgba(212,135,10,.16);
  color: var(--amber-l);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  margin-bottom: 18px;
  transition: background .2s, transform .2s;
}

.testi-more-btn:hover {
  background: rgba(212,135,10,.26);
  transform: translateY(-1px);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testi-n {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.testi-l {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-top: 1px;
}

.testi-c {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber-l);
  margin-top: 3px;
}

/* ── TESTIMONIAL AREA MODERNIZE & SYNC ── */
.testi-meta-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.testi-stars-row {
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--amber-l);
}

.testi-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212,135,10,.18);
  color: #f5a623;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(212,135,10,.3);
  width: fit-content;
}

.testi-duration {
  font-size: 11px;
  color: rgba(255,255,255,.45);
}

.testi-text-wrap { 
  margin-bottom: 18px; 
}

.testi-read-more {
  background: none;
  border: none;
  color: #f5a623;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0 0;
  display: block;
  font-family: inherit;
  transition: opacity .2s;
}

.testi-read-more:hover { 
  opacity: .75; 
}

.testi-av-img {
  background: transparent !important;
  overflow: hidden;
  padding: 0;
}

.testi-av-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.testi-compliance-notice {
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

/* ── 8. DOSAGE SECTION ── */
.dosage {
  background: var(--cream);
}

.dosage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dosage-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.dosage-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--g-deep);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-h {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--g-deep);
  margin-bottom: 5px;
}

.step-d {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.68;
}

.dosage-box {
  background: var(--g-deep);
  border-radius: 26px;
  padding: 44px 36px;
  text-align: center;
}

.dose-big {
  font-family: 'Playfair Display', serif;
  font-size: 76px;
  color: var(--amber-l);
  line-height: 1;
}

.dose-label {
  font-size: 18px;
  color: white;
  margin: 6px 0 24px;
}

.dose-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 0 0 24px;
}

.dose-tips {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.dose-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  line-height: 1.5;
}

/* ── 9. AGENTS SECTION ── */
.agents {
  background: var(--cream-dk);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}

.agent-card {
  background: white;
  border-radius: 22px;
  padding: 30px;
  border: 1px solid rgba(26,61,43,.06);
  text-align: center;
  transition: all .3s;
}

.agent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(26,61,43,.09);
}

.agent-icon {
  font-size: 42px;
  margin-bottom: 14px;
}

.agent-city {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--g-deep);
  margin-bottom: 8px;
}

.agent-area {
  font-size: 13px;
  color: var(--tm);
  line-height: 1.65;
  margin-bottom: 20px;
}

.agent-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wa);
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}

.agent-wa-btn:hover {
  background: #1eb35a;
}

/* ── 10. CONTACT SECTION & MEMBER BANNER ── */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-ico {
  width: 44px;
  height: 44px;
  background: var(--g-pale);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-it {
  font-size: 12px;
  color: var(--tl);
  margin-bottom: 3px;
}

.contact-iv {
  font-size: 15px;
  font-weight: 500;
  color: var(--td);
}

.contact-form-box {
  background: white;
  border-radius: 26px;
  padding: 36px;
  border: 1px solid rgba(26,61,43,.07);
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--g-deep);
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fg {
  margin-bottom: 14px;
}

.fg label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--tm);
  margin-bottom: 6px;
}

.fg input, .fg select, .fg textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(26,61,43,.12);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--td);
  background: var(--cream);
  transition: border-color .2s;
  outline: none;
  appearance: none;
}

.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--g-mid);
}

.fg textarea {
  resize: vertical;
  min-height: 88px;
}

.form-wa-btn {
  width: 100%;
  background: var(--wa);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s;
  margin-top: 6px;
}

.form-wa-btn:hover {
  background: #1eb35a;
  transform: translateY(-1px);
}

/* BANNER INFO MEMBER CAS */
.cas-info-banner {
  background-color: rgba(124, 58, 237, 0.05);
  border-left: 4px solid var(--amber);
  padding: 20px;
  margin-top: 36px;
  border-radius: 12px;
}

.cas-info-banner h4 {
  margin: 0 0 8px 0;
  color: var(--g-deep);
  font-size: 16px;
  font-weight: 700;
}

.cas-info-banner p {
  margin: 0;
  color: var(--tm);
  font-size: 14px;
  line-height: 1.6;
}

/* ── 11. FOOTER & GLOBAL MEDICAL DISCLAIMER ── */
footer {
  background: var(--g-deep);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.footer-logo span {
  color: var(--amber-l);
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 9px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  color: white;
  transition: all .2s;
}

.social-link:hover {
  background: var(--amber);
}

.footer-col-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: white;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* MEDICAL DISCLAIMER PATUHAN */
.global-medical-disclaimer {
  background-color: var(--cream-dk);
  color: var(--tm);
  font-size: 11px;
  text-align: center;
  padding: 32px 24px;
  line-height: 1.6;
  border-top: 1px solid rgba(26,61,43,.08);
}

.global-medical-disclaimer .container {
  max-width: 900px;
  margin: 0 auto;
}

.global-medical-disclaimer p {
  margin-bottom: 8px;
}

.global-medical-disclaimer p:last-child {
  margin-bottom: 0;
}

.global-medical-disclaimer-title {
  font-weight: 700;
  color: var(--g-deep);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── 12. QUICK ACTIONS & SLIDE DRAWER CART ── */
.quick-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transform: translateY(0);
  transition: transform .25s, box-shadow .25s;
}

.quick-actions.show {
  box-shadow: 0 12px 34px rgba(37,211,102,.28);
}

.quick-action {
  border: 0;
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.quick-action-icon {
  font-size: 16px;
  line-height: 1;
}

.quick-action-wa { background: var(--wa); }
.quick-action-cart { background: var(--amber); position: relative; }
.quick-action:hover { filter: brightness(1.04); }

.quick-action-cart .cart-count-badge {
  position: static;
  width: 18px;
  height: 18px;
  background: white;
  color: var(--amber);
  font-size: 10px;
  display: none;
  flex-shrink: 0;
}

/* GLOBAL DRAWER STYLES */
#noni-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

#noni-cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

#noni-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Segoe UI', system-ui, sans-serif;
}

#noni-cart-drawer * { box-sizing: border-box; }
#noni-cart-drawer.active { transform: translateX(0); }

.drawer-head { padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,0.07); display: flex; align-items: center; justify-content: space-between; }
.drawer-title { font-size: 18px; font-weight: 800; color: #1a3d2b; font-family: Georgia, serif; margin: 0; }
.drawer-close { background: #faf7f2; border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid rgba(0,0,0,0.07); background: #faf7f2; }

.v-cart-item { background: white; border-radius: 14px; padding: 12px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; border: 1px solid #eef5f1; box-shadow: 0 2px 6px rgba(0,0,0,.03); }
.v-ci-img { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: #f0faf4; flex-shrink: 0; }
.v-ci-info { flex: 1; }
.v-ci-name { font-size: 13px; font-weight: 700; color: #1a3d2b; margin-bottom: 2px; }
.v-ci-price { font-size: 11px; color: #5a8a70; }
.v-ci-qty { display: flex; align-items: center; gap: 8px; }
.v-q-btn { width: 26px; height: 26px; border: 1.5px solid #d0e8d8; background: white; border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #1a3d2b; }

.v-summary-box { background: #1a3d2b; border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.v-sum-row { display: flex; justify-content: space-between; color: rgba(255,255,255,.7); font-size: 12px; margin-bottom: 6px; }
.v-sum-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 4px; }
.v-sum-label { color: white; font-size: 14px; font-weight: 700; }
.v-sum-val { color: #f5a623; font-size: 18px; font-weight: 800; font-family: Georgia, serif; }

.v-btn-green { background: #1a3d2b; color: white; border: none; padding: 14px 20px; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; width: 100%; display: block; text-align: center; }
.v-btn-wa { background: #25D366; color: white; border: none; padding: 14px 20px; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.v-btn-outline { background: transparent; color: #1a3d2b; border: 1.5px solid #1a3d2b; padding: 12px 20px; border-radius: 50px; font-size: 13px; font-weight: 600; cursor: pointer; width: 100%; margin-top: 8px; }

.v-fg { margin-bottom: 12px; }
.v-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #5a7a68; margin-bottom: 4px; }
.v-input, .v-select, .v-textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #d0e8d8; border-radius: 8px; font-size: 13px; background: #f7fdf9; outline: none; font-family: inherit; }
.v-textarea { resize: vertical; min-height: 60px; }
.v-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.v-note-box { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px; padding: 10px; font-size: 11px; color: #92400e; line-height: 1.6; margin-top: 6px; }
.v-liquid-box { background: #fff7ed; border: 1px solid #fb923c; border-radius: 8px; padding: 10px; font-size: 11px; color: #c2410c; line-height: 1.6; margin-top: 8px; }

.cart-panel { transition: transform .4s cubic-bezier(.16,1,.3,1); } 
.cart-overlay { transition: opacity .35s ease; }

/* ── 13. INNER PAGES COMPONENT AREA ── */
.inner-hero {
  background: var(--g-deep);
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,rgba(212,135,10,.15) 0%,transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.inner-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px,4vw,46px);
  color: white;
  line-height: 1.15;
  margin-top: 12px;
}

.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover {
  color: white;
}

.bc-sep {
  color: rgba(255,255,255,.3);
}

.inner-content {
  background: var(--cream);
  padding: 72px 24px;
}

.page-content-wrap, .post-wrap {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.82;
  color: var(--tm);
}

.page-content-wrap h2, .post-wrap h2 {
  font-family: 'Playfair Display', serif;
  color: var(--g-deep);
  font-size: clamp(20px,3vw,28px);
  margin: 36px 0 14px;
  line-height: 1.2;
}

.page-content-wrap h3, .post-wrap h3 {
  font-family: 'Playfair Display', serif;
  color: var(--g-deep);
  font-size: clamp(18px,2.5vw,22px);
  margin: 28px 0 10px;
  line-height: 1.25;
}

.page-content-wrap h4, .post-wrap h4 {
  font-family: 'Playfair Display', serif;
  color: var(--g-mid);
  font-size: 18px;
  margin: 22px 0 8px;
}

.page-content-wrap p, .post-wrap p {
  margin-bottom: 20px;
}

.page-content-wrap a, .post-wrap a {
  color: var(--g-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content-wrap a:hover, .post-wrap a:hover {
  color: var(--g-deep);
}

.page-content-wrap img, .post-wrap img {
  border-radius: 14px;
  margin: 24px 0;
  max-width: 100%;
  height: auto;
}

.page-content-wrap ul, .post-wrap ul, .page-content-wrap ol, .post-wrap ol {
  padding-left: 26px;
  margin-bottom: 20px;
}

.page-content-wrap li, .post-wrap li {
  margin-bottom: 8px;
}

.page-content-wrap blockquote, .post-wrap blockquote {
  border-left: 4px solid var(--g-mid);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--g-pale);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--g-mid);
}

.page-content-wrap table, .post-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.page-content-wrap th, .post-wrap th {
  background: var(--g-deep);
  color: white;
  padding: 10px 14px;
  text-align: left;
}

.page-content-wrap td, .post-wrap td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(26,61,43,.08);
}

.page-content-wrap tr:nth-child(even), .post-wrap tr:nth-child(even) {
  background: var(--g-pale);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.entry-content p { margin-bottom: 20px; }
.entry-content h2, .entry-content h3 { margin: 32px 0 12px; }
.widget-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--g-deep); margin-bottom: 12px; }

/* ── 14. ANIMATIONS CORE & EFFECTS ── */
.fu {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
  /* Fallback: otomatis tampil setelah 1.2 detik jika JS tidak berjalan */
  animation: fu-auto 0.01s 1.2s forwards;
}

.fu.vis {
  opacity: 1;
  transform: translateY(0);
  animation: none; /* Matikan fallback jika JS berjalan */
}

.fu-left  { transform: translateX(-40px); } .fu-left.vis  { transform: translateX(0); }
.fu-right { transform: translateX(40px); } .fu-right.vis { transform: translateX(0); }
.fu-zoom  { transform: scale(.92); }        .fu-zoom.vis  { transform: scale(1); }

.noni-loadbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #d4870a, #f5a623);
  z-index: 9999;
  transition: width .4s ease, opacity .3s ease .3s;
}

.noni-loadbar.done {
  width: 100% !important;
  opacity: 0;
}

.btn-hero-wa, .btn-hero-outline, .btn-add, .agent-wa-btn, .form-wa-btn, .cart-order-btn, .btn-wa-nav {
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, background .25s ease;
}

.btn-hero-wa:hover, .agent-wa-btn:hover, .form-wa-btn:hover, .cart-order-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-hero-wa:active, .agent-wa-btn:active, .btn-add:active, .form-wa-btn:active {
  transform: scale(.96);
}

.noni-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: scale(0);
  animation: noni-ripple-anim .6s ease-out;
  pointer-events: none;
}

.wa-float {
  animation: noni-fade-in .6s cubic-bezier(.16,1,.3,1) 1s both;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes fu-auto {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes noni-ripple-anim {
  to { transform: scale(3); opacity: 0; }
}

@keyframes noni-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,135,10,.4); }
  50% { box-shadow: 0 0 0 6px rgba(212,135,10,0); }
}

@keyframes noni-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes noni-fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes noni-fade-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(37,211,102,.42); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,.55), 0 0 0 10px rgba(37,211,102,.08); }
}

/* ── 15. RESPONSIVE DESIGN & MEDIA QUERIES ── */
@media(max-width:1024px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* TABLET & MOBILE CORE (MAX 768PX) */
@media(max-width:768px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .benefits-grid, .testi-grid, .agents-grid { grid-template-columns: 1fr; }
  .dosage-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 64px 20px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }

  /* SISTEM MENU HP FIX: STABIL, LANGSUNG BERBARIS DI BAWAH LOGO */
  .cart-btn, .btn-wa-nav, .hamburger, .nav-right { display: none !important; }
  #site-header { height: auto !important; padding: 10px 0 !important; }
  nav { flex-direction: column !important; height: auto !important; justify-content: center !important; align-items: center !important; gap: 8px !important; }
  .logo { font-size: 22px !important; margin-bottom: 2px !important; }
  
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    position: static !important;
    width: 100% !important;
    gap: 6px 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .nav-links li { width: auto !important; list-style: none !important; }
  .nav-links li a { display: inline-block !important; font-size: 13px !important; color: var(--g-deep) !important; font-weight: 700 !important; padding: 4px 0 !important; }
  .nav-links li a:hover { color: var(--amber) !important; }
}

@media(max-width:600px) {
  .products-grid { grid-template-columns: 1fr; }
}

@media(max-width:520px) {
  .quick-actions { right: 14px; bottom: 16px; left: 14px; }
  .quick-action { padding: 0 12px; font-size: 12px; }
}

/* ACCESSIBILITY USER REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}