/* ============================================================
   HerbHeal Wellness � Global Stylesheet v2.0
   Premium Design System | Outfit + Playfair Display
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,500&display=swap');

/* ── Design Tokens ── */
:root {
  --green-dark: #1b4332;
  --green-main: #2d6a4f;
  --green-mid: #40916c;
  --green-light: #d8f3dc;
  --green-pale: #f0faf4;
  --gold: #f4a80a;
  --gold-light: #fef3c7;
  --cream: #fefae0;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --white: #ffffff;
  --border-light: #e8f4ed;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .09);
  --shadow-hover: 0 18px 50px rgba(27, 67, 50, .18);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, .07);
  --transition: all .3s cubic-bezier(.25, .8, .25, 1);
  --transition-fast: all .18s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
}

/* ── Utility ── */
.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

/* ════════════════════════════════════════════
   TOPBAR
════════════════════════════════════════════ */
.topbar {
  background: var(--green-dark);
  color: #cde9d4;
  font-size: .78rem;
  padding: 7px 0;
  letter-spacing: .3px;
}

.topbar a {
  color: #cde9d4;
  transition: color .2s;
}

.topbar a:hover {
  color: #fff;
}

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  letter-spacing: .5px;
  color: var(--green-dark) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-leaf {
  font-size: 1.3rem;
}

.navbar {
  padding: 12px 0;
  transition: var(--transition);
  box-shadow: none;
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, .09);
  padding: 8px 0;
}

.nav-link {
  font-weight: 500;
  font-size: .91rem;
  color: var(--text-dark) !important;
  padding: 7px 15px !important;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-main) !important;
  background: var(--green-light);
}

/* Nav Action Buttons */
.nav-actions {
  gap: 8px;
}

.nav-icon-btn {
  background: none;
  border: none;
  padding: 8px 10px;
  font-size: 1.1rem;
  color: var(--text-dark);
  border-radius: 50px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.nav-icon-btn:hover {
  color: var(--green-main);
  background: var(--green-light);
}

.cart-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold);
  color: #000;
  font-size: .6rem;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
}

.whatsapp-btn {
  background: #25D366;
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  padding: 8px 16px;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
  border: none;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-1px);
}

.btn-nav-login {
  background: var(--green-main);
  color: #fff !important;
  border-radius: 50px;
  padding: 8px 22px;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--transition-fast);
  border: none;
  display: inline-flex;
  align-items: center;
}

.btn-nav-login:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-nav-skip {
  background: transparent;
  border: 1.5px dashed var(--text-muted);
  color: var(--text-muted);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: .82rem;
  transition: var(--transition-fast);
}

.btn-nav-skip:hover {
  border-color: var(--green-main);
  color: var(--green-main);
}

/* ════════════════════════════════════════════
   SEARCH OVERLAY
════════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 19, .97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-close {
  position: absolute;
  top: 28px;
  right: 36px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .6);
  font-size: 1.6rem;
  transition: color .2s;
}

.search-close:hover {
  color: #fff;
}

.search-inner {
  width: 90%;
  max-width: 660px;
}

.search-hint {
  color: rgba(255, 255, 255, .4);
  font-size: .85rem;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, .25);
  padding-bottom: 12px;
  transition: border-color .2s;
}

.search-input-wrap:focus-within {
  border-color: var(--gold);
}

.search-ico {
  color: rgba(255, 255, 255, .5);
  font-size: 1.3rem;
  margin-right: 14px;
}

.search-input-wrap input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  width: 100%;
}

.search-input-wrap input::placeholder {
  color: rgba(255, 255, 255, .3);
}

.search-quick {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.search-quick span {
  color: rgba(255, 255, 255, .4);
  font-size: .8rem;
}

.search-quick a {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .82rem;
  transition: var(--transition-fast);
}

.search-quick a:hover {
  background: var(--green-mid);
  color: #fff;
}

/* ════════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════════ */
.hero-carousel {
  height: 480px;
  min-height: 440px;
  max-height: 520px;
  overflow: hidden;
}

.hero-carousel .carousel-item {
  height: 480px;
  min-height: 440px;
  max-height: 520px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.slide-1 {
  background-image: url('../images/Web_Banner_01.jpeg');
}

.slide-2 {
  background-image: url('../images/Web_Banner_02.jpeg');
}

.slide-3 {
  background-image: url('../images/Web_Banner_03.jpeg');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 28, 18, .82) 38%, rgba(0, 0, 0, .12) 100%);
}

.hero-carousel .carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 780px;
  text-align: left;
  bottom: auto;
  padding: 0;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: #1a1a1a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 5px 16px;
  margin-bottom: 14px;
}

.hero-carousel .carousel-caption h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 12px;
}

.hero-carousel .carousel-caption p {
  font-size: clamp(.88rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, .85);
  margin-bottom: 22px;
  max-width: 540px;
  line-height: 1.55;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  color: #fff;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 700;
  font-size: .92rem;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-hero-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, .65);
  color: #fff;
  border-radius: 50px;
  padding: 9px 26px;
  font-weight: 600;
  font-size: .92rem;
  background: transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-color: rgba(255, 255, 255, .9);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  background: transparent;
  margin: 0 5px;
  transition: var(--transition-fast);
}

.carousel-indicators .active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* Hero animations */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-item.active .animate-in {
  animation: heroIn .7s ease both;
}

.carousel-item.active .delay-1 {
  animation-delay: .18s;
}

.carousel-item.active .delay-2 {
  animation-delay: .34s;
}

.carousel-item.active .delay-3 {
  animation-delay: .5s;
}

/* ════════════════════════════════════════════
   TRUST STRIP
════════════════════════════════════════════ */
.trust-strip {
  background: var(--green-dark);
  padding: 16px 0;
  overflow: hidden;
}

.trust-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
}

.trust-item i,
.trust-item svg {
  color: var(--gold);
  fill: var(--gold);
  font-size: .95rem;
  width: 15px;
  height: 15px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   SECTION COMMONS
════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-main);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 5px 18px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.22;
}

.section-sub {
  font-size: .98rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Scroll reveal animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
}

.reveal.visible {
  animation: fadeInUp .6s ease both;
}

/* ════════════════════════════════════════════
   BMI / PERSONALISE SECTION
════════════════════════════════════════════ */
.bmi-section {
  background: var(--cream);
  padding: 80px 0;
}

.bmi-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px;
  border-top: 5px solid var(--green-main);
  position: relative;
  overflow: hidden;
}

.bmi-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--green-light) 0%, transparent 70%);
  pointer-events: none;
}

.bmi-card .form-control,
.bmi-card .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  padding: 12px 16px;
  font-size: .93rem;
  transition: var(--transition-fast);
  font-family: 'Outfit', sans-serif;
}

.bmi-card .form-control:focus,
.bmi-card .form-select:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .1);
}

.bmi-card label {
  font-weight: 600;
  font-size: .84rem;
  color: var(--green-dark);
  margin-bottom: 8px;
  display: block;
}

/* Product radio buttons */
.product-radio {
  display: flex;
}

.product-radio-input {
  display: none;
}

.product-radio-label {
  border: 2px solid var(--border-light);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-radio-input:checked+.product-radio-label {
  border-color: var(--green-main);
  background: var(--green-pale);
  color: var(--green-dark);
}

/* Login prompt inline */
.login-prompt-inline {
  background: var(--green-pale);
  border: 1.5px solid var(--green-light);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: .88rem;
  color: var(--text-dark);
}

.btn-skip-inline {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: .82rem;
  text-decoration: underline;
  cursor: pointer;
}

.btn-skip-inline:hover {
  color: var(--green-main);
}

.btn-calculate {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  transition: var(--transition);
  letter-spacing: .4px;
  font-family: 'Outfit', sans-serif;
}

.btn-calculate:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27, 67, 50, .28);
}

/* BMI Result */
.bmi-result-wrap {
  display: none;
  margin-top: 30px;
}

.bmi-result-card {
  border-radius: var(--radius);
  padding: 30px 34px;
  border-left: 6px solid var(--green-main);
  background: linear-gradient(135deg, #f0faf4, #e8f5ee);
  animation: fadeInUp .45s ease;
}

.bmi-gauge-wrap {
  display: inline-block;
}

.bmi-value {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--green-main);
  line-height: 1;
}

.bmi-unit {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.bmi-badge {
  display: inline-block;
  border-radius: 50px;
  padding: 5px 20px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .8px;
}

.bmi-underweight {
  background: #dbeafe;
  color: #1e40af;
}

.bmi-normal {
  background: #dcfce7;
  color: #15803d;
}

.bmi-overweight {
  background: #fef9c3;
  color: #854d0e;
}

.bmi-obese {
  background: #ffe4e6;
  color: #9f1239;
}

.bmi-rec-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: .82rem;
  font-weight: 700;
  margin-top: 8px;
}

/* BMI Scale */
.bmi-scale {
  padding-top: 8px;
}

.bmi-scale-bar {
  height: 8px;
  border-radius: 50px;
  background: linear-gradient(90deg, #bfdbfe 0%, #bbf7d0 25%, #fef08a 60%, #fecaca 100%);
  position: relative;
}

.bmi-scale-marker {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  background: var(--green-dark);
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  transition: left .6s ease;
}

.bmi-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: .7rem;
  font-weight: 600;
}

/* Personalized Herbal Recommendation Engine UI */
.rec-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 24px;
  border: 1px solid rgba(46, 125, 50, 0.15);
}

.rec-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #f0fdf4;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.rec-product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rec-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.12);
  border-color: #86efac;
}

.rec-product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f8fafc;
}

.rec-product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rec-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.rec-prod-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.35;
}

.rec-prod-why {
  font-size: 0.82rem;
  color: #15803d;
  background: #f0fdf4;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.rec-prod-usage {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.4;
}

.rec-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.rec-price-now {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1b4332;
}

.rec-price-orig {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.rec-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-rec-add {
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-rec-add:hover {
  background: #15803d;
  color: #ffffff;
}

.btn-rec-buy {
  background: #15803d;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-rec-buy:hover {
  background: #0d5c2a;
}

.btn-rec-details {
  background: #ffffff;
  color: #1b4332;
  border: 1.5px solid #2d6a4f;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-rec-details:hover {
  background: #f0fdf4;
  color: #15803d;
  border-color: #15803d;
}

.rec-slider-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  user-select: none;
}

.rec-slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 3;
  transition: background 0.15s ease, transform 0.15s ease;
}

.rec-slide-nav-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.rec-slide-nav-btn.prev { left: 8px; }
.rec-slide-nav-btn.next { right: 8px; }

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rec-dot.active {
  background: #15803d !important;
  width: 18px !important;
  border-radius: 6px !important;
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.routine-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.routine-card-header {
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.condition-alert {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.86rem;
  color: #1e3a8a;
  margin-top: 10px;
  line-height: 1.5;
}

.precaution-alert {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.86rem;
  color: #92400e;
  margin-top: 10px;
  line-height: 1.5;
}

/* ════════════════════════════════════════════
   WHY HERBHEAL
════════════════════════════════════════════ */
.why-section {
  padding: 88px 0;
  background: #fff;
}

.why-card {
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
  background: #fff;
}

.why-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--green-mid);
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.75rem;
  color: var(--green-dark);
  transition: var(--transition);
}

.why-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--green-dark);
  color: #fff;
  transform: scale(1.1);
}

.why-card h5 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ════════════════════════════════════════════
   FEATURED PRODUCTS
════════════════════════════════════════════ */
.products-section {
  padding: 88px 0;
  background: var(--cream);
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: none;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-img-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px;
}

.product-img-wrap img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: none;
}

.product-card:hover .product-img-wrap img {
  transform: none;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 5px 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  z-index: 2;
}

.product-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(27, 67, 50, .85), transparent);
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 2;
}

.product-card:hover .product-hover-overlay {
  opacity: 1;
}

.btn-quick-view {
  background: rgba(255, 255, 255, .9);
  color: var(--green-dark);
  border: none;
  border-radius: 50px;
  padding: 8px 22px;
  font-size: .8rem;
  font-weight: 700;
  transition: var(--transition-fast);
  font-family: 'Outfit', sans-serif;
}

.btn-quick-view:hover {
  background: var(--gold);
}

.product-body {
  padding: 22px 24px 24px;
}

.product-goal {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 6px;
}

.product-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: .86rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.review-snippet {
  font-size: .8rem;
  font-style: italic;
  color: var(--green-dark);
  background: var(--green-pale);
  border-left: 3px solid var(--green-mid);
  border-radius: 0 6px 6px 0;
  padding: 6px 12px;
  margin-bottom: 4px;
}

.star-rating {
  color: var(--gold);
  font-size: .84rem;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
}

.product-price-original {
  font-size: .84rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-add-cart {
  background: var(--green-main);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 11px 24px;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--transition);
  width: 100%;
  margin-top: 14px;
  font-family: 'Outfit', sans-serif;
}

.btn-add-cart:hover {
  background: var(--green-dark);
}

.btn-add-cart.added {
  background: var(--gold);
  color: #1a1a1a;
}

.btn-outline-green {
  border: 2px solid var(--green-main);
  color: var(--green-main);
  border-radius: 50px;
  padding: 9px 24px;
  font-weight: 700;
  font-size: .82rem;
  background: transparent;
  transition: var(--transition-fast);
  width: 100%;
  margin-top: 8px;
  font-family: 'Outfit', sans-serif;
}

.btn-outline-green:hover {
  background: var(--green-pale);
}

/* ════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════ */
.how-section {
  padding: 88px 0;
  background: var(--green-dark);
}

.how-label {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
}

.how-section .section-title {
  color: #fff;
}

.how-section .section-sub {
  color: rgba(255, 255, 255, .68);
}

.step-card {
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  color: #fff;
  position: relative;
}

.step-card:hover {
  background: rgba(255, 255, 255, .11);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .3);
}

.step-gold {
  border-color: rgba(244, 168, 10, .4);
  background: rgba(244, 168, 10, .06);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #1a1a1a;
}

.step-gold-num {
  background: var(--gold);
}

.step-card h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #fff;
}

.step-card p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.7;
}

.step-icon-big {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

/* ════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════ */
.testimonials-section {
  padding: 88px 0 72px;
  background: #fff;
}

/* Stats row */
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-pale), var(--green-light));
  padding: 36px 24px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-dark);
  vertical-align: top;
  margin-top: 6px;
}

.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
}

/* Testimonial cards */
.testimonial-card {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 36px;
  height: 100%;
  border-left: 5px solid var(--green-mid);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.quote-icon {
  font-size: 3.8rem;
  color: var(--green-mid);
  line-height: .8;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  opacity: .6;
}

.testimonial-text {
  font-size: .96rem;
  line-height: 1.72;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-mid);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: .9rem;
}

.author-detail {
  font-size: .76rem;
  color: var(--text-muted);
}

/* Testimonial nav */
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.test-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-pale);
  border: 2px solid var(--green-light);
  color: var(--green-dark);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.test-nav-btn:hover {
  background: var(--green-main);
  color: #fff;
  border-color: var(--green-main);
}

/* ════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════ */
.cta-section {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  pointer-events: none;
}

.cta-section::before {
  width: 400px;
  height: 400px;
  top: -120px;
  left: -80px;
}

.cta-section::after {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -60px;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
  max-width: 530px;
  margin: 0 auto 34px;
  line-height: 1.65;
}

.btn-cta-white {
  background: #fff;
  color: var(--green-dark);
  border-radius: 50px;
  padding: 14px 40px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-cta-white:hover {
  background: var(--gold);
  color: #1a1a1a;
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer-main {
  background: #0b1f13;
  padding: 70px 0 34px;
  color: rgba(255, 255, 255, .72);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 14px;
}

.footer-about {
  font-size: .9rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, .56);
  max-width: 290px;
}

.footer-heading {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, .6);
  font-size: .88rem;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-divider {
  border-color: rgba(255, 255, 255, .08);
  margin: 36px 0 24px;
}

.footer-bottom {
  font-size: .8rem;
  color: rgba(255, 255, 255, .36);
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: .95rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--green-mid);
  color: #fff;
}

.footer-cert-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .76rem;
  color: rgba(255, 255, 255, .6);
  margin-right: 8px;
  margin-top: 4px;
}

/* ════════════════════════════════════════════
   FLOATING WHATSAPP
════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
  z-index: 999;
  transition: var(--transition);
  animation: waPulse 2.5s infinite;
}

.wa-float:hover {
  background: #128C7E;
  color: #fff;
  transform: scale(1.1);
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* ════════════════════════════════════════════
   CART TOAST
════════════════════════════════════════════ */
.cart-toast {
  position: fixed;
  bottom: 96px;
  right: 28px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: .88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
  z-index: 998;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

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

/* ════════════════════════════════════════════
   LOGIN MODAL
════════════════════════════════════════════ */
.otp-box {
  width: 54px !important;
  height: 54px;
  font-size: 1.4rem;
  border-radius: 10px !important;
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: .82rem;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e9ecef;
}

/* Auth Modal Tabs Styling */
#authTabs .nav-link {
  color: var(--text-muted);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-fast);
}

#authTabs .nav-link.active {
  background-color: var(--green-light) !important;
  color: var(--green-dark) !important;
  box-shadow: none;
}

#authTabs .nav-link:hover:not(.active) {
  background-color: #f1f5f9;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 992px) {
  .nav-actions {
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .btn-nav-login,
  .btn-nav-skip {
    font-size: .82rem;
  }
}

@media (max-width: 767px) {
  .hero-carousel .carousel-caption {
    width: 94%;
    padding: 0 16px;
  }

  .hero-carousel .carousel-caption h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .hero-carousel .carousel-caption p {
    font-size: .82rem;
  }

  .trust-inner {
    justify-content: center;
    flex-wrap: wrap;
  }

  .trust-item {
    font-size: .75rem;
  }

  .bmi-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .btn-hero-outline {
    margin-left: 0;
  }

  .bmi-card .form-label {
    font-size: .82rem;
  }

  .bmi-card input,
  .bmi-card select {
    font-size: .88rem;
    padding: 10px 14px;
  }

  .bmi-result-card {
    padding: 22px 18px;
  }

  .bmi-result-card h5 {
    font-size: 1rem;
  }

  .stats-row {
    gap: 24px;
    padding: 28px 16px;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: .78rem;
  }

  .testimonials-section {
    padding: 60px 0 50px;
  }

  .testimonial-card {
    padding: 18px;
  }

  .step-card {
    padding: 30px 22px;
  }

  .step-card h5 {
    font-size: .92rem;
  }

  .step-card p {
    font-size: .82rem;
  }

  .footer-main {
    padding: 50px 0 28px;
  }

  .footer-about {
    max-width: 100%;
  }

  .footer-col {
    margin-bottom: 24px;
  }

  .footer-col h6 {
    font-size: .8rem;
  }

  .footer-col ul li a {
    font-size: .78rem;
  }

  .wa-float {
    bottom: 20px;
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }

  .cart-toast {
    bottom: 82px;
    right: 18px;
    max-width: 280px;
  }

  .search-input-wrap input {
    font-size: 1.3rem;
  }

  .topbar {
    font-size: .72rem;
    padding: 6px 0;
  }

  .topbar span {
    display: inline-block;
  }
}

@media (max-width: 576px) {
  .topbar {
    display: none;
  }

  .hero-carousel .carousel-caption h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .hero-carousel .carousel-caption p {
    font-size: .82rem;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: 10px 20px;
    font-size: .85rem;
  }

  .why-card {
    padding: 22px 16px;
  }

  .why-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .why-card h6 {
    font-size: .88rem;
  }

  .why-card p {
    font-size: .78rem;
  }

  .product-img-wrap {
    height: 180px;
  }

  .product-body {
    padding: 12px;
  }

  .product-title {
    font-size: .8rem;
  }

  .product-desc {
    font-size: .72rem;
  }

  .product-price {
    font-size: .95rem;
  }

  .btn-add-cart {
    padding: 8px 12px;
    font-size: .8rem;
  }

  .cta-section {
    padding: 40px 16px;
  }

  .cta-section h2 {
    font-size: 1.3rem;
  }

  .cta-section p {
    font-size: .82rem;
  }

  .otp-box {
    width: 40px !important;
    height: 40px;
    font-size: 1rem;
  }

  .bmi-section {
    padding: 24px 0;
  }

  .bmi-card {
    padding: 20px 16px;
  }

  .bmi-card .form-control,
  .bmi-card .form-select {
    font-size: .85rem;
    padding: 8px 10px;
  }

  .bmi-card .form-label {
    font-size: .78rem;
  }

  .btn-submit-bmi {
    padding: 10px 20px;
    font-size: .85rem;
  }

  .step-card {
    padding: 18px 14px;
  }

  .step-card h5 {
    font-size: .88rem;
  }

  .step-card p {
    font-size: .76rem;
  }

  .step-icon-big {
    font-size: 2.2rem;
  }

  .testimonial-card {
    padding: 16px;
    margin-bottom: 12px;
  }

  .testimonial-text {
    font-size: .8rem;
  }

  .testimonial-author {
    font-size: .75rem;
  }

  .footer-main {
    padding: 28px 0 16px;
  }

  .footer-col {
    margin-bottom: 16px;
  }

  .footer-col h6 {
    font-size: .76rem;
  }

  .footer-col ul li {
    margin-bottom: 4px;
  }

  .footer-col ul li a {
    font-size: .73rem;
  }

  .footer-bottom {
    font-size: .7rem;
    padding: 12px 0;
  }

  .modal-content {
    border-radius: 12px;
  }

  .modal-body {
    padding: 16px !important;
  }

  .modal-header {
    padding: 12px 16px;
  }

  .modal-title {
    font-size: .9rem;
  }

  .nav-actions {
    gap: 4px !important;
  }

  .cart-badge {
    min-width: 14px;
    height: 14px;
    font-size: 8px;
  }

  .btn-nav-login {
    font-size: .75rem;
    padding: 5px 10px;
  }

  .whatsapp-btn {
    font-size: .75rem;
    padding: 5px 8px;
  }
}

/* ════════════════════════════════════════════
   WHATSAPP PREMIUM BUTTON
   ════════════════════════════════════════════ */
.btn-whatsapp-large {
  background: #25D366;
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  border: none;
  cursor: pointer;
}

.btn-whatsapp-large:hover {
  background: #128C7E;
  color: #fff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large i {
  font-size: 1.6rem;
}

/* ════════════════════════════════════════════
   CONFIRMATION MODAL (COD & OTHERS)
   ════════════════════════════════════════════ */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.confirm-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.confirm-icon {
  width: 80px;
  height: 80px;
  background: var(--green-pale);
  color: var(--green-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}

.confirm-icon.success {
  background: #dcfce7;
  color: #22c55e;
}

.confirm-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e293b;
}

.confirm-card p {
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.6;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-confirm-yes {
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-confirm-yes:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-confirm-no {
  background: none;
  border: none;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========================================
   MOBILE RESPONSIVENESS — HerbHeal v3
   ======================================== */

/* Navbar brand text on mobile */
.navbar-brand {
  gap: 8px;
}

@media (max-width: 576px) {
  .navbar-brand img {
    height: 48px !important;
  }

  .navbar {
    padding: 8px 0;
  }

  .nav-actions {
    gap: 6px !important;
  }

  .btn-nav-login {
    font-size: .78rem;
    padding: 6px 12px;
  }

  .whatsapp-btn {
    padding: 6px 10px;
    font-size: .82rem;
  }
}

/* Hero responsiveness */
@media (max-width: 576px) {

  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: .85rem;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: 10px 18px;
    font-size: .85rem;
  }

  .bmi-card {
    padding: 24px 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* Product cards mobile */
@media (max-width: 480px) {
  .product-card {
    border-radius: 12px;
  }

  .product-body {
    padding: 10px;
  }

  .product-title {
    font-size: .82rem;
  }

  .product-desc {
    font-size: .72rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .btn-add-cart {
    padding: 8px;
    font-size: .8rem;
  }

  .product-img-wrap img {
    height: 160px !important;
  }
}

/* Footer mobile */
@media (max-width: 576px) {
  .footer-main {
    padding: 32px 0 20px;
  }

  .footer-bottom {
    font-size: .75rem;
    text-align: center;
  }

  .footer-about {
    font-size: .83rem;
  }
}

/* Cart page mobile */
@media (max-width: 768px) {
  .cart-layout {
    flex-direction: column !important;
  }

  .checkout-steps {
    gap: 4px;
  }

  .step-label {
    font-size: .7rem;
  }

  .payment-option-card {
    padding: 12px 14px !important;
  }
}

/* Trust strip mobile */
@media (max-width: 576px) {
  .trust-inner {
    gap: 12px;
  }

  .trust-item span {
    font-size: .72rem;
  }

  .trust-item i,
  .trust-item svg {
    font-size: 1.1rem;
    width: 16px;
    height: 16px;
    fill: var(--gold);
  }
}

/* BMI section mobile */
@media (max-width: 576px) {
  .bmi-section {
    padding: 32px 0;
  }

  .bmi-result-card {
    padding: 16px;
  }
}

/* Social icons — topbar */
.topbar a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .2s;
}

.topbar a:hover {
  color: #fff;
}

/* Login modal responsiveness */
@media (max-width: 480px) {
  .modal-dialog {
    margin: 8px;
  }

  .modal-body {
    padding: 16px !important;
  }
}

/* WhatsApp confirm button hover */
#waConfirmBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .5) !important;
}

/* Payment option card hover */
.payment-option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

/* Referral code badge glow */
#bmiReferralCode:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, .15);
}

/* ========================================
   FULL SITE MOBILE RESPONSIVENESS v5
   Phone-first fixes: Banner size + Page length
   ======================================== */

/* ── Navbar ── */
.navbar-brand {
  align-items: center !important;
  text-decoration: none !important;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.08));
  transition: height 0.2s ease;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1b4332;
  line-height: 1.2;
}

.brand-text-accent {
  color: #40916c;
}

@media (max-width: 991px) {
  .navbar-brand img, .header-logo {
    height: 44px !important;
  }
  .nav-actions {
    gap: 6px !important;
  }
}

@media (max-width: 768px) {
  .navbar-brand img, .header-logo {
    height: 42px !important;
  }
  .brand-text {
    font-size: 0.78rem !important;
  }
  .btn-nav-login {
    padding: 6px 14px !important;
    font-size: .8rem !important;
  }
  .whatsapp-btn {
    padding: 6px 10px !important;
    font-size: .8rem !important;
  }
  .cart-badge {
    min-width: 16px;
    height: 16px;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 6px 0 !important;
  }
  .navbar-brand img, .header-logo {
    height: 38px !important;
  }
  .brand-text {
    font-size: 0.74rem !important;
  }
  .header-mobile-actions {
    gap: 4px !important;
  }
}

@media (max-width: 360px) {
  .navbar-brand img, .header-logo {
    height: 34px !important;
  }
  .brand-text {
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
  }
  .navbar > .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* ── HERO BANNER — Responsive Fix ──
   Desktop: 480px (compact, not full-screen)
   Tablet:  420px
   Mobile:  380px — beautiful bottom-anchored frosted card + clear background photo
   ─────────────────────────────────────── */
@media (max-width: 991px) {

  .hero-carousel,
  .hero-carousel .carousel-item {
    height: 420px !important;
    min-height: 380px !important;
    max-height: 440px !important;
  }
}

@media (max-width: 576px) {

  /* Banner height — optimal 365px giving generous canvas space for centered content */
  .hero-carousel,
  .hero-carousel .carousel-item {
    height: 365px !important;
    min-height: 345px !important;
    max-height: 385px !important;
  }

  /* Dedicated mobile banner images with custom focal points */
  .slide-1 {
    background-image: url('../images/Mobile_Banner_01.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  .slide-2 {
    background-image: url('../images/Mobile_Banner_02.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  .slide-3 {
    background-image: url('../images/Mobile_Banner_03.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  /* Full-bleed overlay — NO blur so the banner photo shows clearly */
  .hero-overlay {
    background: radial-gradient(circle at center, rgba(6, 20, 12, 0.40) 0%, rgba(6, 20, 12, 0.68) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Seamless Luxury Typography — centered horizontally & vertically in the middle with balanced margins */
  .hero-carousel .carousel-caption {
    top: 50% !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 380px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  /* Gold-accented luxury pill badge — centered */
  .hero-eyebrow {
    font-size: .64rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    padding: 4px 14px !important;
    margin: 0 auto 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border-radius: 50px !important;
    line-height: 1.2 !important;
    background: rgba(26, 46, 32, 0.75) !important;
    border: 1px solid rgba(212, 163, 89, 0.70) !important;
    color: #f7dfa5 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Crisp, high-contrast Playfair serif heading — centered with balanced margins */
  .hero-carousel .carousel-caption h1 {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin: 0 auto 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85) !important;
    font-family: 'Playfair Display', serif !important;
    text-align: center !important;
    max-width: 340px !important;
  }

  /* Hide long paragraph on phone to maintain perfect clean focus */
  .hero-carousel .carousel-caption p {
    display: none !important;
  }

  /* Premium Luxury Buttons — centered */
  .btn-hero-primary {
    background: linear-gradient(135deg, #d4a373 0%, #b07d48 100%) !important;
    color: #1a1a1a !important;
    padding: 8px 20px !important;
    font-size: .82rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  }

  .btn-hero-outline {
    background: rgba(10, 25, 18, 0.65) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
    color: #ffffff !important;
    padding: 7px 18px !important;
    font-size: .82rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hero-carousel .carousel-caption .d-flex,
  .hero-carousel .carousel-caption .hero-btn-group {
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  /* Carousel Indicators */
  .carousel-indicators {
    bottom: 10px !important;
    margin-bottom: 0 !important;
  }

  .carousel-indicators [data-bs-target] {
    width: 6px !important;
    height: 6px !important;
    margin: 0 3px !important;
  }

  .carousel-indicators .active {
    width: 18px !important;
  }

  /* Hide prev/next arrows on small phones */
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
}

/* ── Section titles — smaller on phone ── */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.3rem !important;
  }

  .section-sub {
    font-size: .86rem !important;
  }

  .section-label {
    font-size: .68rem !important;
    padding: 4px 12px !important;
  }
}

/* ── SECTION PADDINGS — reduce page length on phone ──
   All major sections use padding: 88px 0 on desktop.
   On mobile we bring this down to 36px for a tighter page.
   ─────────────────────────────────────── */
@media (max-width: 767px) {
  .why-section {
    padding: 48px 0 !important;
  }

  .products-section {
    padding: 48px 0 !important;
  }

  .how-section {
    padding: 48px 0 !important;
  }

  .testimonials-section {
    padding: 48px 0 36px !important;
  }

  .cta-section {
    padding: 48px 16px !important;
  }

  .bmi-section {
    padding: 36px 0 !important;
  }

  .footer-main {
    padding: 36px 0 16px !important;
  }

  /* Section header bottom margin */
  .mb-5 {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 576px) {
  .why-section {
    padding: 36px 0 !important;
  }

  .products-section {
    padding: 36px 0 !important;
  }

  .how-section {
    padding: 36px 0 !important;
  }

  .testimonials-section {
    padding: 36px 0 24px !important;
  }

  .cta-section {
    padding: 36px 14px !important;
  }

  .bmi-section {
    padding: 24px 0 !important;
  }

  .footer-main {
    padding: 28px 0 14px !important;
  }

  .cta-section h2 {
    font-size: 1.35rem !important;
  }

  .cta-section p {
    font-size: .83rem !important;
    margin-bottom: 22px !important;
  }
}

/* ── Story teaser section — hide image on mobile, keep text ── */
@media (max-width: 767px) {
  .story-teaser-section {
    padding: 36px 0 !important;
  }

  .story-teaser-section .col-lg-6:first-child {
    display: none !important;
  }

  .story-teaser-section .col-lg-6:last-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .story-teaser-section p {
    font-size: .9rem !important;
    line-height: 1.65 !important;
    margin-top: 12px !important;
  }
}

/* ── BMI Card ── */
@media (max-width: 576px) {
  .bmi-card {
    padding: 18px 12px !important;
    border-radius: 14px !important;
  }

  .bmi-result-card {
    padding: 18px 14px !important;
  }

  .bmi-value {
    font-size: 2.4rem !important;
  }

  .bmi-result-card .row {
    flex-direction: column !important;
  }

  .product-radio-label {
    font-size: .78rem !important;
    padding: 9px 10px !important;
  }

  .btn-calculate {
    padding: 13px 24px !important;
    font-size: .9rem !important;
  }
}

/* ── Why cards ── */
@media (max-width: 576px) {
  .why-card {
    padding: 18px 12px !important;
  }

  .why-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .why-card h5 {
    font-size: .95rem !important;
  }

  .why-card p {
    font-size: .82rem !important;
  }
}

/* ── Stats row ── */
@media (max-width: 576px) {
  .stats-row {
    padding: 22px 12px !important;
    gap: 10px !important;
  }

  .stat-num {
    font-size: 1.8rem !important;
  }

  .stat-label {
    font-size: .72rem !important;
  }
}

/* ── How it works ── */
@media (max-width: 576px) {
  .step-card {
    padding: 18px 14px !important;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .step-card h5 {
    font-size: .95rem !important;
  }

  .step-card p {
    font-size: .82rem !important;
  }

  .step-icon-big {
    font-size: 1.8rem !important;
    margin-bottom: 12px !important;
  }
}

/* ── Products ── */
@media (max-width: 576px) {
  .product-img-wrap {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
  }

  .product-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .product-body {
    padding: 12px 10px !important;
  }

  .product-title {
    font-size: .86rem !important;
    line-height: 1.3 !important;
  }

  .product-desc {
    font-size: .74rem !important;
    display: block !important;
    -webkit-line-clamp: 2;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-price {
    font-size: 1rem !important;
  }

  .product-goal {
    font-size: .66rem !important;
  }

  .star-rating {
    font-size: .78rem !important;
  }

  .review-snippet {
    font-size: .72rem !important;
  }

  .btn-add-cart {
    padding: 9px 12px !important;
    font-size: .8rem !important;
    margin-top: 8px !important;
  }

  .btn-outline-green {
    font-size: .76rem !important;
    padding: 7px 10px !important;
    margin-top: 6px !important;
  }

  .product-hover-overlay {
    display: none !important;
  }
}

/* ── Trust strip ── */
@media (max-width: 576px) {
  .trust-strip {
    padding: 12px 0 !important;
  }

  .trust-inner {
    gap: 8px !important;
    justify-content: space-around !important;
  }

  .trust-item {
    flex-direction: column !important;
    text-align: center;
    gap: 2px !important;
  }

  .trust-item span {
    font-size: .62rem !important;
  }

  .trust-item i,
  .trust-item svg {
    font-size: .95rem !important;
    width: 15px !important;
    height: 15px !important;
    fill: var(--gold) !important;
  }
}

/* ── Testimonials ── */
@media (max-width: 576px) {
  .testimonial-card {
    padding: 18px !important;
  }

  .testimonial-text {
    font-size: .83rem !important;
    margin-bottom: 14px !important;
  }

  .quote-icon {
    font-size: 2.8rem !important;
    margin-bottom: 8px !important;
  }
}

/* ── Footer ── */
@media (max-width: 576px) {
  .footer-about {
    font-size: .8rem !important;
  }

  .footer-heading {
    font-size: .76rem !important;
  }

  .footer-links li a {
    font-size: .78rem !important;
  }

  .footer-bottom {
    font-size: .7rem !important;
    text-align: center;
    width: 100%;
  }

  .footer-divider {
    margin: 14px 0 !important;
  }

  .social-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: .85rem !important;
  }

  .footer-brand img {
    height: 44px !important;
  }
}

/* ── Account page ── */
@media (max-width: 768px) {
  .account-layout {
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 12px !important;
  }

  .account-sidebar {
    width: 100% !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04) !important;
    padding: 14px !important;
  }

  .account-user-info {
    padding: 2px 2px 12px !important;
    border-bottom: 1px solid #f1f5f3 !important;
    margin-bottom: 12px !important;
  }

  /* 3 Equal Tab Buttons in 1 row on tablet, fluid flex on small mobile */
  .account-nav {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
  }

  .account-nav li {
    display: flex !important;
    margin: 0 !important;
  }

  .account-nav li a {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 10px 4px !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    text-align: center !important;
    background: #f4f7f5 !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    transition: all .2s ease !important;
  }

  .account-nav li a.active {
    background: linear-gradient(135deg, #1b4332, #2d6a4f) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(27,67,50,0.25) !important;
  }

  .account-nav li a i {
    font-size: .92rem !important;
  }

  @media (max-width: 480px) {
    .account-nav {
      display: flex !important;
      gap: 6px !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch !important;
      padding-bottom: 4px !important;
    }
    .account-nav li {
      flex: 1 0 auto !important;
    }
    .account-nav li a {
      white-space: nowrap !important;
      padding: 8px 12px !important;
      font-size: .78rem !important;
    }
  }

  .account-content {
    padding: 18px 14px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.03) !important;
  }

  .account-section-title {
    font-size: 1.22rem !important;
    margin-bottom: 16px !important;
  }

  .orders-table th, .orders-table td {
    padding: 10px 8px !important;
    font-size: .8rem !important;
  }
}

/* ── Cart / Checkout ── */
@media (max-width: 768px) {
  .cart-layout {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .checkout-steps {
    gap: 4px !important;
    overflow-x: auto !important;
  }

  .step-label {
    font-size: .68rem !important;
    white-space: nowrap !important;
  }

  .step-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: .82rem !important;
  }

  .cart-table {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .order-summary {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .address-form {
    padding: 16px !important;
  }

  .form-row-2 {
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .checkout-page {
    padding: 12px 0 !important;
  }

  .cart-item-img {
    width: 48px !important;
    height: 48px !important;
  }

  .cart-item-name {
    font-size: .82rem !important;
  }

  .qty-input {
    width: 40px !important;
    padding: 4px !important;
  }
}

/* ── Products page grid ── */
@media (max-width: 991px) {
  .products-clean-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 360px) {
  .products-clean-grid,
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* ── Exercise grid responsiveness override ── */
.exercise-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)) !important;
  gap: clamp(14px, 3vw, 24px) !important;
}

@media (max-width: 480px) {
  .exc-slide img {
    height: 100% !important;
    object-fit: cover !important;
  }
  .exc-slideshow {
    aspect-ratio: 16/9 !important;
  }
  .exc-steps-strip {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
  }
  .exc-step-chip {
    white-space: nowrap !important;
    font-size: 0.72rem !important;
    padding: 4px 8px !important;
  }
}

/* ── Login page ── */
@media (max-width: 576px) {
  .login-page-wrap {
    padding: 16px 0 !important;
    align-items: flex-start !important;
  }
}

/* ── Topbar links ── */
.topbar a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: color .15s;
}

.topbar a:hover {
  color: #fff;
}

/* ── Floating WhatsApp ── */
.wa-float {
  bottom: 20px !important;
  right: 16px !important;
}

@media (max-width: 576px) {
  .wa-float {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.3rem !important;
    bottom: 16px !important;
    right: 14px !important;
  }
}