/* Línea de tiempo visual para el flujo de compra */
.timeline-compra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}
.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  animation: fadeInUp 0.7s cubic-bezier(.4,2,.6,1.2);
}
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 38px;
  width: 2px;
  height: calc(100% - 38px);
  background: linear-gradient(180deg,#25D366 0%,#FFB6B9 100%);
  z-index: 0;
  animation: growLine 1.2s cubic-bezier(.4,2,.6,1.2);
}
.timeline-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg,#FFDE7D 60%,#25D366 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.10);
  z-index: 1;
  animation: popIcon 0.7s cubic-bezier(.4,2,.6,1.2);
}
.timeline-content {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px rgba(17,24,39,0.07);
  padding: 0.7rem 1.1rem;
  font-size: 1.08rem;
  color: #333;
  min-width: 0;
  flex: 1;
  animation: fadeInRight 0.7s cubic-bezier(.4,2,.6,1.2);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes popIcon {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes growLine {
  from { height: 0; }
  to { height: calc(100% - 38px); }
}
@media (max-width: 600px) {
  .timeline-step, .timeline-content { font-size: 0.98rem; }
  .timeline-step { max-width: 98vw; }
  .timeline-content { padding: 0.6rem 0.7rem; }
  .timeline-icon { width: 36px; height: 36px; font-size: 1.2rem; }
}
