/* Extra UI animations and micro-interactions */

/* subtle floating background */
@keyframes floaty {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.store-shell::before,
.store-shell::after {
  animation: floaty 8s ease-in-out infinite;
}

/* product card hover lift */
.product-card {
  transition: transform 0.28s cubic-bezier(.2,.9,.2,1), box-shadow 0.28s ease;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(23,58,42,0.18);
}

/* category card pulse */
.category-card:hover img {
  transform: scale(1.04) rotate(-0.5deg);
  transition: transform 0.5s ease;
}

/* trust-item reveal */
.trust-item {
  opacity: 0;
  transform: translateY(6px) scale(0.995);
  transition: all 0.6s cubic-bezier(.2,.9,.2,1);
}
.trust-item.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* CTA button micro interaction */
.btn-accent,
.btn-dark {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-accent:active,
.btn-dark:active { transform: translateY(1px) scale(0.998); }

/* add to cart success */
.added-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: rgba(79,143,114,0.96);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  box-shadow: 0 8px 24px rgba(23,58,42,0.16);
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  z-index: 2000;
}

/* small image subtle fade */
.product-card img,
.category-card img {
  transition: transform 0.6s ease, opacity 0.5s ease;
}

/* responsive tweaks for animated elements */
@media (max-width: 767.98px) {
  .product-card:hover { transform: none; box-shadow: none; }
}
