.g26-section-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.65vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.static-text {
  color: #0a0a0a;
  white-space: pre;
  user-select: none;
}

html[data-theme="dark"] .static-text {
  color: var(--text);
}

.resizable-wrapper {
  display: inline-block;
  position: relative;
  width: auto;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  transition: width 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width;
}

.dancing-text {
  display: inline-block;
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.dancing-text.fade-out {
  opacity: 0;
  transform: translateX(7px);
}

@keyframes g26-cambiar-color {
  0% { color: #ed474c; }
  50% { color: #824c9e; }
  100% { color: #ed474c; }
}

.texto-animado {
  white-space: pre-wrap;
  animation: g26-cambiar-color 7s ease-in-out infinite;
}

.products-showcase-section__head .g26-section-heading {
  text-align: center;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .texto-animado {
    animation: none;
    color: #ed474c;
  }

  .resizable-wrapper {
    transition: none;
  }

  .dancing-text {
    transition: none;
  }
}
