/* Floating Hero Stats Cards */
@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* Organic Leaf Swaying Animations */
@keyframes leafSwayLeft {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  50% {
    transform: rotate(-3deg) translate(4px, -8px);
  }
  100% {
    transform: rotate(2deg) translate(-3px, 6px);
  }
}

@keyframes leafSwayRight {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  50% {
    transform: rotate(4deg) translate(-6px, 8px);
  }
  100% {
    transform: rotate(-2deg) translate(5px, -6px);
  }
}

/* Badge Scale Pop on item add */
@keyframes badgePop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pop {
  animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Checkmark Pop */
@keyframes scalePop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Subtle pulse for CTAs */
@keyframes pulseSubtle {
  0% {
    box-shadow: 0 0 0 0 rgba(8, 127, 79, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(8, 127, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(8, 127, 79, 0);
  }
}

.pulse-glow {
  animation: pulseSubtle 2.5s infinite;
}

/* Fade in up for dynamic product listings */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.25s ease forwards;
}

/* Toast Notification */
.ms-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  background: var(--ms-text);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--ms-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ms-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ms-toast-icon {
  color: var(--ms-primary-light);
  font-size: 1rem;
}

/* Button Active Press Ripple & Spring Micro-Interactions */
.tap-effect,
button,
.btn,
.btn-add-product,
.btn-primary-green,
.btn-outline-green,
.btn-wishlist,
.filter-chip,
.customer-mobile-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:active,
.btn:active,
.btn-add-product:active,
.filter-chip:active,
.btn-wishlist:active {
  transform: scale(0.96) !important;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hover-lift:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.04) !important;
}

/* Interactive Product Card Hover */
.product-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  border-color: rgba(8, 127, 79, 0.3) !important;
}

/* Product Image Hover Zoom */
.product-image-box img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

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

/* Wishlist Heart Bounce Animation */
@keyframes heartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.4); }
  75% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.btn-wishlist.active i {
  animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Store Live Pulsing Green Dot */
@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.store-live-dot {
  animation: pulseDot 2s infinite cubic-bezier(0.66, 0, 0, 1) !important;
}

/* Staggered Content Entry Animations */
.stagger-1 { animation: fadeInUp 0.35s 0.05s ease both; }
.stagger-2 { animation: fadeInUp 0.35s 0.10s ease both; }
.stagger-3 { animation: fadeInUp 0.35s 0.15s ease both; }
.stagger-4 { animation: fadeInUp 0.35s 0.20s ease both; }

/* Table Row Smooth Hover */
.seller-table tbody tr {
  transition: background-color 0.18s ease;
}

.seller-table tbody tr:hover {
  background-color: #F9FBFA !important;
}

/* KPI Card Interactive Lift */
.kpi-card {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
}

.kpi-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(8, 127, 79, 0.25) !important;
}

