﻿/* Avimee Herbal - Modern Ayurveda Custom Design Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --primary-gold: #F5C542;
  --primary-gold-dark: #D4A325;
  --primary-gold-light: #FDF6E2;
  --herbal-green: #79C64B; /* HEX: #79C64B */
  --herbal-green-dark: #5A9933; /* Contrast Green for Accents & Text */
  --herbal-green-light: #F4FAEF; /* Fresh Wash Tint */
  --herbal-green-badge: #E8F7DF; /* Soft Green Pill */
  --herbal-green-border: #C1E8A7; /* Clean Herbal Border */
  --herbal-sage: #8ED164;
  --warm-bg: #FAF9F5;
  --warm-ivory: #FDFCF7;
  --text-dark: #1A1A1A;
  --text-muted: #6B7280;
  --border-subtle: #E5E7EB;
  --font-family-base: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Typography System - Poppins Everywhere */
*, *::before, *::after {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

html, body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 400; /* Poppins Regular (400) in body text and other */
}

/* Headings: Poppins SemiBold (600) */
h1, h2, h3, h4, h5, h6,
.font-serif-luxury,
.font-editorial,
.font-heading {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important; /* Poppins SemiBold (600) */
}

/* Typography Classes */
.font-serif-luxury {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
}

.font-editorial {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
}

.font-sans-clean {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Background Gradients & Effects */
.bg-warm-canvas {
  background-color: var(--warm-bg);
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #F5C542 0%, #E5B532 100%);
}

.bg-herbal-gradient {
  background: linear-gradient(135deg, #79C64B 0%, #5A9933 100%);
}

.gold-glow {
  box-shadow: 0 4px 20px rgba(245, 197, 66, 0.28);
}

.herbal-glow {
  box-shadow: 0 4px 25px rgba(121, 198, 75, 0.25);
}

/* Announcement Marquee / Transition */
@keyframes tickerSlide {
  0% { transform: translateY(0); }
  45% { transform: translateY(0); }
  50% { transform: translateY(-100%); }
  95% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.ticker-item {
  animation: tickerSlide 8s ease-in-out infinite;
}

/* Smooth Image Hover Zoom */
.product-image-container {
  overflow: hidden;
  position: relative;
}

.product-image-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-container img {
  transform: scale(1.06);
}

/* Before and After Interactive Comparison Slider */
.ba-slider-wrapper {
  position: relative;
  overflow: hidden;
  user-select: none;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  background-color: #f3f4f6;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
  border-right: 3px solid #F5C542;
  box-shadow: 2px 0 15px rgba(0,0,0,0.15);
  transition: width 0.05s ease-out;
}

.ba-before-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: #F5C542;
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  cursor: ew-resize;
  z-index: 20;
  transition: transform 0.15s ease, background-color 0.2s;
}

.ba-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #E5B532;
}

/* Off-canvas Drawers */
.drawer-backdrop {
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-panel {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating WhatsApp Pulse */
@keyframes greenPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: greenPulse 2.5s infinite;
}

/* Custom Scrollbar for Luxury Feel */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

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

::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #F5C542;
}

/* Notification Toast */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  background: #ffffff;
  border-left: 4px solid #F5C542;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInUp 0.3s ease-out;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Free shipping bar animated pulse */
.shipping-bar-fill {
  transition: width 0.4s ease-in-out;
}

/* Herb Interactive Card Flip / Hover */
.herb-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.herb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(42, 90, 39, 0.08);
}

/* ==========================================================================
   MODERN SHOPIFY-GRADE NAVY BLUE FOOTER STYLING
   ========================================================================== */
:root {
  --footer-navy: #0B1728;
  --footer-navy-card: #102138;
  --footer-border: #1E2E46;
  --footer-accent-yellow: #FFD21E;
}

.site-footer {
  background-color: var(--footer-navy);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Footer Links with Yellow Hover */
.footer-nav-link {
  color: #D1D5DB;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s ease, transform 0.2s ease;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-nav-link:hover {
  color: #FFD21E !important;
  transform: translateX(3px);
}

/* Yellow Accent CTA Button */
.footer-cta-btn {
  background-color: #FFD21E;
  color: #0B1728;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px 0 rgba(255, 210, 30, 0.3);
}

.footer-cta-btn:hover {
  background-color: #f5c711;
  color: #08111e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 210, 30, 0.45);
}

.footer-cta-btn:active {
  transform: translateY(0);
}

/* Social Media Icons with Smooth Micro-Animation */
.footer-social-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #132238;
  border: 1px solid #1E2E46;
  color: #E5E7EB;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-icon:hover {
  background-color: #1A2E4C;
  color: #FFD21E;
  border-color: #FFD21E;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 210, 30, 0.25);
}

/* Feature Item Hover */
.footer-feature-item {
  transition: transform 0.3s ease;
}

.footer-feature-item:hover {
  transform: translateY(-2px);
}


/* ============================================================
   Font Awesome Icon Overrides - Consistent sizing & spacing
   ============================================================ */
.fa-solid, .fa-regular, .fa-brands {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Star ratings */
.text-amber-400 .fa-star,
.fa-star { color: #F5C542; }

/* Trust badge icons */
.trust-icon i { font-size: 1rem; }
/* ============================================================
   FONT AWESOME - Professional Icon System
   ============================================================ */

/* Fix vertical alignment for inline FA icons */
.fa-solid, .fa-regular, .fa-brands {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
}

/* Star rating icons - always amber */
.fa-star { color: #F5C542 !important; }
.fa-star-half-stroke { color: #F5C542 !important; }

/* Nav FA icons inherit color but have consistent size */
nav .fa-solid, nav .fa-regular {
  font-size: 0.7rem;
}

/* Button icons spacing */
button .fa-solid, a .fa-solid,
button .fa-regular, a .fa-regular {
  flex-shrink: 0;
}

/* Icon + Text pairs - ensure proper gap */
.icon-text-pair {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Toast icon */
#toast-container .fa-solid {
  font-size: 0.75rem;
}

/* Footer social icon hover transition */
footer a .fa-brands {
  transition: transform 0.2s;
}
footer a:hover .fa-brands {
  transform: scale(1.15);
}