@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
    
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  
  to {
    opacity: 1;  
    transform: scale(1);
  }
}

@keyframes float {
  0% ,100% {
    transform: translateY(0);
  }

  50% {  
    transform: translateY(-8px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
    }
    
  100% {
    background-position: 200% 0;
  }
}

@keyframes spin {
  to {      
    transform: rotate(360deg);
  }
}

@keyframes softGlow {
  0% ,100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }

  50% {    
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
  }
}

@keyframes badgePop {
  0% {
    opacity: 0;
    transform: scale(0.7) rotate(-8deg);
  }

  70% {
    transform: scale(1.08) rotate(3deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes heartPop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.35);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes animate-fade-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.product-card,
.category-card,
.about-value-item,
.team-card,
.about-category-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
  box-shadow 0.45s ease, border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(44, 24, 16, 0.12);
}

.category-card:hover,
.about-value-item:hover,
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(44, 24, 16, 0.10);
}

.animate-fade-in {
  animation: animate-fade-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-img-wrapper {
  overflow: hidden;
}


.product-img-wrapper img,
.gallery-item img,
.about-category-card img,
.team-card img,
.special-offer-image img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}


.product-card:hover .product-img-wrapper img {
  transform: scale(1.07);
}


.gallery-item:hover img {
  transform: scale(1.08);
}


.about-category-card:hover img {
  transform: scale(1.06);
}


.team-card:hover img {
  transform: scale(1.05);
}


.special-offer-banner:hover .special-offer-image img {
  transform: scale(1.05);
}

.gallery-item:hover img,
.about-category-card:hover img {
  filter: brightness(1.05);
}

.gallery-overlay {
  transition: opacity 0.4s ease, transform 0.4s ease;
}


.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.btn {
  position: relative;
  overflow: hidden; 
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,color 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn:hover::after {
  left: 140%;
}

.link-btn {
  position: relative;
  transition: color 0.3s ease, gap 0.3s ease;
}

.link-btn:hover {
  gap: 10px;
}

.link-btn i {
  transition: transform 0.3s ease;
}

.link-btn:hover i {
  transform: translateX(3px);
}

.wishlist-toggle-btn i {
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.25s ease;
}


.wishlist-toggle-btn:hover i {
  transform: scale(1.15);
}


.wishlist-toggle-btn:active i {
  animation: heartPop 0.4s ease;
}

.product-badge {
  animation: badgePop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}


.floating-badge,
.story-experience-card,
.experience-badge {
  animation: float 4s ease-in-out infinite;
}


.discount-badge {
  animation: badgePop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both, float 4s 0.7s ease-in-out infinite;
}

.badge-promo {
  animation: softGlow 3s ease-in-out infinite;
}

.modal {
  transition: opacity 0.3s ease, mvisibility 0.3s ease;
}

.modal.open .modal-content {
  animation: scaleIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-toast.show {
  animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border-color) 37%, var(--bg-alt) 63%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
  width: 100%;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 12px;
  width: 70%;
}

.skeleton-img {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
}

.faq-question i {
  transition: transform 0.35s ease;
}


.faq-item.active .faq-question i {
  transform: rotate(180deg);
}


.faq-answer {
  animation: fadeIn 0.35s ease;
}

.form-group input,
.form-group select,
.form-group textarea,
.auth-form-group input,
.search-box-wrap input,
.promo-wrap input,
.custom-message-input {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.auth-form-group input:focus,
.search-box-wrap input:focus,
.promo-wrap input:focus,
.custom-message-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  outline: none;
}

.category-filter-btn {
  transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.category-filter-btn:hover,
.category-filter-btn.active {
  padding-left: 14px;
}

.page-btn {
  transition: transform 0.25s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-btn:hover {
 transform: translateY(-3px);
}

.tab-btn {
  position: relative;
  transition: color 0.3s ease;
}

.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-btn:hover::after,
.tab-btn.active::after {
  width: 100%;
}

.social-links a {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}