.product-detail-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  animation: productDetailReveal 0.75s cubic-bezier(.2, .9, .2, 1) forwards;
}

.product-detail-delay-1 {
  animation-delay: 0.12s;
}

.product-detail-delay-2 {
  animation-delay: 0.24s;
}

.product-detail-delay-3 {
  animation-delay: 0.36s;
}

@keyframes productDetailReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-gallery-thumb {
  border: 2px solid rgba(236, 72, 153, 0.12);
  transition: transform 0.22s ease, border 0.22s ease, box-shadow 0.22s ease;
}

.product-gallery-thumb.is-active {
  border-color: transparent;
  box-shadow: 0 14px 35px rgba(236, 72, 153, 0.22);
  transform: scale(1.04);
}

.detail-size-btn {
  border: 1px solid rgba(236, 72, 153, 0.18);
  background: rgba(253, 242, 248, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.detail-size-btn.is-selected {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(
    135deg,
    #ec4899,
    #a855f7,
    #6366f1,
    #06b6d4,
    #22c55e,
    #f97316,
    #ec4899
  );
  background-size: 500% 500%;
  animation: zestGradientMove 4s ease-in-out infinite;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.28);
  transform: translateY(-2px) scale(1.04);
}

.detail-size-area.size-warning {
  background: rgba(255, 241, 242, 0.95);
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.25), 0 14px 40px rgba(244, 63, 94, 0.18);
  animation: detailShake 0.42s ease;
}

.detail-size-warning {
  display: none;
}

.detail-size-area.size-warning .detail-size-warning {
  display: block;
}

@keyframes detailShake {
  0%, 100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-3px);
  }
}

.qty-btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.qty-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.18);
}