/* -------------------------------------------------------------
   Shopify Empire Theme (Home Plants Nursery Edition) - Botanical Stylesheet
   Google Fonts loaded cleanly in theme.liquid <head> without blocking CSS @import
   ------------------------------------------------------------- */

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --color-primary: #16423c;
  --color-primary-dark: #0f2e22;
  --color-accent: #6a9c89;
  --color-mint: #c4dad2;
  --color-bg: #fbfbfa;
  --color-sale: #2d6a4f;
  --color-gold-accent: #d4af37;
  --color-gold-light: #f7eed2;
  --color-border: rgba(22, 66, 60, 0.12);

  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-luxury-sm: 0 4px 16px -2px rgba(22, 66, 60, 0.08), 0 2px 6px -1px rgba(22, 66, 60, 0.04);
  --shadow-luxury-md: 0 12px 32px -6px rgba(22, 66, 60, 0.12), 0 4px 12px -2px rgba(22, 66, 60, 0.06);
  --shadow-luxury-lg: 0 24px 48px -12px rgba(22, 66, 60, 0.18), 0 8px 24px -4px rgba(22, 66, 60, 0.08);
  --shadow-gold-glow: 0 0 25px -3px rgba(212, 175, 55, 0.25);
  --shadow-emerald-glow: 0 0 30px -4px rgba(45, 106, 79, 0.3);
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: #1a202c;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
}

.plant-card {
  font-family: var(--font-body);
}

.plant-card h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.plant-card p {
  font-family: var(--font-body);
}

.font-serif-luxury {
  font-family: var(--font-serif);
}

/* Glassmorphism Header */
.glass-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Card Hover Elevation & Luxury Physics */
.plant-card {
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}
.plant-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-luxury-md);
  border-color: rgba(45, 106, 79, 0.28) !important;
}
.plant-card img {
  transition: transform 0.6s var(--ease-luxury);
}
.plant-card:hover img {
  transform: scale(1.06);
}

/* Free Shipping Goal Meter Progress */
.progress-stripes {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: moveStripes 2s linear infinite;
}

@keyframes moveStripes {
  0% { background-position: 0 0; }
  100% { background-position: 1rem 0; }
}

/* Drawer Transitions */
.drawer-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-content.active {
  transform: translateX(0);
}

/* Modal Transitions */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

/* Care Badge Pill */
.care-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background-color: #e9f5ed;
  color: #1b4332;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}
@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Quiz Option */
.quiz-option {
  transition: all 0.2s ease;
  cursor: pointer;
}
.quiz-option.selected {
  border-color: #2d6a4f !important;
  background-color: #eef7f2 !important;
  box-shadow: 0 0 0 2px #2d6a4f;
}

/* Floating WhatsApp / Help button */
.floating-help-btn {
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-help-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.6);
}

/* Reviews Carousel and Utilities */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* =============================================================
   Scroll Reveal Animation System (Hardware-Accelerated)
   ============================================================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-luxury), transform 0.75s var(--ease-luxury);
  will-change: opacity, transform;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
  will-change: opacity, transform;
}
.reveal-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-luxury);
  will-change: opacity;
}
.reveal-fade-in.revealed {
  opacity: 1;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(16px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
  will-change: opacity, transform;
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Stagger Children Animation Helpers */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* =============================================================
   Luxury Ambient Motion & Micro-Interactions
   ============================================================= */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.6deg);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(-0.8deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.08);
  }
}

@keyframes shimmerSlide {
  0% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(200%) skewX(-20deg); }
}

@keyframes livePulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.25); }
  65% { transform: scale(0.92); }
}

.animate-float-gentle {
  animation: floatGentle 5s ease-in-out infinite;
}

.animate-float-slow {
  animation: floatSlow 7s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 6s ease-in-out infinite;
}

.badge-bounce {
  animation: badgeBounce 0.4s var(--ease-spring);
}

/* Ambient Glowing Light Orbs for Hero & Luxury Sections */
.ambient-glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.ambient-glow-emerald {
  background: radial-gradient(circle, rgba(45, 106, 79, 0.28) 0%, rgba(106, 156, 137, 0.12) 60%, transparent 80%);
}
.ambient-glow-gold {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(247, 238, 210, 0.08) 60%, transparent 80%);
}

/* Live Green Pulsing Indicator */
.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #22c55e;
  animation: livePulseDot 2s infinite;
}

/* Premium Button Hover Glows */
.btn-luxury-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-luxury);
  box-shadow: 0 10px 25px -5px rgba(15, 46, 34, 0.3), 0 4px 10px -2px rgba(15, 46, 34, 0.15);
}
.btn-luxury-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -4px rgba(15, 46, 34, 0.4), var(--shadow-emerald-glow);
}
.btn-luxury-primary:active {
  transform: translateY(0) scale(0.98);
}
.btn-luxury-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-150%) skewX(-20deg);
  transition: none;
}
.btn-luxury-primary:hover::after {
  animation: shimmerSlide 1.2s ease-in-out;
}

/* Luxury Card Glass Frame */
.luxury-glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(22, 66, 60, 0.1);
  box-shadow: var(--shadow-luxury-sm);
  transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury), border-color 0.35s ease;
}
.luxury-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-luxury-md);
  border-color: rgba(45, 106, 79, 0.22);
}

/* Luxury Dark Glass Frame for Forest/Dark Backgrounds */
.luxury-glass-dark,
.bg-forest-900 .luxury-glass-card {
  background: rgba(13, 39, 35, 0.75) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(52, 211, 153, 0.25) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.luxury-glass-dark:hover,
.bg-forest-900 .luxury-glass-card:hover {
  transform: translateY(-5px);
  background: rgba(18, 52, 46, 0.9) !important;
  border-color: rgba(52, 211, 153, 0.5) !important;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.55), 0 0 25px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.luxury-glass-dark h3,
.bg-forest-900 .luxury-glass-card h3 {
  color: #ffffff !important;
}
.luxury-glass-dark p,
.bg-forest-900 .luxury-glass-card p {
  color: #d1fae5 !important;
}

/* Luxury Gold Badge Accents */
.badge-gold {
  background: linear-gradient(135deg, #fff9e6 0%, #fef3c7 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #854d0e;
}

